Evolution API icon

Evolution API

Interact with Evolution API

Overview

The node "Evolution API" allows interaction with the Evolution API service. Specifically, for the Resource "Profile" and Operation "Update Status," it updates the status of a user profile instance. This is useful in scenarios where you need to programmatically change or set the status message or state of a profile within the Evolution system, such as updating availability, activity status, or custom status messages.

Practical examples include:

  • Automatically setting a user's profile status based on workflow events.
  • Updating status messages in bulk for multiple profiles.
  • Integrating status updates into broader automation processes.

Properties

Name Meaning
Name Da Instância The name of the profile instance to update. This identifies which profile's status to change.
Status The new profile status text to set (maximum 139 characters).

Output

The node outputs a JSON array containing the result of the status update operation. Each item in the output corresponds to the response from the Evolution API after attempting to update the profile status. The exact structure depends on the API response but generally includes confirmation of the update or error details if the update failed.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The base URL for requests is https://doc.evolution-api.com/api-reference.
  • The node expects JSON content-type headers and accepts JSON responses.

Troubleshooting

  • Unsupported Operation Error: If the operation or resource is not supported, the node throws an error stating the function is not supported. Ensure that the resource is set to "profile-api" and operation to "update-profile-status".
  • API Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key credential is correctly configured.
  • Status Length Exceeded: The status property has a maximum length of 139 characters. Exceeding this limit may cause errors.
  • Instance Name Required: The instance name is mandatory; leaving it empty will likely cause the request to fail.

Links and References

Discussion