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.
------------------------------