absent-sapphire
absent-sapphire2y ago

Random music genre

I have a couple of audio files in my google sheets api that I want Alexa echo dot to play. After choosing a category she would play an audio from one of the audio slots in a column (randomly) (ex: column - Johnny talking clips, randomAudio - audio5). The gsa is linked to voiceflow with make.com.
4 Replies
Tico | Voiceflow Assistant
The Audio Step in Voiceflow allows you to add short audio files that are less than 240 seconds in length and up to 10mb to your voice assistants. You can add audio by directly uploading to Voiceflow on the 'Upload' tab, via drag & dropping the audio, or browse upload. To add randomness to your conversation design, you can add variation to your Audio Steps. This allows your assistant to randomly choose a variation or variant audio file in the Audio Step. To add a variant to the Audio Step, click the 'Add Variant' button in the editor's footer. If you have variants added to your Audio Step, one of the variants will be played at random when the step is hit in your assistant. At the Canvas-level, you can also preview your audio directly from the step. Just navigate & hover over to the note icon by the uploaded audio, and press Play. Once your variants are confirmed, you can also visually preview them from the Canvas-level. By default, your variants will nest under a preview modal with the dice icon appearing in the Audio step. In this modal, you can quickly edit the audio file sources or copy those hosted audio links, generated by Voiceflow. To instead display all the variants (as opposed to the preview view), you can change your Canvas Visibility setting under the settings icon (3) located to the left of the 'Add Variant' section in the Audio Step menu. You can toggle between 'Show preview' and 'Show all variants', while also setting which option you desire as the default for all your Audio steps on Canvas. Source: Audio Step
NiKo | Voiceflow
If you want to randomly fetch an audio link from your Google spreadsheet, you can do it using an API step to fetch the URL, map the audio URL into a variable and use this variable in the audio step.
ugly-tan
ugly-tan2y ago
Thanks @NiKo | Voiceflow. Is it still possible to play longer-form audio (~5 min) in the new voice assistant filetype and Alexa?

Did you find this page helpful?