Klaviyo and Yotpo Integration

  • 29 April 2021
  • 3 replies

Userlevel 2
Badge +2
  • Problem Solver II
  • 17 replies


We have a client on Klaviyo and we’d like to know how to send auto generated Klaviyo discount codes to customers when they purchase a product?  Is there a way, to insert a auto generated code in a Klaviyo post purchase flow that will first ask the customer for a review.  Then once the customer submits a review, second email will be sent which will include their on time use discount code from Klaviyo?

Thanks in advance everyone! 


Best answer by Bobi N. 29 April 2021, 09:55

View original

3 replies

Userlevel 6
Badge +34


Not sure what do you mean by auto generated codes, but all klaviyo flow codes are auto generated and dynamic. here is article on how to use codes

When it comes to sending code after submit of review it has to be 2 different flows.. so in post purchase you will ask for review and than another flow started when someone left a review, that is the only way you can send email immediately after someone leave a review.

If it is in the same flow it has to have time delay between emails and time delays are not dynamic. It can’t be set when someone leave a review but have to be static time like 1 day or 1 hour etc after previous email. And that wont work properly, that is why u need 2 different flows.

Userlevel 2
Badge +2

Nice, got it Bobi. Two flows. Makes total sense.

Badge +2

Hi MikeH,


I would like to kindly ask if you were able to create a custom metric “leaves a review” for a flow?

I just can’t figure out on how to do it :sweat_smile:


Thank you so much!