All Collections
Integrations
Klaviyo Integration
Introducing Event Variables for Klaviyo Flows
Introducing Event Variables for Klaviyo Flows

This guide will outline what event variables are and which ones we recommend using to personalize your clients' Klaviyo flows.

Kyle Panganiban avatar
Written by Kyle Panganiban
Updated over a week ago

This document can be considered the 3rd step in including data-driven product offers in your clients' Klaviyo emails. If you'd like to review the previous steps or move to the next steps after reading through this entire document, check out these help docs:

After completing this step and eventually adding personalized upsells and cross-sells to your clients' Klaviyo flows, you can expect to:

  • Increase AOV and revenue with targeted upsells πŸ“ˆ

  • Maximize conversions through timely cross-sells that excite customers πŸ’°

  • Surface relevant offers for repeat customers to boost customer lifetime value πŸš€


What are event variables?

Klaviyo's event variables are the relevant details about a particular event that have been sent to Klaviyo from a third-party platform (Rebuy in this case). In Klaviyo, the relevant data is stored as "event variables" and includes all of the information associated with an action a customer took.

You can use event variables to input any recommended product data you'd like to include in your Klaviyo flow, from Rebuy. This includes product images, the link to the product, the product title, and more.

To learn more about how to use event variables in Klaviyo to further personalize flows, read Klaviyo's help documentation on the subject.

Accessing and managing event variables

Similar to how your client might leverage event variables to create an Abandoned Cart email in Klaviyo, you can now use event variables to include Rebuy product recommendations, or an alternative way to direct customer to a Rebuy Reorder Landing Page in Klaviyo emails. Using Klaviyo's event variables, any recommended product data can be input into your clients' Klaviyo flows, including the designated product image, the link to the product, and the product title.

Once you've enabled the Klaviyo events integration in Rebuy, the event variables for product recommendations will be able to be viewed, included, and previewed in your clients' emails.

Read Klaviyo's help documentation for where to find event variables in your clients' email flows.

Alternatively, these event variables can be viewed directly in the Rebuy dashboard by navigating to the Klaviyo Events integration tab. After clicking into the tab, select the Klaviyo event you wish to see the variables for, and then click Object.

Common Rebuy variables used in Klaviyo emails

There are hundreds of different Klaviyo event variables that your clients can leverage to personalize their emails, but we want to make it easy for you to know which ones to focus on. Listed below are the most common event variables that you may want to use to surface Rebuy product recommendations in your clients' Klaviyo emails:

Recommendation Variables

Description

{{ event.rebuy_recommendations_1.data.0.image.src }}

Image of the first product recommendation.

Replace the "0" after data. to change the product referenced.

{{ event.rebuy_recommendations_1.data.0.link }}

URL for first product recommendation. Replace the "0" after data. to change the product referenced.

{{ event.rebuy_recommendations_1.data.0.title }}

The Product Name (Text) of the first product recommendation.

Replace the "0" after data. to change the product referenced.

{{ event.rebuy_recommendations_1.data.0.variants.0.price }}

The Product Price (Text) of the first product recommendation.

Replace the "0" after data. to change the product referenced.

{{ event.rebuy_reorder_landing_page }}

A link to the Rebuy Reorder Landing page for the customer's order.

Additionally, client emails can display information specific to a customer's previous order. Here are some common event variables that you may want to reference:

Order Variables

Description

{{ event.rebuy_shopify_order.customer.default_address.first_name }}

Customer's first name.

{{ event.rebuy_shopify_order.line_items.0.product_json.images.0.src }}

The Image of the first product in the order. Replace the "0" after line_items. to change the product referenced.

{{ event.rebuy_shopify_order.line_items.0.product_json.link }}

The URL for First Product in Order. Replace the "0" after line_items. to change the product referenced.

{{ event.rebuy_shopify_order.line_items.0.name }}

The Product Name (Text) of the first product in the order.

Replace the "0" after line_items. to change the product referenced.

{{ event.rebuy_shopify_order.line_items.0.price }}

The Product Price (Text) of the first product in the order.

Replace the "0" after line_items. to change the product referenced.

{{ event.rebuy_shopify_order.line_items.0.quantity }}

The Quantity Purchased (Text) of the first product in the order.

Replace the "0" after line_items. to change the product referenced.

What's next?

After you've identified which event variables you'd like to use, you're ready to build your clients' Klaviyo emails with Rebuy upsells and cross-sells! Click here to read the next help document and learn about dynamic tables and blocks to include personalized offers in your clients' emails.

Good news, the Rebuy integration for Klaviyo doesn't stop here! We have 2 other integration features that you should check out:

Looking for a compiled list of all the Klaviyo integration help docs? We got you 🀝

If you have any questions about event variables, give us a shout! We're here to help and want to ensure your clients are getting the most out of their integration experience.

Did this answer your question?