Skip to main content
Contributor I
Jul 19, 2021 11:17 AM UTC
Solved

How can i generate random 3-figure numbers that's not repeating in a flow?

Thats the question, we want to create a riffle-lottery and we want to send the random numbers in the “confirmation order” flow

 

Thank you!

This topic has been closed for replies.
Dov
DovAnswer
Klaviyo Alum
Jul 19, 2021 2:45 PM UTC

Hi @rafgana,

Thanks for sharing this information with the Klaviyo Community.

While we don’t have a tag that will generate a random number, I recommend checking out our guide: Running a Contest or Giveaway Using Subscribe Pages. It has a great alternative method to run a raffle or giveaway-type of initiative using Klaviyo’s random sample feature of the list.

If you are not keeping track of these users in a specific list, you can create a segment of users who have placed an order in the last X amount of days and then create a random sample of 1 from the segment to select the winner.

Thanks and have a great rest of your day.

DD

1 reply

Dov
DovAnswer
Klaviyo Alum
Jul 19, 2021 2:45 PM UTC

Hi @rafgana,

Thanks for sharing this information with the Klaviyo Community.

While we don’t have a tag that will generate a random number, I recommend checking out our guide: Running a Contest or Giveaway Using Subscribe Pages. It has a great alternative method to run a raffle or giveaway-type of initiative using Klaviyo’s random sample feature of the list.

If you are not keeping track of these users in a specific list, you can create a segment of users who have placed an order in the last X amount of days and then create a random sample of 1 from the segment to select the winner.

Thanks and have a great rest of your day.

DD