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 Perfil and operation Atualizar Status, it updates the status message of a profile instance. This is useful in scenarios where you want to programmatically change or set the status text associated with a user profile or system instance, such as updating availability, mood, or any custom status message.

Practical examples include:

  • Automatically setting a user's status to "In a meeting" during calendar events.
  • Updating a system instance's status to "Under maintenance" during scheduled downtimes.
  • Changing status messages based on external triggers or workflows.

Properties

Name Meaning
Nome Da Instância The name of the instance whose profile status you want to update.
Status The new status message for the profile. Maximum length is 139 characters.

Output

The node outputs a JSON array containing the result of the status update operation. Each item in the output array 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 updated status 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.
  • Proper configuration of the API authentication credentials within n8n is necessary.

Troubleshooting

  • Operation not supported error: If you see an error stating the operation is not supported, verify that the resource is set to "Perfil" and the operation to "Atualizar Status". This node only supports defined operations.
  • API authentication errors: Ensure the API key credential is correctly configured and has sufficient permissions.
  • Status length exceeded: The status property must not exceed 139 characters; otherwise, the API may reject the request.
  • Instance name missing or incorrect: The instance name must be valid and correspond to an existing profile instance in the Evolution API.

Links and References

Discussion