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 Actualizar Estado, it updates the status of a profile instance by setting a new state string. This is useful in scenarios where you need to programmatically change or update the status message or condition of a user profile or system profile within the Evolution API environment.

Practical examples include:

  • Updating a user's availability status.
  • Changing the operational state of a profile instance in response to external events.
  • Automating status updates based on workflow conditions.

Properties

Name Meaning
Nombre De La Instancia The name of the profile instance to update. This identifies which profile's status will be changed.
Estado The new status message for the profile. It must be a string with a maximum length of 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 operation 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 set to https://doc.evolution-api.com/api-reference.
  • Proper configuration of the API authentication credentials in n8n is necessary.

Troubleshooting

  • Unsupported Operation Error: If the node throws an error stating the operation is not supported, verify that the resource is set to "profile-api" and the operation to "update-profile-status".
  • Invalid Status Length: The status string must not exceed 139 characters; exceeding this limit may cause the API to reject the request.
  • Authentication Failures: Ensure the API key credential is correctly configured and has sufficient permissions.
  • Network Issues: Connectivity problems to the Evolution API endpoint can cause timeouts or failures.

Links and References

Discussion