Actions64
- Instancia Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
Overview
The node named "Evolution API" provides an interface to interact with the Evolution API service. Specifically, for the Resource "Chat" and Operation "Bloquear Contato" (Block Contact), it allows 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 user access or filtering unwanted communications.
Practical examples include:
- Automatically blocking spam or abusive contacts.
- Unblocking previously blocked contacts based on certain triggers or conditions.
Properties
| Name | Meaning |
|---|---|
| Nome Da Instância | The name of the instance to connect to the Evolution API. |
| Contato | The phone number or identifier 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 or 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 base URL
https://doc.evolution-api.com/api-referencefor API requests. - Proper configuration of the API authentication credentials within n8n 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 "chat" and "block-contact" respectively.
- Authentication errors: Ensure the API key credential is valid and has the necessary permissions.
- Invalid contact number: The "Contato" property must be a valid contact identifier recognized by the Evolution API; otherwise, the API may reject the request.
- Network issues: Confirm network connectivity to the Evolution API endpoint.
Links and References
- Evolution API Documentation (base URL used by the node)