Actions64
- Instancia Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
Overview
The node "Evolution API" provides integration with the Evolution API service, allowing users to perform various operations on different resources. Specifically, for the resource Chat and operation Listar Contatos (List Contacts), the node enables retrieving contact information from a chat instance. This can be useful in scenarios such as managing contact lists, syncing contacts from an external chat system, or automating communication workflows based on contact data.
For example, a user might want to list all contacts from a specific chat instance to send broadcast messages or filter contacts based on certain criteria.
Properties
| Name | Meaning |
|---|---|
| Nome Da Instância | The name of the chat instance to connect to. |
| Listar Todos | Boolean option indicating whether to list all contacts (true) or a specific contact (false). |
| Contato | The specific contact number to retrieve when not listing all contacts (used if "Listar Todos" is false). |
Output
The node outputs a JSON array where each element represents a contact retrieved from the specified chat instance. Each contact object typically contains details such as the contact's identifier (e.g., phone number or unique ID) and possibly other metadata related to the contact.
If binary data were involved (e.g., profile pictures), it would be included in a separate binary property, but based on the provided code and properties, the output focuses on JSON contact data only.
Dependencies
- Requires an API key credential for authenticating with the Evolution API.
- The node uses the base URL
https://doc.evolution-api.com/api-referenceto make requests. - Proper configuration of the API authentication credentials within n8n is necessary.
- No additional external dependencies are indicated beyond the Evolution API service.
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 "find-contacts" respectively.
- Authentication Errors: Ensure the API key credential is valid and has the necessary permissions to access contact data.
- Empty Results: If no contacts are returned, check if the instance name is correct and that the account has contacts available.
- Incorrect Property Usage: When "Listar Todos" is set to false, ensure the "Contato" field is filled with a valid contact number; otherwise, the request may fail or return no data.
Links and References
- Evolution API Documentation (base URL used by the node)
- n8n Documentation on Creating Custom Nodes