Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Loop - Checking Available agents

    Posted 08-06-2024 22:29

    Hello Community.

    I want to know if someone could help me set up a loop where keeps checking the available agents on a specific queue when the agents are on a call.
    NOTE: already have the Action bringing me up the list, the script presenting the list.
    I just need to create the loop, so will validates the information in real time.

    Regards


    #ArchitectureandDesign

    ------------------------------
    Gabriel Goncalves
    Peter Warren Automotive Holdings Ltd
    ------------------------------


  • 2.  RE: Loop - Checking Available agents

    GENESYS
    Posted 08-07-2024 14:00

    Hello Gabriel, 

    I wouldn't recommend a loop as you may run the risk of getting rate limited, especially most of our endpoints are asynchronous.  

    But notifications through a web-socket are real time, you can do AWS Event bridge and get fed the v2.users.{id}.activity notification from our developer center.

    But if you need to run a loop you can use the loop action described here

    Hope this helps!

    Cheers, 



    ------------------------------
    Cameron Tomlin
    Online Community Manager/Moderator
    Genesys - Employees
    ------------------------------



  • 3.  RE: Loop - Checking Available agents

    Posted 08-07-2024 16:21

    Hi Gabriel

    Can you please break this down with the use case here?  What is it that you or agents do with the info within the script?  There may be another way to skin the proverbial cat.



    ------------------------------
    Vaun McCarthy
    ------------------------------



  • 4.  RE: Loop - Checking Available agents

    Posted 08-07-2024 17:55

    Hello Guys.
    I appreciate that Cameron and Vaun
    I will have some look at this notifications.

    @Vaun McCarthy, The idea is give the agents one platform (Scripting page) where they can consult basic things, such as agents availability (so they can transfers calls, in case needs for). The less pages they use/swap better would be.

    So, I have an Data Action bringing the list of available agents, but its static once it reads. However, calls can last for long - so that's what I would like to achieve, this real-time list.

    I know we have the dashboard but its a big list and sits on a different page.



    ------------------------------
    Gabriel Goncalves
    Peter Warren Automotive Holdings Ltd
    ------------------------------



  • 5.  RE: Loop - Checking Available agents
    Best Answer

    Posted 08-07-2024 18:16

    Another way of doing this is having a drop down list of queues.  When the selection changes, have the action for the change be to call a data action to gather status for that queue and then update the text fields accordingly.  So the agent just needs to select which queue they want to transfer to at the time, and it will bring back the "current" values.



    ------------------------------
    Vaun McCarthy
    ------------------------------



  • 6.  RE: Loop - Checking Available agents

    Posted 08-07-2024 19:46

    Makes sense.
    Do you know how could I implement this ?

    Maybe some documentation that I could take a look...



    ------------------------------
    Gabriel Goncalves
    Peter Warren Automotive Holdings Ltd
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources