Genesys Cloud - Main

 View Only
Discussion Thread View
  • 1.  Messaging and SMS in queue flow - How would I create a flow that checks if all agents are busy then send a response?

    Posted 10-08-2024 18:11

    We implemented new SMS and web messaging flows and I'm looking into adding a way for the flow to check for all agent's availability and if none are available send a response saying "all agents are busy right now" type of message.

    I'm still learning how to use Architect, and after doing some research, I've created a messaging queue flow. I started with a loop and used a Call Data action to check the specific queue. However, I'm having trouble formulating the correct expression to assess agent availability. Specifically, I want to check if the number of available agents is less than 1; if so, I'd like to trigger the response.

    Any guidance or examples on how to structure this flow and expression would be greatly appreciated, ty.


    #Routing(ACD/IVR)
    #SystemAdministration
    #CommunityVideos(TAM,QA,etc.)

    ------------------------------
    Jean Lam
    Vibrant Emotional Health
    ------------------------------


  • 2.  RE: Messaging and SMS in queue flow - How would I create a flow that checks if all agents are busy then send a response?

    Posted 10-09-2024 08:01
    Edited by Jan Heinonen 10-09-2024 08:01

    Hello Jean,

    Message In-Queue flows have 2 different "flows".

    Starting State is the flow that runs the first time the interaction enters the queue, and Recurring State runs after that in different intervals while the interaction is in queue.

    If your goal is to have a queue message while the interaction is in queue, you don't need to check for available agents as the flow will run while it stays in queue, and when an agent becomes available it will alert that agent.

    There are situations when you might wanna check this, for example to have a different message depending on On-Queue agents or number of interactions in queue.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------



  • 3.  RE: Messaging and SMS in queue flow - How would I create a flow that checks if all agents are busy then send a response?

    Posted 10-09-2024 10:09

    Hello Jan,

    My goal is for the flow to check if all agents are busy then send a response saying "all agents are busy". How do I accomplish this? Thx.



    ------------------------------
    Jean Lam
    Vibrant Emotional Health
    ------------------------------



  • 4.  RE: Messaging and SMS in queue flow - How would I create a flow that checks if all agents are busy then send a response?

    Posted 10-09-2024 10:50

    Hello Jean,

    As per Jan suggested, you can create an In-Queue Message flow and associated the same to 'Transfer to ACD' node in Inbound message flow. So whenever all agents are busy In-Queue message flow will accessed for queue treatment. Below is sample of simple In-Queue message flow.

    Best Regards



    ------------------------------
    Tibin Thomas
    ------------------------------



  • 5.  RE: Messaging and SMS in queue flow - How would I create a flow that checks if all agents are busy then send a response?

    Posted 10-09-2024 11:56

    Hi Tinbin,

    thank you for the example. Dumb question, how does the flow check for all agents busy and sends the call to the in queue flow?



    ------------------------------
    Jean Lam
    Vibrant Emotional Health
    ------------------------------



  • 6.  RE: Messaging and SMS in queue flow - How would I create a flow that checks if all agents are busy then send a response?

    GENESYS
    Posted 10-09-2024 12:46

    Essentially, the In-Queue flow gets called when the interaction does not immediately transfer to an agent. It does not transfer immediately to an agent because no agents ar3e available to take the interaction (hence, all agents are busy).

    So, if the In-Queue flow runs, you know by inference that all agents are busy.

    This is standard functionality for the ACD routing system, and how most everyone handles it - with a message in the In-Queue Message flow (whether for calls or messages).

    Can you elaborate a bit more on the exact behavior you want? Some customers avoid transferring to the queue in the first place if, say, no agents are On Queue. Others just look for agents who are Logged In and Active on the queue.

    What is your end goal?



    ------------------------------
    George Ganahl GCP, GCSME, ICCE, ICHD, etc.
    Senior Principal PS Consultant
    Genesys
    ------------------------------



  • 7.  RE: Messaging and SMS in queue flow - How would I create a flow that checks if all agents are busy then send a response?

    Posted 10-09-2024 13:21

    Hi George,

    This would be for a potential setup for handling web messaging failures. For instance, if the website hosting the chat goes down, we could implement an automatic response stating, "All agents are currently busy or unavailable."

    I realize there's more to consider regarding web failures, but I'm interested in exploring the options we have to keep visitors informed during these situations. 



    ------------------------------
    Jean Lam
    Vibrant Emotional Health
    ------------------------------



  • 8.  RE: Messaging and SMS in queue flow - How would I create a flow that checks if all agents are busy then send a response?

    Posted 10-10-2024 03:12

    Hi Jean,

    Not sure about the website failure, but you may have look on 'event handling' setting in flow builder to address the failures in flow.

    https://help.mypurecloud.com/articles/set-default-error-handling-behavior/

    https://help.mypurecloud.com/articles/failure-paths-architect/

    Best Regards



    ------------------------------
    Tibin Thomas
    ------------------------------



  • 9.  RE: Messaging and SMS in queue flow - How would I create a flow that checks if all agents are busy then send a response?
    Best Answer

    Posted 29 days ago

    Jean, you might want to look at this and maybe follow up on the developer forum. How do I implement an EWT for web chat? - Genesys Cloud Developer Forum



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



Need Help finding something?

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