Hi Vitalli,
Here is an option you can explore: In the flow where you are collecting the data from the customer (various points), set a Participant Data to tag the start of the collection, eg "DATA_COLLECTION", before the very first data collection in the IVR (for the value use "START" or "YES"). Then create the trigger on topic v2.detail.events.conversation.{id} attributes. In the trigger's filter, use the criteria to match this attribute ("DATA_COLLECTION"), and you can also add media as an additional filter.
In a workflow, use a new Data Action to check if the conversation is ended in a wait loop (wait 2 minutes or so), and when the Data Action returns, the conversation is ended, retrieve the collected data from Participant Data (I assume, the data collected will be stored in the Participant Data). After this, in the same workflow, you can call the Data Action for the external storage API to perform the update.
Also, you can delay the trigger start by up to 900 seconds.
Please let me know if this works for you.
------------------------------
Tatjana Knezevic
www.startelecom.cloudhttps://www.linkedin.com/company/star-telecom-www-startelecom-ca-/------------------------------