Actions114
- Instance Actions
- Message Actions
- Group Actions
- Chat Actions
- Profile Actions
- Event Actions
- Integration Actions
- Call Actions
- Label Actions
- OpenAI Actions
- N8N Integration Actions
- EvoAI Actions
- Template Actions
- Business Actions
Chat → Block Contact
AI-generatedOverview
This node interacts with the Evolution API to perform chat-related operations, specifically blocking or unblocking a contact in the chat system. It is useful for managing contact permissions within a chat instance, such as preventing unwanted communication by blocking a contact or restoring communication by unblocking them.
Use Case Examples
- Blocking a spam contact number to prevent receiving messages from them.
- Unblocking a previously blocked contact to resume communication.
Properties
| Name | Meaning |
|---|---|
| Instance Name | The name of the chat instance where the contact block or unblock action will be performed. |
| Contact | The contact number (remoteJid) to be blocked or unblocked in the chat instance. |
| Action | The action to perform on the contact, either blocking or unblocking them. |
Output
JSON
status- The result status of the block or unblock action performed on the contact.message- Additional message or information returned from the API about the action.
Dependencies
- Requires an API key credential for the Evolution API to authenticate requests.
Troubleshooting
- Ensure the 'Instance Name' and 'Contact' fields are correctly filled; missing or incorrect values may cause the operation to fail.
- The node may throw an 'Unsupported operation' error if the specified operation is not implemented in the node's code, indicating a configuration or version mismatch.
- API authentication errors may occur if the Evolution API credentials are invalid or missing; verify the API key setup.