We are building a Refer a Friend program using a combination of Shopify, Jotform, Zapier, and Klaviyo. We are at the point where we need to send a reward code (via Klaviyo) to the referrer once the referee has made their first purchase. We have the referrer’s email address set up to be added to the referee’s Klaviyo profile as a custom property (from Jotform to Klaviyo via Zapier). What we can’t figure out is how to pull the referrer’s email address from the referee’s custom profile property in order to trigger the reward email to the referrer. Any ideas?
Hello
Great setup so far!
In my experience from working with others who have built their own referral program, I believe the missing key here is an additional custom event.
Essentially, once the referee has completed a purchase, you’ll want to trigger an event on the referrer’s profile. This would allow you to trigger a flow and email offering the discount code to them.
This is actually how a lot of other referral programs function. It may help to also checkout third-party referral programs that have a direct integration with Klaviyo to get an understanding of how their programs work. You can find a list of these integrations from our Tech Partner Directory and filter by Referral Programs.
I hope this helps!
David
Thank you,
Followup question,
Hey
Glad you’re making headway in this!
Overall, this should still work the way you intended it to.
However, you’ll want to take into consideration how coupons function in Klaviyo. Unique coupon codes are stored in Klaviyo until they expire. This means that if a referee was put into a flow three times because their three referrals placed an order around the same time, the discount code pulled into the email would be the same all three times. Only when the original - first issued discount code expired would a new discount code be issued.
One way to resolve this though would be to include conditional splits in your flow to count how many referral orders were completed. This way, you can issue a new discount code (with a different coupon syntax) down each flow branch that corresponds with the number of referrals that completed their orders.
David
Thanks,
Reply
Log in to the Community
Use your Klaviyo credentials
Log in with Klaviyo
Use your Klaviyo credentials
Log in with KlaviyoEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.