Skip to main content
All CollectionsThird-Party IntegrationKlaviyo
Klaviyo flows: Sending reward notifications
Klaviyo flows: Sending reward notifications

Sample flows that are triggered when an Advocate makes a referral

Adam avatar
Written by Adam
Updated over a week ago

ReferralCandy sends out reward notification emails for pending, successful, and ineligible rewards. If you want to send the reward emails via Klaviyo, you can use ReferralCandy events and custom properties to set up your own reward notification flows.

Before you begin setting up flows, we recommend you first read the Klaviyo integration overview and ReferralCandy custom properties articles.

To learn more about flows, read Getting started with flows on the Klaviyo help center.


Reward notification flows

ReferralCandy sends an event to Klaviyo each time a purchase referred by an Advocate is detected, and when the reward is sent or disqualified.

Note: You must disable the Pending, Successful, and Ineligible Reward Emails in your ReferralCandy Email Settings to avoid sending duplicate emails to your contacts.

Reward pending

To send an email notification to an Advocate when a referred purchase is made through their link, you can replicate the following setup and make tweaks as needed.

  1. Trigger

    • Metric (API): RC - Purchase referred by profile detected

  2. Email

    • Draft your email content and insert custom properties. Use the short code you've set for your live campaign when using custom properties. Learn more

    • In the email editor, you can utilize the following event variables that are sent together with the event:

      • {{ event|lookup:'Campaign name' }}

      • {{ event.Currency }}

      • {{ event|lookup:'Purchase amount' }}

  3. End

Reward pending sample flow and template

Sample flow

Sample template


Great news {{ person|lookup:"RC FREN - Name"|default:'' }}, you referred someone!

Woohoo! Someone made a purchase of {{ event.Currency }}{{ event|lookup:'Purchase amount' }} through your link, which counts towards your reward. You'll receive another email once the purchase is verified and the required number of purchases have been made!

You only need to refer {{ person|lookup:'RC FREN - Referred purchase needed for next reward'|default:'' }} more friends to earn your next reward!

GET LINK*


*The GET LINK button block uses the link address: {{ person|lookup:'RC [Short code] - Portal link'|default:'' }}. Make sure to use your campaign short code.

Reward earned email

To send an email notification to an Advocate when they earn a reward, replicate the following setup and make tweaks as needed.

  1. Trigger

    • Metric (API): RC - Reward earned

  2. Email

    • Draft your email content and insert custom properties. Use the short code you've set for your live campaign when using custom properties. Learn more

    • In the email editor, you can utilize the following event variables that are sent together with the event:

      • {{ event|lookup:'Campaign name' }}

      • {{ event|lookup:'Date earned' }}

      • {{ event|lookup:'Reward type' }}

      • {{ event|lookup:'Coupon code'|default:'' }}

      • {{ event|lookup:'Coupon expiry date'|default:'' }}

      • {{ event|lookup:'Reward amount' }}

  3. End

Note: Event variables vary depending on which reward type is currently selected for your referral program. All those available to you should show up when you preview a profile.

Reward earned sample flow and template

Sample flow

Sample template


Thanks for the referral!

Awesome news. You've earned a reward for referring friends!


Here's your reward: {{ event|lookup:'Reward type' }} for a {{ event|lookup:'Reward amount' }} discount: {{ event|lookup:'Coupon code' }}

{{ event|lookup:'Reward type' }} expires on: {{ event|lookup:'Coupon expiry date'|format_date_string|date:'F d, o' }}.

REFER MORE FRIENDS*


*The REFER MORE FRIENDS button block uses the link address:

{{ person|lookup:'RC [Short code] - Portal link'|default:'' }}. Make sure to use your campaign short code.

Reward disqualified email

To send an email notification to an Advocate when their reward is ineligible, replicate the following setup and make tweaks as needed.

  1. Trigger

    • Metric (API): RC - Purchase referred by profile made ineligible

  2. Email

    • Draft your email content and insert custom properties. Use the short code you've set for your live campaign when using custom properties. Learn more

    • In the email editor, you can utilize the following event variables that are sent together with the event:

      • {{ event|lookup:'Campaign name' }}

      • {{ event.Reason }}

  3. End

Reward disqualified sample flow and template

Sample flow

Sample template


Sorry to let you know

We are sorry to let you know a recent purchase made by someone you referred has been disqualified for the following reason:

{{ event.Reason }}

Unfortunately that means it no longer counts towards a referral reward.

If you believe this might be an error, please feel free to contact us.

REFER MORE FRIENDS*


*The REFER MORE FRIENDS button block uses the link address:

{{ person|lookup:'RC [Short code] - Portal link'|default:'' }}. Make sure to use your campaign short code.


๐Ÿ’ฌ Need help? Click the chat widget on the right to start a conversation. Learn more


Did this answer your question?