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 "Gerenciar Arquivo" (Manage Archive), it allows users to archive or unarchive a chat conversation. This is useful in scenarios where users want to organize their chat history by hiding inactive conversations or restoring archived ones.
Practical examples include:
- Archiving a chat after a support ticket is resolved to keep the chat list clean.
- Unarchiving a chat when a previously closed conversation needs to be revisited.
Properties
| Name | Meaning |
|---|---|
| Nome Da Instância | The name of the instance to connect to the Evolution API. |
| Contato | The contact number associated with the chat conversation to be archived/unarchived. |
| Ação | Action to perform on the chat: either "Arquivar" (archive) or "Desarquivar" (unarchive). |
| ID Da Mensagem | The ID of the last message in the conversation, used to identify the specific chat. |
| Mensagem É Minha | Boolean indicating if the last message was sent by the instance itself. |
Output
The node outputs a JSON array containing the result of the archive management operation. The exact structure depends on the Evolution API response but generally includes confirmation of the archive/unarchive action performed on the specified chat.
No binary data output is indicated.
Dependencies
- Requires an API key credential to authenticate with the Evolution API.
- The node expects the Evolution API endpoint to be accessible and properly configured.
- No additional environment variables are explicitly required beyond the API authentication.
Troubleshooting
Common Issues:
- Incorrect or missing instance name or contact number may cause the operation to fail.
- Providing an invalid message ID could lead to errors as the API might not find the chat.
- Network connectivity issues can prevent successful communication with the Evolution API.
Error Messages:
"Operação não suportada."indicates that the requested operation is not implemented for the given resource. Verify that the resource and operation names are correct.- API authentication errors suggest checking the provided API key credentials.
- Validation errors related to required parameters mean some input properties were not set or are invalid.
Links and References
- Evolution API official documentation (not provided here; consult your API provider)
- n8n documentation on creating custom nodes and handling API integrations: https://docs.n8n.io/
- General best practices for managing chat archives in messaging platforms.