Audio Action
Last updated
Last updated
This action will allow sound playback directly in user chat. You can add a sound file as an external URL or upload it to Xenioo storage.
The action uses the following settings:
From Url
The audio will be retrieved from the specified URL.
⛔
Audio URL
The fully qualified URL of the audio source
✅
Audio Title
The title of the audio
✅
Audio Author
The author of the audio
✅
Album Art
Url or Storage based source for the audio album art
✅
Background Art
Url or Storage based source for the audio background art
✅
Create Content Card
If enabled, Xenioo will automatically try to create a content card using as much information as possible of the above settings. Not all channels support content cards.
⛔
Embed in speech
If enabled, this flag will force Xenioo to enclose the audio source in a <audio> SSML tag.
⛔
When using speech embedding make sure to follow the Alexa guidelines for audio format.
This action has no triggers.
This action produces the following variables after being executed:
Variable
Description
current_audio_action
The unique id of the audio action being executed. This id is consumed by IoT actions to stop and resume streaming.
Channel specific availability follows the table below:
Channel
Availability
Audio will be by default embedded as attachments. Facebook 25MB limit will apply.
Provider Dependant. Please see relevant information.
Telegram
Fully Available without content card.
Web
Fully Available without content card.
Alexa
Fully Available.
Google Assistant
Fully Available.
Slack
Fully Available without content card.
API
Fully Available.
This action can be used only inside interactions and not as child of other actions.