Hello Marty,
Developing Data actions is more developer level so this might question might be better suited for the developer forum.
But I believe the endpoint you might want to use is /api/v2/routing/queues/{queueId}.
Just be careful as I have seen many a customer who have implemented something like this and get rate limited very fast especially on high volume days. You can get an overview of our limits here.
To avoid the above situation you can also build your flows with resilience using the points marked out in this documentation.
As for developing a data action, specifically syntax I would go to the developer forums and look there.
Hope this helps.
Cheers,
------------------------------
Cameron Tomlin
Online Community Manager/Moderator
Genesys - Employees
------------------------------
Original Message:
Sent: 08-21-2024 10:28
From: Marty Hand
Subject: Architect Data Action to get count of interactions waiting by channel
Good morning,
I am looking for a solution to be able to perform a data action that will return the total number of interactions currently in queue for each channer (e.g. voice, message)
It would be best to be able to have the channel be an input so the action will return a single value and not an array.
Does anyone have experience building a data action like this? Any help is greatly appreciated.
Marty
#ArchitectureandDesign
------------------------------
Marty Hand
National Domestic Violence Hotline
------------------------------