Audio export bucket - how is the filename constructed

Hello everyone

We're using dialogflow cx for a call bot. For each turn of the conversation, we want to load the exported audio from the dialogflow bucket and display it in a frontend along with input text and other information related to the conversation. How can we derive the name of the audio recording stored in the bucket especially timestamp like part at the end?

 

Thanks

0 1 47
1 REPLY 1

Hi,

So when you call the DetectIntent endpoint with the option to get the audio, you will have the user id and session id so you can store the bucket accordingly with all the required metadata. Please take a look at this example: https://cloud.google.com/dialogflow/cx/docs/how/detect-intent-stream#detect-intent-tts-nodejs

Best,

Xavi