Wazend API icon

Wazend API

Interact with Wazend API

Overview

The node named "Wazend API" provides an interface to interact with the Wazend API, specifically supporting operations related to groups management. The "Salir Del Grupo" (Leave Group) operation allows a user or bot to leave a specified group by providing the group ID and the instance name. This is useful in scenarios where automated workflows need to manage group memberships dynamically, such as removing a bot from a chat group after completing certain tasks or managing group participation programmatically.

Properties

Name Meaning
Nombre De La Instancia The name of the Wazend instance to use for the operation.
ID Del Grupo The unique identifier (JID) of the group that the user or bot wants to leave.

Output

The node outputs a JSON array containing the result of the leave group operation. The exact structure depends on the API response but typically includes confirmation of the action or any relevant status messages. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating with the Wazend API.
  • The base URL for API requests is https://docs.wazend.net/wazend.
  • The node expects JSON responses and sends JSON content-type headers.
  • Proper configuration of the API credentials within n8n is necessary for successful execution.

Troubleshooting

  • Unsupported Operation Error: If the node throws an error stating the operation is not supported, verify that the resource and operation names are correctly set to "groups-api" and "leave-group" respectively.
  • Authentication Failures: Ensure the API key or authentication token is valid and has sufficient permissions to perform group operations.
  • Invalid Group ID: Providing an incorrect or malformed group ID will likely cause the API to reject the request; double-check the group JID format.
  • Instance Name Issues: The instance name must correspond to a valid and active Wazend instance; otherwise, the API call may fail.

Links and References

Discussion