In the call flow, put the various inputs into a collection and put a loop in with a count value of Count(collection). As it loops through each item of the collection, you use a GetAt(collection, loopcount) with the Audio tool to play each item as TTS. Let me know if you want more detail.
------------------------------
Robert Wakefield-Carl
ttec Digital
Sr. Director - Innovation Architects
Robert.WC@ttecdigital.comhttps://www.ttecDigital.comhttps://RobertWC.Blogspot.com------------------------------
Original Message:
Sent: 01-07-2025 19:09
From: Cordell Donovan
Subject: Data Action Loops
I am currently in the process of testing a Call Flow that calls a Data Action. Currently the flow will Collect Input and use that as the Input for the Data Action. I have set the Success Outputs for the responses I wish to provide back to the user. However, each of these variables have multiple responses. When I create an audio response I can either get the system to list out each response for each variable together in a string or I can select a specific response using [n] but I have been unable to determine how to loop through through the variable and have the system read back the matching responses for both variables based on the current loop index.
#API/Integrations
------------------------------
Cordell Donovan
IT Director
------------------------------