Actions64
- Instance Actions
- Message Actions
- Group Actions
- Integration Actions
- Chat Actions
- Profile Actions
- Event Actions
Overview
The node named "Evolution API" allows users to interact with the Evolution API service. Specifically, for the "Chat" resource and the "Block Contact" operation, it enables blocking or unblocking a contact by their contact number. This is useful in scenarios where you want to manage communication permissions dynamically, such as preventing unwanted messages from certain contacts or restoring communication with previously blocked contacts.
Practical examples:
- Automatically block spam or suspicious contacts detected by your system.
- Unblock a contact after resolving an issue or upon user request.
Properties
| Name | Meaning |
|---|---|
| Instance Name | The name of the Evolution API instance to connect to. |
| Contact | The contact number (remote JID) that you want to block or unblock. |
| Action | The action to perform on the contact: either "Block" to prevent communication or "Unblock" to allow communication again. |
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 active connection to the Evolution API service.
- Needs an API authentication credential configured in n8n to authorize requests.
- The base URL for the API is
https://doc.evolution-api.com/api-reference.
Troubleshooting
- Operation not supported error: If you select an unsupported operation or resource, the node will throw an error indicating the function is not supported. Ensure you use valid combinations of resource and operation.
- Authentication errors: Make sure the API key or authentication token is correctly set up in n8n credentials.
- Invalid contact number: The contact number must be in the correct format expected by the Evolution API; otherwise, the API may reject the request.
- Network issues: Verify network connectivity to the Evolution API endpoint.
Links and References
- Evolution API Documentation (official API reference)