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," allows users to interact with the Wazend messaging platform via its API. Specifically, for the Mensaje resource and the Enviar Botones operation, it enables sending a message containing interactive buttons to a specified recipient. This is useful in scenarios where you want to engage users with quick action buttons such as replies, copying text, opening URLs, or making calls directly from the message.
Practical examples include:
- Sending a customer support message with buttons for common replies.
- Sharing promotional content with buttons linking to product pages.
- Providing contact options with call buttons embedded in messages.
Properties
| Name | Meaning |
|---|---|
| Nombre De La Instancia | The name of the instance that will send the buttons message. |
| Número Del Destinatario | The recipient's phone number or identifier to whom the message will be sent. |
| Título | The title text of the button message. |
| Descripción | The description text of the button message. |
| Pie De Página | Optional footer text displayed at the bottom of the message. |
| Botones | Up to 3 buttons included in the message. Each button can be one of the following types: |
| - Respuesta (reply): A button that sends a predefined reply ID when clicked. Requires an ID. | |
| - Copiar (copy): A button that copies a specific code/text to the clipboard. Requires copyCode. | |
| - URL: A button that opens a specified URL. Requires a URL string. | |
| - Llamar (call): A button that initiates a phone call to a given number. Requires phoneNumber. |
Output
The node outputs a JSON array containing the response from the Wazend API after attempting to send the button message. The exact structure depends on the API response but typically includes confirmation of message delivery status or error details.
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 responses and sends JSON payloads.
- Proper configuration of the API credential within n8n is necessary.
Troubleshooting
- Operation not supported error: If the node throws an error stating the operation is not supported, verify that the Resource is set to "messages-api" and Operation to "send-buttons".
- Missing required fields: Ensure all required properties like instance name, recipient number, title, description, and button details are provided.
- API authentication errors: Confirm that the API key credential is correctly configured and has sufficient permissions.
- Button validation errors: Buttons must be no more than three; each button type requires specific fields (e.g., reply buttons need an ID).
- Network or API errors: Check network connectivity and Wazend API service status if requests fail.
Links and References
- Wazend API Documentation (base URL used by the node)
- n8n documentation on creating custom nodes for further customization guidance.