Actions64
- Instancia Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
Overview
The node provides an interface to interact with the Evolution API, specifically supporting operations on various resources. For the "Chat" resource and the "Deletar Mensagem" (Delete Message) operation, it allows users to delete a specific chat message from a conversation. This is useful in scenarios where you want to programmatically remove messages sent or received by a particular instance, such as cleaning up chat history, removing erroneous messages, or managing message retention.
Practical examples include:
- Automatically deleting messages that contain sensitive information after processing.
- Removing spam or unwanted messages from a chat.
- Managing chat content compliance by deleting messages based on certain criteria.
Properties
| Name | Meaning |
|---|---|
| Nome Da Instância | The name of the instance from which the message deletion request will be made. |
| Contato | The contact number (chat ID) associated with the message to be deleted. |
| ID Da Mensagem | The unique identifier of the message that should be deleted. |
| Mensagem É Minha | Boolean indicating if the message was sent by the instance itself (true) or not (false). |
| Número Do Participante | The participant's number who sent the message; required only if the message was not sent by the instance (Mensagem É Minha is false). |
Output
The node outputs a JSON array containing the result of the delete message operation. Typically, this would include confirmation of success or failure for the deletion request. The exact structure depends on the Evolution API response but generally includes status indicators or error messages.
No binary data output is indicated for this operation.
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.
- Proper network access to the Evolution API endpoint 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 "Deletar Mensagem".
- Missing Required Parameters: Ensure all required properties (
Nome Da Instância,Contato,ID Da Mensagem,Mensagem É Minha, and conditionallyNúmero Do Participante) are provided. - Authentication Failures: Confirm that the API key credential is valid and has the necessary permissions.
- Message Not Found: If the message ID does not exist or is incorrect, the API may return an error. Double-check the message ID.
- Permission Issues: Deleting messages not sent by the instance might require additional permissions or specifying the participant number correctly.
Links and References
- Evolution API Documentation: https://doc.evolution-api.com/api-reference (base URL used by the node)
- n8n Documentation on Creating Nodes: https://docs.n8n.io/integrations/creating-nodes/