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 IntegrationKlaviyo 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 IntegrationKlaviyo Integration

Step 3: After you have added the correct API keys, Zinrelo will set up 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:

Klaviyo IntegrationKlaviyo Integration

  1. Segments can be created:

Example:
a) Points earned > 100

Klaviyo IntegrationKlaviyo Integration

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

Klaviyo IntegrationKlaviyo Integration

  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:

Klaviyo IntegrationKlaviyo Integration

How to create a flow on 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.

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.

Step 5: You want to award points to new subscriber, drag and drop 'Webhook.'

Webhook Configuration:

  1. Enter the destination url.
  1. In headers, add the API key and partner ID of your Zinrelo account. 
  2. Enter payload data (required parameters) in Jason format.
  1. Click on 'Done' and make the webhook live.

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

How to Design an Email

Step 1:

Klaviyo IntegrationKlaviyo Integration

Step 2:

Klaviyo IntegrationKlaviyo Integration

Step 3:

Klaviyo IntegrationKlaviyo Integration

Once configured, select live from the dropdown.

You can add a time delay between any two actions to set the sequence timing for all your actions.

Step 7: 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 }}
{{POINTS}}{{ event|lookup:'Points Current Activity' }}
{{NOTIFICATION_TEXT}}Congratulations! 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_URL}}Merchant website URL
{{UNSUBSCRIBE_TEXT}}If you'd like to unsubscribe and stop receiving these emails <a href="{% unsubscribe_link %}" target="_blank">click <span class="il">here</span></a>
{{LOYALTY_PROGRAM}}Name of the Loyalty Program
{{MERCHANT_NAME}}Name of the merchant
{{NEXT_LEVEL_NAME}}{{ event|lookup:'Current Tier' }}
{{POINTS_TO_BE_EXPIRED}}{{ person|lookup:'Points Available'|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' }}

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