Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Architect: Inbound flow that calls a mobile number randomly selected

    Posted 06-26-2021 17:25
    No replies, thread closed.
    I am trying to create an inbound flow that calls a mobile number using a predefined list of numbers but I require the mobile number that the calls is diverted to, to get selected at random but there isn't a random function in the list of expressions available.

    Trying to achieve the below:
    • Inbound flow > transfer to external number (choosing a mobile number at random from a list).
    Does anyone have any ideas of creating and achieving this kind of flow?

    Thank you.
    #Routing(ACD/IVR)

    ------------------------------
    Harry H

    ------------------------------


  • 2.  RE: Architect: Inbound flow that calls a mobile number randomly selected

    Posted 06-27-2021 21:40
    No replies, thread closed.
    Hi Harry,

    How you do this depends on the level of randomness you require and the number of mobiles in the list. We have achieved something similar by using the data tables for an on call roster situation. The data tables store the mobile numbers and then Architect is used to identify which numbers match your criteria. Because there is no actual randomiser we implemented a string value that stores the matches in a list, then increments through the last for each call. When it gets to the end of the list it reverts to the start again. Hope this helps.

    ------------------------------
    Gareth James
    CALLSCAN AUSTRALIA PTY. LTD.
    ------------------------------



  • 3.  RE: Architect: Inbound flow that calls a mobile number randomly selected

    Posted 06-27-2021 23:05
    No replies, thread closed.
    The other way people have achieved a "random" number is to get the current time, and look at the last digits of the seconds.  So you'd get a roughly random number between 0-9.  That works fine if you've got 10 items you want to have in your random target list.

    ------------------------------
    Vaun Mccarthy
    NTT New Zealand Limited
    ------------------------------



  • 4.  RE: Architect: Inbound flow that calls a mobile number randomly selected

    Posted 06-28-2021 14:13
    No replies, thread closed.
    I did similar thing in my in queue flow to call a random number in a data table.

    ToString(Second(GetCurrentDateTimeUtc())%Task.tableCount+1)

    I have a data action to get number of record in the data table => Task.tableCount

    ------------------------------
    Edward Wu
    BANK OF HAWAII
    ------------------------------



  • 5.  RE: Architect: Inbound flow that calls a mobile number randomly selected

    Posted 06-29-2021 15:08
    No replies, thread closed.
    I have an idea on AHA site for this.  Vote it up.  I use a data action I wrote to random.org where I can specify the rand and number of replies.

    ------------------------------
    Robert Wakefield-Carl
    Avtex Solutions, LLC
    Contact Center Innovation Architect
    robertwc@avtex.com
    https://www.Avtex.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 6.  RE: Architect: Inbound flow that calls a mobile number randomly selected

    Posted 06-28-2021 07:48
      |   view attached
    No replies, thread closed.
    Hi Harry,

    I had a similar challenge, my customer wanted to use  math.random function to get random number in the range 1-10, as you know you can't use that direct from architect so I created  new data action thats point to Integromat (IFTT application ) 

    My Data action is blank Get request to webhook on integromat, on Integromat I created new scenario (prtsc below ), on module "set variable" as easy as possible put variable value {{floor(random * 10) + 1}} and that's all, you can call on IVR that Data Action and receive random number for inbound interaction.





    ------------------------------
    Dawid Kacprzak
    Cludo Sp. z o.o.
    ------------------------------