Wazend API icon

Wazend API

Interact with Wazend API

Overview

This node, named "Wazend API," allows users to interact with the Wazend API to perform various operations related to groups management. Specifically, the "Crear Grupo" (Create Group) operation under the "Grupo" (Group) resource enables users to create a new group instance within the Wazend platform.

Common scenarios for this node include automating group creation workflows in messaging or collaboration platforms where groups are dynamically generated based on user input or external triggers. For example, a company could automatically create project-specific chat groups by providing the instance name, group name, description, and participants' phone numbers.

Properties

Name Meaning
Nombre De La Instancia The name of the instance where the group will be created. This identifies the environment or context for the group.
Nombre Del Grupo The name of the group to be created.
Descripción Optional description text for the group, providing additional details about its purpose or content.
Participantes Comma-separated list of participant phone numbers (e.g., 5511999999999,5511888888888) who will be members of the group.

Output

The node outputs a JSON array containing the response from the Wazend API after attempting to create the group. This typically includes details about the newly created group such as its ID, name, description, participants, and status confirmation.

No binary data output is indicated in the source code or properties.

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 payloads.
  • Proper configuration of the API credential in 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" is set to "groups-api" and the "operation" is set to "create-group".
  • Invalid Participants Format: Ensure the participants' phone numbers are correctly formatted as comma-separated values without spaces.
  • Authentication Failures: Confirm that the API key credential is valid and has the required permissions to create groups.
  • Missing Required Fields: The node requires "Nombre De La Instancia", "Nombre Del Grupo", and "Participantes" fields; missing any of these will cause errors.
  • API Endpoint Issues: Network issues or incorrect base URL configurations can lead to request failures.

Links and References

Discussion