Wazend API icon

Wazend API

Interact with Wazend API

Overview

This node, named "Wazend API," is designed to interact with the Wazend API service. Specifically, for the Resource "Chat" and Operation "Verificar Número" (Check Number), it verifies a list of phone numbers against the Wazend platform. This functionality is useful in scenarios where users need to validate multiple phone numbers to check their status or availability on the chat system before sending messages or performing further actions.

Practical examples include:

  • Validating customer contact lists before launching marketing campaigns.
  • Filtering out invalid or inactive numbers from a database.
  • Ensuring that numbers are registered on the chat platform to avoid message delivery failures.

Properties

Name Meaning
Nombre De La Instancia The name of the instance to connect to within the Wazend API environment.
Números A comma-separated list of phone numbers to verify their status on the chat platform.

Output

The node outputs a JSON array containing the verification results for each phone number provided. Each item in the output array corresponds to one phone number and includes details about its verification status as returned by the Wazend API.

If the node supports binary data output, it would typically relate to any media or files associated with the chat verification process; however, based on the provided code and properties, the primary output is JSON data representing verification results.

Dependencies

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

Troubleshooting

  • Operation Not Supported Error: If you receive an error stating the operation is not supported, ensure that the Resource is set to "Chat" and the Operation to "Verificar Número". This error occurs if the combination is invalid or not implemented.
  • Invalid or Missing Instance Name: The "Nombre De La Instancia" property is required. Omitting it or providing an incorrect instance name may cause authentication or routing errors.
  • Malformed Numbers List: Ensure the "Números" input is a properly formatted comma-separated string without extra spaces or invalid characters.
  • API Authentication Failures: Verify that the API key or token credential is correctly configured and has sufficient permissions.
  • Network Issues: Check connectivity to the Wazend API endpoint and firewall settings if requests fail.

Links and References

Discussion