Actions64
- Instancia Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
Overview
This node, named "Evolution API," allows interaction with the Evolution API service. Specifically for the "Chat" resource and the "Bloquear Contato" (Block Contact) operation, it enables users to block or unblock a contact by specifying the contact's number and the desired action. This is useful in scenarios where automated control over chat contacts is needed, such as managing unwanted messages or automating contact permissions.
Practical examples include:
- Automatically blocking spam or unknown contacts.
- Unblocking previously blocked contacts based on certain triggers or workflows.
Properties
| Name | Meaning |
|---|---|
| Nome Da Instância | The name of the instance to connect to the Evolution API service. |
| Contato | The phone number of the contact to be blocked or unblocked. |
| Ação | The action to perform: either "Bloquear" (block) or "Desbloquear" (unblock) the contact. |
Output
The node outputs a JSON array containing the result of the block/unblock operation. The exact structure depends on the Evolution API response but generally includes confirmation of the action performed on the specified contact.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the Evolution API.
- The node expects the Evolution API base URL and headers to be configured internally.
- No additional external dependencies are indicated beyond the Evolution API service.
Troubleshooting
- Unsupported Operation Error: If the selected operation is not supported, the node throws an error stating the operation is unsupported. Ensure that the "resource" is set to "chat-api" and the operation to "block-contact".
- Missing Required Parameters: The node requires the instance name, contact number, and action to be provided. Missing any of these will likely cause errors.
- API Authentication Issues: Incorrect or missing API credentials will prevent successful communication with the Evolution API.
- Invalid Contact Number Format: Providing an improperly formatted contact number may cause the API to reject the request.
Links and References
- Evolution API Documentation: https://doc.evolution-api.com/api-reference (as referenced in the code)