Evolution API icon

Evolution API

Interact with Evolution API

Overview

The node "Evolution API" provides integration with the Evolution API, allowing users to perform various operations on different resources. Specifically, for the resource Grupo and operation Crear Grupo, this node enables creating a new group instance within the Evolution system. This is useful in scenarios where automated group management is needed, such as setting up communication groups, managing user clusters, or organizing participants dynamically based on external triggers.

Practical examples include:

  • Automatically creating a new chat group when a project starts.
  • Setting up participant groups for event notifications.
  • Managing customer segments by grouping phone numbers.

Properties

Name Meaning
Nombre De La Instancia The name of the instance that will create the group.
Nombre Del Grupo The name of the group to be created.
Descripción Optional description text for the group.
Participantes Comma-separated list of participant phone numbers (e.g., 5511999999999,5511888888888).

Output

The node outputs a JSON array containing the response from the Evolution API after attempting to create the group. The exact structure depends on the API response but typically includes details about the newly created group such as its ID, name, description, and participant information.

If the API supports binary data output (not indicated here), it would be summarized accordingly, but this node primarily deals with JSON data.

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 credential in n8n is necessary for successful calls.

Troubleshooting

  • Operation not supported error: If you receive an error stating the operation is not supported, verify that the resource and operation names are correctly set to "groups-api" and "create-group" respectively.
  • Invalid participants format: Ensure the participants' phone numbers are provided as a comma-separated string without spaces or invalid characters.
  • Authentication errors: Confirm that the API key credential is valid and has the required permissions.
  • Empty required fields: Make sure all required properties (instance name, group name, participants) are filled before execution.

Links and References

Discussion