Uadezap icon

Uadezap

Consume Uadezap API

Overview

This node integrates with the Uadezap API to send various types of messages, specifically focusing here on sending audio messages. It allows users to send an audio file or voice message directly to a specified phone number via the API.

Common scenarios where this node is beneficial include:

  • Sending voice notifications or alerts to customers.
  • Delivering audio marketing messages or music clips.
  • Sharing voice memos or audio instructions in automated workflows.

For example, a business could automate sending a recorded greeting or promotional jingle to clients' WhatsApp numbers using this node.

Properties

Name Meaning
Number The recipient's phone number to which the audio will be sent. Format example: 5522999999999.
Audio The audio content to send, provided as either a URL pointing to the audio file or a Base64 string representing the audio data.
PTT (Push-to-Talk) Boolean flag indicating whether the audio should be sent as a voice message (true) or as music (false).

Output

The node outputs JSON data representing the response from the Uadezap API after attempting to send the audio message. This typically includes status information about the message delivery.

If the node supports binary data output (not explicitly shown here), it would represent any returned media or files related to the operation, but for sending audio, the main output is the JSON response confirming the request result.

Dependencies

  • Requires an active connection to the Uadezap API.
  • Needs an API authentication token or key configured in n8n credentials to authorize requests.
  • The base URL for the API must be set in the credential configuration.
  • The node sends HTTP POST requests to the /send-audio endpoint of the Uadezap API.

Troubleshooting

  • Invalid Phone Number: If the phone number format is incorrect or missing, the API may reject the request. Ensure the number includes country code and no extra characters.
  • Audio Data Issues: Providing an invalid URL or malformed Base64 string for the audio property can cause failures. Verify the audio source is accessible and correctly encoded.
  • Authentication Errors: Missing or incorrect API credentials will lead to authorization errors. Confirm that the API key/token is valid and properly configured in n8n.
  • Network or API Downtime: Connectivity issues or API service interruptions will prevent message sending. Check network access and Uadezap service status.
  • PTT Flag Misuse: Setting the PTT flag incorrectly might affect how the audio is interpreted by the recipient app. Use true for voice messages and false for music/audio clips.

Links and References

Discussion