Original Message:
Sent: 11-10-2025 19:09
From: Vidhu Narayanan
Subject: Get online agent count
Let me try to explain the business case in a better way.
There are 4 agents in the queue.
The call must go to the queue ONLY if at least one of the agents is on queue and is in one of the routing statuses "IDLE", "INTERACTING", "COMMUNICATING".
If the above criteria does not satisfy, send the call to an external mobile number without waiting in the queue.
Similarly, if the call alerts an agent and if the agent does not answer the call for whatever reason, send the call immediately to the external mobile number (if no other agent is available to receive the call)
@Eystein Kylland @Brian Jones @Christoph Domaschke I have tried my best to explain the scenario and what the business ask is. The data action that I'm using isn't working as expected. It considers "NOT RESPONDING" status to be on queue and retains the call instead of sending the call to the external number.
I think I have confused you all enough :)
------------------------------
Vidhu Narayanan
x
Original Message:
Sent: 11-10-2025 02:45
From: Christoph Domaschke
Subject: Get online agent count
Hi Vidhu,
I would suggest
/api/v2/routing/queues/${input.queueId}/members?presence=ON%20queue&joined=true
in case your agents can be logged out from a queue. Without "&joined=true" the Api only checks if the agent that is member of this queue is "on queue" but not, if he is online in that specific queue.
Best regards
Christoph
------------------------------
Christoph Domaschke
Produktmanager Kunden-Dialog-Center
Original Message:
Sent: 11-09-2025 19:58
From: Vidhu Narayanan
Subject: Get online agent count
Hi, I have a requirement where I need to send calls to a queue only when there are agents on queue and available to take ACD calls. They must be on queue and their routing status can be either Idle, Interacting or Communicating. I want to know which API I can use to fulfil my requirement.
Thx,
Vidhu
#PlatformAPI
------------------------------
Vidhu Narayanan
x
------------------------------