Klaviyo Integration

Learn how to integrate with your Email Service Provider- Klaviyo to send emails to your loyalty members at your convenience.

Klaviyo is an email marketing platform created for online businesses — featuring powerful email and SMS marketing automation. Zinrelo integrates with the platform to make it easier for Zinrelo users to structure their email marketing along with loyalty program details.

How can I integrate with Klaviyo?

Step 1: Navigate to the General → Apps section of Zinrelo admin console and select Klaviyo from the listing.

Klaviyo Integration

Step 2: Enter your Public API key and Private API key to sync data between two systems. If you are not sure where to find your API keys, please check Klaviyo API Key documentation.

Klaviyo Integration settings

Step 3: After you have added the correct API keys, Zinrelo will set up the integration.

📘

Note:

Write to your account manager at [email protected] to complete the integration.

So whenever a new member is enrolled in the loyalty program or there is any update in member’s profile data, Zinrelo will send over the information to Klaviyo.

Note: The integration does not automatically sync the historical data of users from Zinrelo. You can reach out to the Zinrelo support team for the historical data sync.

What are the benefits of this Integration?

  1. You can create segments of contacts based on the loyalty program data. Zinrelo sends over the following profile data and event data to Klaviyo:
First nameLast nameDate of Birth
User TierPhone numberPreferred Language
Referral CodeReferral URLReferred By
Referrer EmailPoints RedeemedPoints Available
Points ExpiredPoints EarnedEnrollment Date
Total Purchase ValueTotal RewardsTotal Purchases
Reward Points UsedRedeemed Reward CodeRedeemed Reward Name
Recent Activity CompletedPoints Current ActivityWinback Expiry Date
Current Tier
  1. Segments can be created:

Example:
a) Points earned > 100

list and segment

b) If $10 coupon was redeemed at least once:

setting rewards

  1. Zinrelo also pushes different loyalty events data to Klaviyo. These events are the triggers from Zinrelo which you can use to send out program-related emails. Here is the list of events:
EventTriggered when
Points EarnedTriggered when a member earns points for any activity in the program.
Account CreatedTriggered when a member enrolls in the loyalty program online.
Referral Friend InvitationTriggered when a member refers friends from the loyalty dashboard.
Referral Thank YouTriggered for a referrer as an acknowledgment for a referral done from the loyalty dashboard.
Referral Coupon AwardTriggered when a referred friend makes a purchase.
Rewards Within ReachTriggered for a group of members who have earned more than or equal to 80% of the points required to redeem a certain reward.
Default Coupon RewardTriggered when a member redeems a coupon-based reward.
Eligible RewardsTriggered for a member who has enough points to redeem any reward.
Winback AwardTriggered for a member who has been identified for the winback promotion.
Points ExpirationTriggered when a member's points are about to expire.
Tier UpgradeTriggered when a member upgrades to a higher tier.
Batch Customer CreatedTriggered when a member enrolls in the loyalty program via batch mode.
Referred Friend IncentiveTriggered when a non-loyalty user provides their email address in the friend referral popup.
Eligible Reward ListTriggered for a group of members who have enough points to redeem a reward.

How to create a flow in Klaviyo?

You can use Klaviyo to setup an automated sequence that can be activated by setting up a specific trigger. It can be done by creating a flow. Flows allow you to trigger an email or series of emails based on when someone joins a list.

For every program email that you want to send through Klaviyo, you need to create a corresponding flow.

Let's get started and understand how you can create a flow in Klaviyo.

Note: Two-step authentication is required to use Klaviyo webhooks. You must be a Manager, Admin, or Owner to enable two-step authentication as well as to add or edit webhooks. Know how to setup two-step authentication.

Let's assume, you want to create a flow to send welcome email to all new subscribers and award points to them.

Step 1: Click on Flows.

Step 2: Click on ''Create a Flow'. You can select from the list of flows available on the list. Or 'Create from Scratch'.

Click on ''Create from Scratch'.

Step 3: Name the flow.

create flow

Step 4: Select a trigger that sets an automated series in motion. You can set the trigger on the basis of a list, segments, metrics, and date property.

Go to 'Segments' and select a trigger. You can further filter it based on different conditions. Once selected, click on Done.

create flows

Step 5: Drag and drop the email. Click on the Edit button to design the email.

How to Design an Email

Step 6: Once the flow is set, Select the action status to live.

Which fields can be mapped within email templates?

ZinreloKlaviyo
USER NAME{{ first_name|default:''|title }} {{ last_name|default:''|title }}
USER TIER{{ person|lookup:"User Tier"|default:"" }}
POINTS{{ event|lookup:'Points Current Activity' }}
NOTIFICATION TEXTCongratulations! You have earned {{ event|lookup:'Points Current Activity' }} points for {{ event|lookup:'Recent Activity Completed' }}
BALANCE POINTS{{ person|lookup:'Points Available'|default:'' }}
POINTS REDEEMED{{ event|lookup:'Reward Points Used' }}
REWARD{{ event|lookup:'Redeemed Reward Name' }}
COUPON CODE{{ event|lookup:'Redeemed Reward Code' }}
REDEEMABLE POINTS{{ person|lookup:'Points Available' }}
MERCHANT WEB URLMerchant website URL
UNSUBSCRIBE TEXTIf you'd like to unsubscribe and stop receiving these emails <a href="{% unsubscribe_link %}" target="_blank">click <span class="il">here</span></a>
LOYALTY PROGRAMName of the Loyalty Program
MERCHANT NAMEName of the merchant
NEXT TIER NAME{{ event|lookup:'Current Tier' }}
POINTS TO BE EXPIRED{{ person|lookup:'Points Current Activity'|default:'' }}
EXPIRY DATE{{ person|lookup:'Event Points Expiry Date'|default:'' }}
BONUS POINTS{{ event|lookup:'Points Current Activity' }}
REJECTION NOTE{{ event|lookup:'Receipt Rejection Note' }}
RECEIPT UPLOAD DATE{{ event|lookup:'Receipt Submission Date' }}
REWARDS LIST{{ event|lookup:'Rewards List' }}
POINTS REMAINING{{ event|lookup:'Points Current Activity' }}
ENROLLMENT DATE{{ person|lookup:"Enrollment Date"|default:'' }}

Contact us at [email protected] for any further queries.