Wazend API icon

Wazend API

Interact with Wazend API

Overview

The node "Wazend API" allows interaction with the Wazend service through various resources and operations. Specifically, for the resource Instancia and operation Definir Presencia, it sets the presence status of a given instance by its name. This is useful in scenarios where you want to programmatically update or reflect the availability state of an instance within the Wazend system, such as marking a service or user as available or unavailable.

Practical examples include:

  • Automatically setting the presence of a server or bot instance based on health checks.
  • Changing user or service availability status during maintenance windows.
  • Integrating presence updates into workflows that depend on real-time availability information.

Properties

Name Meaning
Nombre De La Instancia The name of the instance whose presence status you want to set.
Presencia The presence status to assign to the instance. Options: "Disponible" (available), "No Disponible" (unavailable).

Output

The node outputs a JSON array containing the result of the presence-setting operation. The exact structure depends on the response from the Wazend API but generally includes confirmation of the updated presence status or any relevant metadata returned by the API.

There is no indication that the node outputs binary data.

Dependencies

  • Requires an API key credential for authenticating with the Wazend API.
  • The base URL for requests is https://docs.wazend.net/wazend.
  • The node expects JSON responses and sends JSON payloads.
  • Proper configuration of the API authentication credential in n8n is necessary.

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 "instances-api" and "set-presence" respectively.
  • Authentication errors: Ensure the API key credential is valid and has the necessary permissions to update instance presence.
  • Invalid instance name: Providing an incorrect or non-existent instance name may cause the API to return an error or fail silently; double-check the instance name input.
  • Network or API endpoint issues: Confirm network connectivity and that the base URL https://docs.wazend.net/wazend is reachable.

Links and References

Discussion