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
The node "Wazend API" provides integration with the Wazend messaging platform, allowing users to send various types of messages programmatically. Specifically, the "Enviar Audio" operation under the "Mensaje" resource enables sending audio messages to a specified recipient via the Wazend API.
This node is useful in scenarios where automated audio notifications or voice messages need to be sent, such as customer support callbacks, alerts, or marketing campaigns that use audio content.
Example use cases:
- Sending a recorded audio message to a customer after a support ticket is resolved.
- Broadcasting an audio announcement to multiple recipients.
- Delivering personalized voice reminders or confirmations.
Properties
Name | Meaning |
---|---|
Nombre De La Instancia | The name of the instance that will send the audio message. |
Número Del Destinatario | The recipient's phone number or identifier to whom the audio will be sent. |
Audio | The audio content to send, provided as a URL or base64 encoded string. |
Opciones (Delay) | Optional delay in milliseconds before the message is sent (default is 1200 ms). |
Output
The node outputs a JSON array containing the response from the Wazend API after attempting to send the audio message. This typically includes status information about the message delivery, such as success confirmation or error details.
If the node supports binary data output for the audio, it would represent the audio file sent, but based on the provided code and properties, the audio is input only and no binary output is indicated.
Dependencies
- Requires an active connection to the Wazend API service.
- Needs an API authentication token or key configured in the node credentials to authorize requests.
- The base URL for API requests is
https://docs.wazend.net/wazend
. - The node expects JSON content type for requests and responses.
Troubleshooting
- Operation not supported error: If you select an unsupported operation or resource, the node throws an error indicating the function is not supported. Ensure the resource is "messages-api" and operation is "send-audio".
- Invalid or missing parameters: Make sure all required fields (instance name, recipient number, and audio) are correctly filled.
- API authentication errors: Verify that the API key or token credential is valid and has necessary permissions.
- Network or timeout issues: Check network connectivity and consider increasing the delay option if messages fail due to rate limiting or server processing time.
Links and References
- Wazend API Documentation (base URL used by the node)
- General n8n documentation on creating and using custom nodes: https://docs.n8n.io/
- For audio encoding and URL formatting best practices, refer to standard media handling guides.