Actions64
- Instance Actions
- Message Actions
- Group Actions
- Integration Actions
- Chat Actions
- Profile Actions
- Event Actions
Overview
The node provides an interface to interact with the "Evolution API," specifically supporting operations on various resources including chat messages. For the Chat resource and the Delete Message operation, it allows users to delete a specific message from a chat conversation by specifying the contact and message details.
This node is beneficial in scenarios where automated management of chat histories is required, such as removing sensitive or erroneous messages programmatically. For example, a customer support automation could delete outdated or incorrect messages from a chat thread to maintain clarity.
Properties
| Name | Meaning |
|---|---|
| Instance Name | The name of the Evolution API instance to use for the request. |
| Contact | The contact number (chat identifier) from which the message will be deleted. |
| Message ID | The unique identifier of the message that needs to be deleted. |
| Is My Message | Boolean flag indicating whether the message was sent by the instance itself (true/false). |
Output
The node outputs a JSON array containing the result of the delete message operation. The exact structure depends on the Evolution API response but typically includes confirmation of deletion status or error information if the deletion failed.
No binary data output is indicated or expected for this operation.
Dependencies
- Requires an active connection to the Evolution API service.
- Requires configuration of an API authentication credential (e.g., an API key or token) within n8n to authorize requests.
- The base URL for the API is set to
https://doc.evolution-api.com/api-reference.
Troubleshooting
- Operation not supported error: If the specified operation or resource is not implemented, the node throws an error stating the function is not supported. Ensure the resource is "Chat" and operation is "Delete Message".
- Missing or invalid parameters: All properties (
Instance Name,Contact,Message ID,Is My Message) are required. Missing or incorrect values may cause the API call to fail. - API authentication errors: Verify that the API credentials are correctly configured and have sufficient permissions to delete messages.
- Network or API errors: Check network connectivity and API availability. Review error messages returned by the API for more details.
Links and References
- Evolution API Documentation (official API reference)
- n8n documentation on creating custom nodes