Wazend API icon

Wazend API

Interact with Wazend API

Overview

The node "Wazend API" allows interaction with the Wazend API, specifically supporting various resources and operations. For the resource Instancia and operation Definir Comportamiento, it configures the behavior settings of an instance within the Wazend system. This includes options such as rejecting calls, setting call rejection messages, managing group mentions, online status, message reading, history synchronization, and status reading.

This node is beneficial in scenarios where automated control over instance behavior is required, such as customizing how an instance handles incoming calls or messages, automating presence status, or managing data synchronization preferences. For example, a user might want to automatically reject all calls with a custom message while keeping the instance always online and syncing full chat history.

Properties

Name Meaning
Nombre De La Instancia The name assigned to the instance being configured.
Rechazar Llamadas Boolean option to reject incoming calls or not.
Mensaje De Llamadas Message sent automatically if calls are rejected.
Ignorar Grupos Boolean option indicating whether to ignore mentioning groups (likely disables group mentions).
Siempre en Línea Boolean option to keep the instance always online regardless of activity.
Leer Mensajes Boolean option to enable automatic reading of messages.
Sincronizar Historial Completo Boolean option to synchronize the complete message history for the instance.
Leer Estados Boolean option to enable reading of status updates.

Output

The node outputs a JSON array containing the result of the operation performed on the instance. The exact structure depends on the Wazend API response but generally includes confirmation of the updated settings or any relevant data returned by the API after applying the behavior configuration.

No binary data output is indicated.

Dependencies

  • Requires an active connection to the Wazend API.
  • Needs an API authentication credential configured in n8n to authorize requests.
  • The base URL for API requests is https://docs.wazend.net/wazend.

Troubleshooting

  • Unsupported Operation Error: If the selected operation is not supported for the chosen resource, the node throws an error stating the operation is unsupported. Ensure that the resource and operation names match those implemented.
  • API Authentication Issues: Failure to authenticate with the Wazend API will prevent execution. Verify that the API key or token is correctly set up in n8n credentials.
  • Invalid Property Values: Required properties like "Nombre De La Instancia" must be provided; missing or invalid values may cause errors.
  • Network or API Downtime: Connectivity issues or API unavailability can cause request failures. Check network access and Wazend service status.

Links and References

Discussion