Playing an audio file when using Fulfillment with DialogueFlow

Viewed 451

I'm editing the Cloud Functions for Firebase on the Fulfillment page on DialogFlow. I'm trying to respond to an Intent with an audio file playback. Specifically I'm targeting the Telephony integration.

I understand that a text message like

<speak><audio src="https://actions.google.com/sounds/v1/alarms/bugle_tune.ogg"></audio></speak>

Should play the audio.
But what is the interface to send it back so it would work?

Just using agent.add() doesn't seem to work (it reads the SSML string outloud)

1 Answers
Related