Actions23
- ✉️ Message Actions
- 👥 Group Actions
Overview
The node integrates with the Wazzap API to send audio messages via WhatsApp. Specifically, the "Send Audio" operation under the "Message" resource allows users to send an audio file along with a text message to a specified recipient's phone number.
This node is useful in scenarios such as:
- Customer support where voice messages are sent for better clarity.
- Marketing campaigns that include personalized audio greetings.
- Automated notifications or alerts delivered as audio clips.
Example: Sending a promotional audio clip with a short text description to a customer’s WhatsApp number.
Properties
| Name | Meaning |
|---|---|
| 📱 Recipient Phone Number (jid) | The full phone number of the recipient including country code. Example: "+1234567890". Required. |
| ✉️ Text Message (message) | The text content accompanying the audio message. Required. |
| 🔗 Audio URL (url) | Direct URL link to the audio file to be sent. Must be accessible and valid. Required. |
| ⚙️ Additional Options (options) | Optional settings to customize sending behavior: |
| - 🔢 Priority Number (priority) | Select which sending number to use: 0 = Default, 999 = Random, 1–5 = Specific number slot. |
| - ⏱️ Delay Settings (delaySettings) | Configure a random delay before sending the message, between a start and end time in milliseconds. |
Output
The node outputs a JSON array containing the response from the Wazzap API after attempting to send the audio message. This typically includes status information about the message delivery.
No binary data output is indicated by the source code or properties.
Dependencies
- Requires an active Wazzap API credential configured in n8n for authentication.
- The node sends requests to the Wazzap API endpoint at
https://doc.wazzap.mx/api-reference. - The audio file must be hosted at a publicly accessible URL.
Troubleshooting
- Unsupported operation error: If the operation or resource is not supported, the node throws an error stating
"Unsupported operation."Ensure the resource is set to "✉️ Message" and operation to "🔊 Send Audio". - Invalid or inaccessible audio URL: The audio URL must be direct and publicly reachable; otherwise, the message will fail to send.
- Incorrect phone number format: The recipient phone number must include the country code and be correctly formatted.
- Missing required parameters: All required fields (
jid,message,url) must be provided. - API authentication errors: Verify that the API key or credentials are correctly set up in n8n.
Links and References
- Wazzap API Documentation (official API reference)
- WhatsApp Business API Concepts (for general understanding of WhatsApp messaging)