Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Decision to offer something to for example every 5th caller

    Posted 01-15-2024 05:42
    No replies, thread closed.

    Hi, I would like to make a decision on the basis that every 5th caller who enters a queue is offered something. How can I do this?


    #ArchitectureandDesign

    ------------------------------
    Thomas Repking
    Canada Life Group Services Limited
    ------------------------------


  • 2.  RE: Decision to offer something to for example every 5th caller
    Best Answer

    Posted 01-15-2024 10:23
    No replies, thread closed.

    This has been discussed before (well, a similar requirement anyway!) and the answer depends on how strictly you want to adhere to "every 5th call" as well as your call volume.

    If you just need "20% of calls" then either use a random number, or base it on call arrival time (say if the last digit of seconds is 0 or 5). This will (should) result in 20% (or 1 in 5) overall.

    If you need it to be exactly every 5th, then if you have a (relatively) low call volume, you could keep a counter in a data table and query it and then set it using a Data Action. The problem with this is if you have a high (ish) volume, you can run into Race conditions. In that case, I would create an external web service that simply returns a Boolean (True on every 5th call, False otherwise) the create a Data Action which you can call from your Flow.

    HTH



    ------------------------------
    Paul Simpson
    Views expressed are my own and do not necessarily reflect those of my employer.
    ------------------------------



  • 3.  RE: Decision to offer something to for example every 5th caller

    Posted 01-15-2024 10:56
    No replies, thread closed.

    Thank you Paul, I think the random number was what I was looking for.



    ------------------------------
    Thomas Repking
    Canada Life Group Services Limited
    ------------------------------