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 access or enhance security.

Practical examples include:

  • Revoking an outdated or compromised group invite link.
  • Managing group membership by disabling further joins via a specific invite code.
  • Automating group access control in workflows that require dynamic permission changes.

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 of the group for which the invite code should be revoked.

Output

The node outputs a JSON array containing the response from the Evolution API after attempting to revoke the invite code. The exact structure depends on the API's response but typically includes confirmation of success or details about the revoked invite link.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The node uses the base URL https://doc.evolution-api.com/api-reference for requests.
  • Proper configuration of the API authentication within n8n credentials 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 "revoke-invite-code" respectively.
  • Invalid Instance or Group ID: Ensure that the "Nome Da Instância" and "ID Do Grupo" values are correct and correspond to existing entities in the Evolution API.
  • Authentication Failures: Confirm that the API key credential is valid and has sufficient permissions to revoke invite codes.
  • Network Issues: Check connectivity to the Evolution API endpoint and ensure no firewall or proxy is blocking requests.

Links and References

Discussion