Actions59
- Instancia Actions
- Mensaje Actions
- Grupo Actions
- Crear Grupo
- Actualizar Imagen Del Grupo
- Actualizar Nombre Del Grupo
- Actualizar Descripción Del Grupo
- Actualizar Configuraciones
- Actualizar Miembros
- Buscar Enlace De Invitación
- Revocar Enlace De Invitación
- Enviar Enlace De Invitación
- Buscar Grupos
- Encontrar Participantes
- Mensajes Temporales
- Entrar en El Grupo
- Salir Del Grupo
- Chat Actions
- Perfil Actions
- Evento Actions
Overview
This node, named "Wazend API," is designed to interact with the Wazend API service. Specifically, for the resource "Mensaje" and operation "Enviar Encuesta" (Send Poll), it allows users to send a poll message to a specified recipient via the Wazend platform. This is useful in scenarios where automated survey or feedback collection is needed through messaging, such as customer satisfaction surveys, event feedback, or quick opinion polls.
Practical examples include:
- Sending a customer satisfaction poll after a support interaction.
- Distributing event feedback surveys to attendees.
- Collecting quick votes or opinions from a group of users.
Properties
Name | Meaning |
---|---|
Nombre De La Instancia | The name of the instance that will send the poll. |
Número Del Destinatario | The recipient's number (likely in a messaging ID format) who will receive the poll. |
Título De La Encuesta | The title or caption of the poll being sent. |
Opciones De La Encuesta | The options available in the poll; must be between 2 and 12 unique choices. Each option is a string value representing one poll choice. |
Note: There is also a notice reminding that the poll must have at least 2 and at most 12 unique options.
Output
The node outputs a JSON array containing the response from the Wazend API after attempting to send the poll. The exact structure depends on the API response but typically includes confirmation details such as message status, IDs, or error information if sending failed.
No binary data output is indicated by the source code or properties.
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 content-type headers and accepts JSON responses.
- Proper configuration of the API credential within n8n is necessary for successful operation.
Troubleshooting
- Unsupported Operation Error: If the node throws an error stating the operation is not supported, verify that the resource is set to "messages-api" and the operation to "send-poll". This error occurs if the combination is invalid or missing implementation.
- Invalid Input Data: Ensure that the poll options are unique and between 2 and 12 in count. Violating this may cause API rejection or errors.
- Authentication Failures: Check that the API key credential is correctly configured and has sufficient permissions.
- Network Issues: Confirm network connectivity to the Wazend API endpoint.
- API Response Errors: Inspect the returned JSON for error messages from the API to diagnose issues like invalid recipient numbers or malformed requests.
Links and References
- Wazend API Documentation (base URL used by the node)
- General n8n documentation on creating and using credentials
- Best practices for poll/survey design (external resource for effective polling)