Actions64
- Instancia Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
Overview
This node, named "Evolution API," is designed to interact with the Evolution API service. Specifically, for the Resource "Chat" and Operation "Procurar Chats" (Find Chats), it allows users to search for chat messages within a specified instance and contact. This can be useful in scenarios where you want to retrieve chat history or specific messages from a chat system integrated via the Evolution API.
Practical examples include:
- Retrieving chat messages for customer support analysis.
- Searching for specific message IDs within a chat conversation.
- Paginating through chat records for audit or monitoring purposes.
Properties
| Name | Meaning |
|---|---|
| Nome Da Instância | The name of the instance where the chat is located. |
| Contato | The contact number (remote JID) associated with the chat to search within. |
| ID Da Mensagem | The specific message ID to find within the chat. |
| Página | The page number for paginated results (default is 1). |
| Quantidade Por Página | Number of chat entries to return per page (pagination size, default is 10). |
Output
The node outputs an array of JSON objects representing the found chat messages matching the search criteria. Each object corresponds to a chat message or chat record retrieved from the Evolution API.
If the node supports binary data output (not explicitly shown in the provided code), it would typically represent media or attachments related to chats, but this is not indicated here.
Dependencies
- Requires an API key credential for authenticating with the Evolution API.
- The base URL for requests is set to
https://doc.evolution-api.com/api-reference. - No additional external dependencies are indicated beyond the Evolution API service itself.
Troubleshooting
- Operation Not Supported Error: If you select an unsupported operation or resource, the node throws an error stating the operation is not supported. Ensure that the Resource is set to "chat-api" and Operation to "find-chats" as per the available options.
- Missing Required Parameters: The properties "Nome Da Instância", "Contato", and "ID Da Mensagem" are required. Omitting these will likely cause errors or empty results.
- Pagination Issues: Providing invalid values for "Página" or "Quantidade Por Página" (e.g., negative numbers) may result in unexpected behavior or errors.
- API Authentication Failures: Make sure the API key credential is correctly configured and valid; otherwise, requests to the Evolution API will fail.
Links and References
- Evolution API Documentation (base URL used by the node)
- n8n Documentation on Creating Custom Nodes