Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node interacts with the Evolution API to perform various operations related to groups. Specifically, for the "Grupo" resource and the "Revogar Link De Convite" operation, it revokes an existing invitation link code for a specified group instance. This is useful in scenarios where you want to invalidate previously shared invite links to control group membership or enhance security.

Practical examples include:

  • Revoking an outdated or compromised invite link to prevent unauthorized access.
  • Managing group membership by disabling invite codes after a certain event or time period.

Properties

Name Meaning
Nome Da Instância The name of the instance where the invite code will be revoked.
ID Do Grupo The unique identifier (ID) of the group for which the invite code should be revoked.

Output

The node outputs a JSON array containing the result of the revoke invite code operation. The exact structure depends on the API response but generally confirms whether the revocation was successful or provides relevant status information.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The node expects the Evolution API endpoint to be accessible and properly configured.
  • No additional environment variables are explicitly required beyond the API authentication setup.

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 "revoke-invite-code" respectively.
  • Authentication errors: Ensure the API key credential is valid and has sufficient permissions to revoke invite codes.
  • Invalid group ID or instance name: Double-check that the provided group ID and instance name exist and are correctly spelled.
  • Network issues: Confirm that the Evolution API service is reachable from your n8n instance.

Links and References

  • Evolution API official documentation (check for group management and invite code revocation endpoints)
  • n8n documentation on creating and using API credentials

Discussion