We want to build voice survey flow and wanted to retrieve data and run a data action to store it as a participant data.
Is there any way to retrieve caller responses to ask question task to use it as an input to our data action? I can't find any ways and would like to double check here.
You can access the responses to your survey form through Slot Variable (for example Slot.Group1_Question1 would be default on the first question in your form) and depending on use case, you could create decisions on what to do with that data. Ultimately what you pass to your data action is dependent on your use case, but access to the data from the voice survey will come from accessing the expression Slot.<question_name>
In addition to using the Slot Variable, you can also make use of the expression GetSurveyQuestionAnswer() which can be used to extract the answer from the corresponding form, like so: