Random wait between two values

Describe the issue/error/question

Hello!
In some automation process, it is important to insert some delays (wait) on iteration between bot and users communication.

Today, we already have WAIT, but it can only accent an constant value.
I would like to random wait between two values. Ex: between 5 and 10 secons.

Is there any way of doing that?

Best regards

Try using an expression with Math.random. E.g.

{{ Math.floor(Math.random() * (10 - 5 + 1) + 5) }}

1 Like

Thanks Pemontto!
I wa trying with Math.random() function only. That’s way its was not working!

Regards!