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