Actions4
- Voice Actions
- Zalo ZNS Notification Actions
Voice → Play Audio
AI-generatedSummary
Call a phone number and play a specified audio file during the call using Alohub's voice API.
Inputs
- Phone Number (required) — Recipient phone number to call.
- Audio Source (required) — Select whether the audio file to play comes from binary data from a previous node or a direct URL.
- Audio URL (required) — Direct URL link to the audio file (MP3, WAV, M4A) to play, required if URL source is selected.
- Binary Property (required) — Name of the binary property containing the audio file (MP3, WAV, M4A), required if Binary Data source is selected.
Output shape
a single JSON object with details of the API call including success status, HTTP status, transaction ID, resource, operation, and timestamp
If the API call fails, the output will contain success=false and include error code and message. The node throws an error unless "Continue On Fail" is enabled, in which case error info is added to the output. The audio file is either downloaded from the URL or retrieved from binary data and then sent as a multipart form-data POST request to Alohub.