Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node, named "Evolution API," is designed to interact with the Evolution API service. Specifically, for the Resource "Grupo" and Operation "Buscar Enlace De Invitación" (Fetch Invite Link), it retrieves an invitation code for a specified group instance. This functionality is useful when you want to programmatically obtain invite links to groups within the Evolution platform, enabling automation of group management or integration with other workflows.

Practical examples include:

  • Automatically fetching invite codes for newly created groups to share them via email or messaging.
  • Integrating group invite retrieval into onboarding processes or customer engagement flows.

Properties

Name Meaning
Nombre De La Instancia The name of the instance that will be used to search for the invite code.
ID Del Grupo The unique identifier of the group for which the invitation code is requested.

Output

The node outputs a JSON array containing the result of the invite code fetch operation. Each item in the array represents the response data from the Evolution API related to the invite link for the specified group. The exact structure depends on the API response but typically includes fields such as the invite code or URL.

No binary data output is indicated by the source 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 in n8n is necessary.

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 "fetch-invite-code" respectively.
  • Missing Required Parameters: Ensure both "Nombre De La Instancia" and "ID Del Grupo" are provided; missing these will likely cause request failures.
  • Authentication Issues: Confirm that the API key credential is valid and has the necessary permissions to access group invite information.
  • API Endpoint Changes: Since the base URL points to a documentation domain, verify that the actual API endpoint URLs are correct and up to date.

Links and References

Discussion