I want make.com to select random text and use it!

I have a data that will get updated:

It’s “start_hour”: “10:01”,

I want the start hour to be random from 10:00 till 10:10

Sometimes it should be 10:01, 10:05, 10:02, etc

1 min increase or decrease.

How can I do it?

To get 0 - 10:

{{floor(random * 11)}}

To get 00 - 10:

{{replace("0" + floor(random * 11); "010"; 10)}}

2 Likes

Thank you so much @samliew

2 Likes

I tried to play around with it.

Below function is correct? {{floor(random * (10 - 5 + 1)) + 5}}

image