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
------------------------------