So in your workflow have a data action that uses /api/v2/analytics/conversations/details/query
That looks at the interval you are interested in (looking for when the first outbound call was likely taking place, like look back the last 3 days)
and have a segmentFilter on the outboundContactId
This will find the conversation, which will give you the conversation start time in UTC.
From there just an expression in the workflow AddHours(Flow.ConversationStartTime, X)
And from there call another data action to create the callback.
------------------------------
Anton Vroon
------------------------------
Original Message:
Sent: 11-22-2023 07:06
From: Mohannad haddad
Subject: How to schedule callback based on the first call time
Dear Anton
Thank u for response,
I have setup all this requirements even with workflow my concern is how I could during the workflow add amount of time for the first call and take this result and reflected on the callback action
------------------------------
Mohannad haddad
Fourth Dimension Systems LLC
Original Message:
Sent: 11-21-2023 18:19
From: Anton Vroon
Subject: How to schedule callback based on the first call time
If I am right in thinking what you are after, then if it is voicemail, just use an outbound flow, if it is for busy tone / no answer as well
Then what you could try, and might be a bit messy is to to have a wrap up rule for anything that isn't a live person, and call a data action from there.
Create a DataAction that calls a workflow, passing the contact id over (could maybe do this with a automation triggers instead)
Then in your workflow, do a detail query api call to find the conversation based on the contact id and within a time interval.
Once you have the conversation you can check the start time and call another data action to schedule the callback
If anyone else has any good option, keen to hear them.
------------------------------
Anton Vroon
Original Message:
Sent: 11-21-2023 16:34
From: Mohannad haddad
Subject: How to schedule callback based on the first call time
Dears
I'm running into a scenario where I have to run the campaign and schedule the call based on the below instruction:
1- Customer didn't answer the call then schedule call back should be after 4 hours from the first call
2- Customer didn't answer the second call then schedule call back should be after 24 hours from the first call
3- Customer didn't answer the third call then schedule call back should be after 2 hours from the first call
My point is I was relaying on campaign rule it wasn't meet the customer scenario, and I was thinking If could use the interaction details and fetch the date and base on that I would do some operation and update the callback time, could u please give me a hand on this
#ArchitectureandDesign
------------------------------
Mohannad haddad
Fourth Dimension Systems LLC
------------------------------