Wazend API icon

Wazend API

Interact with Wazend API

Overview

This node, named "Wazend API," is designed to interact with the Wazend API service. It allows users to perform various operations on different resources exposed by the Wazend API. Specifically, for the resource "Perfil" (Profile) and operation "Buscar Perfil" (Fetch Profile), the node fetches profile information of a contact from a specified instance.

Common scenarios where this node is beneficial include:

  • Retrieving detailed profile data of contacts in messaging or social platforms integrated via Wazend.
  • Automating workflows that require up-to-date contact information.
  • Integrating profile data into CRM systems or other business tools.

For example, a user can input the instance name and a contact's number to fetch that contact’s profile details automatically during a workflow execution.

Properties

Name Meaning
Nombre De La Instancia The name of the Wazend instance to connect to. This identifies which instance to query.
Contacto The contact's phone number or identifier whose profile is to be fetched.

Output

The node outputs an array of JSON objects representing the fetched profile data for the specified contact. Each object contains the profile details as returned by the Wazend API, such as contact information, status, or any other profile attributes provided by the API.

If the node supports binary data output (not evident from the provided code), it would typically represent media or files associated with the profile, but no explicit binary output handling is shown here.

Dependencies

  • Requires an active connection to the Wazend API endpoint at https://docs.wazend.net/wazend.
  • Needs an API authentication credential configured in n8n to authorize requests to the Wazend API.
  • The node depends on internal helper functions mapped in resourceOperationsFunctions to execute specific resource-operation logic.

Troubleshooting

  • Unsupported Operation Error: If you select an operation not supported for the chosen resource, the node throws an error stating the operation is not supported. Ensure the operation matches the resource.
  • Missing Required Parameters: Both "Nombre De La Instancia" and "Contacto" are required. Omitting these will likely cause errors or empty responses.
  • API Connectivity Issues: Network problems or invalid credentials may result in failed API calls. Verify API keys and network access.
  • Unexpected API Response: If the API changes or returns unexpected data, the node might fail or return incomplete results. Check API documentation and update node configuration accordingly.

Links and References

Discussion