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

  • 19 July 2021
  • 1 reply

Badge +2

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!


Best answer by Dov 19 July 2021, 16:45

View original

1 reply

Userlevel 7
Badge +61

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.