Evolution API icon

Evolution API

Interact with Evolution API

Overview

The node "Evolution API" allows interaction with the Evolution API, specifically supporting operations on various resources. For the resource Grupo and operation Atualizar Configurações, it updates group settings such as who can send messages or edit configurations within a specified group instance.

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

  • Restricting message sending to only admins during announcements.
  • Allowing all members to send messages normally.
  • Locking or unlocking group configuration editing rights.

Practical examples include automating group moderation policies or dynamically changing group permissions based on external triggers.

Properties

Name Meaning
Nome Da Instância The name of the instance where the group exists; identifies the environment or server.
ID Do Grupo The unique identifier (ID) of the group whose settings will be updated.
Ação The setting action to apply to the group. 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. This typically includes confirmation details or the updated group settings returned by the Evolution API. There is no indication that binary data is output by this node.

Dependencies

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

Troubleshooting

  • Unsupported Operation Error: If the operation or resource is not supported, the node throws an error indicating the function is not supported. Ensure the resource is "groups-api" and operation is "update-settings".
  • Missing Required Parameters: The node requires instanceName, groupJid, and action. Missing any of these will likely cause errors.
  • API Authentication Issues: Invalid or missing API credentials will prevent successful requests.
  • Network or API Errors: Connectivity issues or API downtime may cause failures; verify network access and API status.

Links and References

  • Evolution API official documentation (not provided here, but recommended to consult for detailed API behavior).
  • n8n documentation on creating and using custom nodes for API integrations.

Discussion