Actions59
- Instancia Actions
- Mensaje Actions
- Grupo Actions
- Crear Grupo
- Actualizar Imagen Del Grupo
- Actualizar Nombre Del Grupo
- Actualizar Descripción Del Grupo
- Actualizar Configuraciones
- Actualizar Miembros
- Buscar Enlace De Invitación
- Revocar Enlace De Invitación
- Enviar Enlace De Invitación
- Buscar Grupos
- Encontrar Participantes
- Mensajes Temporales
- Entrar en El Grupo
- Salir Del Grupo
- Chat Actions
- Perfil Actions
- Evento Actions
Overview
The node named "Wazend API" provides integration with the Wazend service, allowing users to perform various operations on different resources. Specifically, for the resource Chat and operation Listar Contactos (List Contacts), the node fetches contact information from a Wazend instance. This is useful in scenarios where you want to retrieve either all contacts or a specific contact from a chat system managed by Wazend.
Practical examples include:
- Listing all contacts in a chat instance to synchronize them with another system.
- Retrieving details of a specific contact by their number for targeted messaging or analysis.
Properties
Name | Meaning |
---|---|
Nombre De La Instancia | The name of the Wazend instance to connect to. |
Listar Todos | Boolean option indicating whether to list all contacts (true ) or a specific one (false ). |
Contacto | The specific contact number to retrieve when not listing all contacts. |
Output
The node outputs an array of JSON objects representing contacts retrieved from the Wazend chat instance. Each object corresponds to a contact's data as returned by the Wazend API. The exact structure depends on the API response but typically includes identifiers like contact numbers and possibly metadata related to each contact.
If binary data were involved (e.g., profile pictures), it would be included in the output's binary field, but based on the provided code and properties, this node focuses on JSON contact data only.
Dependencies
- Requires an active connection to the Wazend API via an API key or authentication token configured in the node credentials.
- The base URL for API requests is
https://docs.wazend.net/wazend
. - No additional external services are indicated beyond the Wazend API itself.
Troubleshooting
- Operation Not Supported Error: If the node throws an error stating the operation is not supported, verify that the selected resource and operation names match those implemented in the node. For example, ensure "chat-api" and "find-contacts" are correctly chosen.
- Authentication Issues: Failure to authenticate with the Wazend API will prevent contact retrieval. Confirm that the API key or authentication token is valid and properly configured.
- Empty Results: If no contacts are returned when expecting some, check if the instance name is correct and that the "Listar Todos" property is set appropriately. Also, verify network connectivity to the Wazend API.
- Invalid Contact Number: When specifying a single contact, ensure the contact number format matches what the API expects.
Links and References
- Wazend API Documentation (base URL used by the node)
- n8n Documentation on Creating Custom Nodes