How to randomize the flow?

How can I randomize the next action in the flow?

I would like either he randomly decides to go on facebook
or go to twitter

Thank you for your answers

Hi @Quentin_B ,
You could use the random function to create some random number between 0-1 and then based on the number you get, you can setup the filters in your route (above 0.5 and below 0.5 for example).


Great I found yes, but now Iā€™m trying to randomize between 1 and 3
Can you help me ?

I think I found this:

{{floor(random * 3) + 1}}

1 Like