Hi Richard,
thank you for your answer, we're going to look into this option. If we've this working we'll try to figure out to show this in the chatfields :).
Kind regards.
------------------------------
Gregyor Visser
Stater Nederland B.V.
------------------------------
Original Message:
Sent: 12-08-2023 08:00
From: Richard Chandler
Subject: In Queue position for Inbound Messages
Hi Gregyor,
To do this you would need to use a Data Action to check for Idle Agents. The GET /api/v2/routing/queues/{queueId}/members?routingStatus=IDLE&joined=true would be a simple choice. If you have 1 or more entries in the response you have Idle agents. If you have a blank response you have none. You could also set a page size to 1 and count the number of pages for a count. Based on the outcome you can then present a message as needed. You could also use the Estimated Wait Time instead of availability to simply state an expectation.
------------------------------
Richard Chandler
Connect
Original Message:
Sent: 12-08-2023 04:51
From: Gregyor Visser
Subject: In Queue position for Inbound Messages
Hi,
we are creating an inbound message flow. Before the message is queued to a queue we want to know if there is an agent available in the queue.
If there's no agent available we want to have a message in that there's no agent available. How can we create this in the Architect flow?
Regards,
Gregyor
#ArchitectureandDesign
------------------------------
Gregyor Visser
Stater Nederland B.V.
------------------------------