Actions64
- Instancia Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
Overview
The node "Evolution API Direct" allows users to interact directly with the Evolution API by specifying a server URL and an API key. Specifically, for the Chat resource and the Delete Message operation, it enables deleting a specific chat message from a contact or participant on the Evolution platform.
This node is useful in scenarios where automated management of chat messages is required, such as removing erroneous or sensitive messages programmatically. For example, a user can delete a message sent by a particular participant or by the instance itself by providing the message ID and relevant identifiers.
Properties
| Name | Meaning |
|---|---|
| Server URL | The full URL of your Evolution API server (e.g., https://api.exemplo.com). |
| API Key | The API key credential for authenticating requests to the Evolution API instance or globally. |
| Nome Da Instância | The name of the Evolution API instance you want to interact with. |
| Contato | The contact number associated with the chat where the message exists. |
| ID Da Mensagem | The unique identifier of the message that will be deleted. |
| Mensagem É Minha | Boolean indicating if the message was sent by the instance itself. |
| Número Do Participante | The number of the participant who sent the message (required only if the message was not sent by the instance). |
Output
The node outputs a JSON array containing the result of the delete message operation. This typically includes confirmation of deletion or any error details returned by the Evolution API. There is no binary data output.
Example output structure (conceptual):
[
{
"success": true,
"messageId": "1234567890",
"deleted": true
}
]
Dependencies
- Requires access to the Evolution API endpoint specified by the Server URL.
- Requires a valid API key credential for authentication.
- Proper configuration of the instance name and other parameters related to the chat message.
- No additional external dependencies beyond standard HTTP request capabilities.
Troubleshooting
Common Issues:
- Incorrect Server URL or API Key will cause authentication failures.
- Providing an invalid or non-existent message ID will result in errors or no action.
- If "Mensagem É Minha" is set incorrectly, the deletion may fail due to permission issues.
- Missing required fields like contact number or participant number when needed.
Error Messages:
"Operação não suportada."— This indicates the requested operation is not supported for the selected resource; ensure "Chat" and "Delete Message" are correctly chosen.- API errors related to authorization or resource not found should be checked against the provided credentials and IDs.
Links and References
- Evolution API official documentation (replace with actual URL): https://doc.evolution-api.com/api-reference
- n8n documentation on creating custom nodes: https://docs.n8n.io/integrations/creating-nodes/