Hey!
I’m kinda new to Klaviyo, but I have some experience in different Ecomm marketing systems.
I want to generate a random value (for example: random code for coupon), that I can send out in email during the flow steps.
Is there any macro or something to do this, or do I have to use a 3rd party app like Make.com to get back the random value via API. It would be nice to not use any 3rd party app to do this, for a relatively easy task.
Thanks,
Greg.
Solved
Is there any way to generate random Profile Property value in flows Property update step?

Best answer by saulblum
Do the random strings need to be also saved back to some system? Do you have to ensure they are unique?
Or do you just need the ability to generate a random string of a certain length and include it in an email, and maybe save it to a profile property?
If the latter, you might be able to do some fancy django tagging, see e.g. https://stackoverflow.com/questions/10860984/random-string-in-django-template/10938877
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.