Evolution API icon

Evolution API

Interact with Evolution API

Overview

The node "Evolution API" allows interaction with the Evolution API to perform various operations on different resources. Specifically, for the resource Grupo and operation Atualizar Configurações, it updates group settings such as message sending permissions and configuration editing rights within a group.

This node is useful in scenarios where automated management of group configurations is needed, for example:

  • Restricting message sending to only admins during announcements.
  • Allowing all members to send messages or edit group settings dynamically based on external triggers or workflows.

Practical examples include automating group moderation policies or integrating group setting changes into larger automation pipelines.

Properties

Name Meaning
Nome Da Instância The name of the instance where the group exists; used to identify the target environment.
ID Do Grupo The unique identifier (ID) of the group whose settings will be updated.
Ação The specific group setting to apply. Options:
- Somente Admins Enviam Mensagens (Only admins can send messages)
- Todos Enviam Mensagens (Everyone can send messages)
- Somente Admins Editam Configurações (Only admins can edit settings)
- Todos Editam Configurações (Everyone can edit settings)

Output

The node outputs a JSON array containing the result of the update operation. The exact structure depends on the API response but generally includes confirmation of the applied settings or error details if the update failed.

No binary data output is indicated.

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 execution.

Troubleshooting

  • Unsupported Operation Error: If the selected operation is not supported for the resource, the node throws an error indicating the function is not supported. Ensure the correct resource and operation names are used.
  • Authentication Failures: Missing or invalid API credentials will cause authentication errors. Verify that the API key credential is correctly set up.
  • Invalid Group ID: Providing an incorrect or non-existent group ID may result in failure to update settings. Confirm the group ID is valid.
  • Network Issues: Connectivity problems to the Evolution API endpoint can cause request failures. Check network access and API availability.

Links and References

Discussion