A place to ask questions, connect with others, and stay in the know
I want to check if an agent is available. If the agent is not available, check another group of agents. If none are available, play a waiting sound and create a callback.
We use a custom data action to check the on-queue agent count and go from there. We're basically doing what is outlined here: How to find the number of agents logged in with a queue? - Data Actions - Genesys Cloud Developer Forum
Seems a bit complex for your goal of Agent > Supervisor > Leader. Why not just Skill agents 5/5, then supervisors 3/5, leader 1/5 and use best available skills routing on the queue? Then you'd only have one queue + an in-queue flow that offers callbacks after your desired hold time.
Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources
Genesys empowers more than 7,500 organizations in over 100 countries to improve loyalty and business outcomes by creating the best experiences for customers and employees. Through Genesys Cloud, the #1 AI-powered experience orchestration platform, Genesys delivers the future of CX to organizations of all sizes so they can provide empathetic, personalized experience at scale. As the trusted, all-in-one platform born in the cloud, Genesys Cloud accelerates growth for organizations by enabling them to differentiate with the right customer experience at the right time, while driving stronger workforce engagement, efficiency and operational improvements.