Hi Team,
We have the following requirement and would really appreciate any insights or suggestions you may have.
If the direct (preferred) agent does not answer the callback in Queue A within the time defined in the Callback tab settings under Queue Configuration, the callback interaction should automatically be re-routed to Queue B.
Our Call Flow Overview:
- Incoming Call to Direct Agent Number
When a caller dials a direct agent number, the flow uses a Data Table lookup to capture the Agent ID associated with that number.
- Agent Presence and Status Check
Using the retrieved Agent ID, the system checks the agent's presence status:
- If the agent is On-Queue, the flow then checks the routing status.
- If the routing status is Interacting, it indicates that the direct agent is currently on another call.
- Callback Offer to the Caller
In this scenario, the flow routes the call to a reusable task that offers the caller a callback option.
- If the caller opts for a callback by pressing 1, the system proceeds to create a callback request.
- Callback Creation via API
The callback is created using the Genesys Cloud API
(/api/v2/conversations/callbacks) through a Data Action.
- The preferred Agent ID is passed in the request body template.
- The Queue ID is also provided as part of the request to determine where the callback should be placed.
- Callback Queuing and Handling
Once created, the callback:
- Sits in the specified queue A.
- Waits for the direct agent to come back On-Queue
- Fallback Routing
If the direct agent does not return to the queue within the configured timeout (defined under the Callback tab in the queue settings), the callback should automatically route to Queue B.
Need guidance on point number 6, If the direct agent does not answer the callback within the configured timeout in Queue A, the callback interaction should be routed to Queue B.
Many thanks,
Zeeshan
#Architect
------------------------------
Rizvi Zeeshan Haider
------------------------------