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.
------------------------------
Original Message:
Sent: 06-26-2021 17:24
From: Harry Holloway
Subject: Architect: Inbound flow that calls a mobile number randomly selected
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
------------------------------