Evolution API icon

Evolution API

Interact with Evolution API

Overview

The node "Evolution API" provides an interface to interact with the Evolution API, allowing users to perform various operations on different resources. Specifically, for the resource Grupo and operation Salir Del Grupo, this node enables a user to leave a specified group by providing the instance name and the group ID. This is useful in scenarios where automated workflows need to manage group memberships dynamically, such as removing a bot or user from a chat group when certain conditions are met.

Example use cases:

  • Automatically leaving a group after completing a task.
  • Managing group memberships based on external triggers or events.
  • Cleaning up group memberships in bulk via automation.

Properties

Name Meaning
Nombre De La Instancia The name of the instance where the group exists. This identifies which environment or account to operate on.
ID Del Grupo The unique identifier (ID) of the group that the user wants to leave.

Output

The node outputs a JSON array containing the result of the leave group operation. The exact structure depends on the API response but typically includes confirmation of the action or any relevant status messages. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential to authenticate with the Evolution API.
  • The base URL for requests is https://doc.evolution-api.com/api-reference.
  • Proper configuration of the API credentials within n8n is necessary for successful execution.

Troubleshooting

  • Operation not supported error: If the node throws an error stating the operation is not supported, verify that the resource and operation names are correctly set to "groups-api" and "leave-group" respectively.
  • Authentication errors: Ensure the API key credential is valid and has the necessary permissions to modify group memberships.
  • Invalid group ID: Confirm that the provided group ID corresponds to an existing group in the specified instance.
  • Network issues: Check connectivity to the Evolution API endpoint and ensure no firewall or proxy is blocking requests.

Links and References

Discussion