Evolution API icon

Evolution API

Interact with Evolution API

Overview

The node "Evolution API" provides integration with the Evolution API service, allowing users to perform various operations on different resources. Specifically, for the resource Grupo and operation Encontrar Participantes, the node fetches the list of participants in a specified group. This is useful in scenarios where you need to retrieve member information from a group instance, such as managing group memberships, auditing participants, or syncing group data with other systems.

Practical examples include:

  • Retrieving all members of a chat or collaboration group to display or process their details.
  • Automating participant management by fetching current members before adding or removing users.
  • Integrating group participant data into CRM or communication platforms.

Properties

Name Meaning
Nombre De La Instancia The name of the instance where the group exists; identifies the specific environment or deployment to query.
ID Del Grupo The unique identifier (ID) of the group whose participants you want to find.

Output

The node outputs a JSON array containing the participants of the specified group. Each item in the array represents a participant with their associated details as returned by the Evolution API. The exact structure depends on the API response but typically includes participant identifiers and related metadata.

If the node supports binary data output (not indicated here), it would represent any files or media associated with the participants, but this is not evident from the provided code.

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 within n8n is necessary.

Troubleshooting

  • Operation Not Supported Error: If you select an unsupported operation or resource combination, the node throws an error stating the operation is not supported. Ensure that the resource is "groups-api" and the operation is "find-participants".
  • Missing Required Parameters: Both "Nombre De La Instancia" and "ID Del Grupo" are required. Omitting these will likely cause errors or empty results.
  • Authentication Issues: Invalid or missing API credentials will prevent successful API calls. Verify that the API key or token is correctly configured.
  • Network or API Errors: Connectivity issues or API downtime can cause failures. Check network access and Evolution API status.

Links and References

Discussion