Octane AI's Klaviyo integration creates an event in Klaviyo whenever someone completes an Octane AI quiz after submitting their email. This lets you use event variables when creating email templates in Klaviyo that let you show dynamic content based on a subscriber's results in their quiz.

Table of Contents

1. The 'Quiz Completed' Event

2. Klaviyo Event Variables

2.1. Creating Content with Event Variables

2.2. Using the Shareable Results Page URL

This feature is currently available on Octane AI's Pioneer & Enterprise plans. To learn more, contact our support team.

1. The 'Quiz Completed' Event

When someone completes an Octane AI quiz after submitting their email through Octane AI, an event will be recorded in their Klaviyo profile as long as the Klaviyo integration has been set up in your Octane AI account.

What this event allows you to do is personalize email templates and flows based on someone's exact product recommendations in your quiz.

This means you can create a single email template that emails someone the very same results they received when they took your quiz.

This is done through data stored in the 'quiz completed' event Octane AI sends Klaviyo as event variables, which can then be added to emails to represent the dynamic data that comes with each quiz completion.

As an example, you could use this to turn a simple template:

Into a personalized email that matches the results someone received when they took your quiz:

The next section will give a quick overview of how event variables can be used to create emails like the example above.

Back to top.

2. Klaviyo Event Variables

Event variables are used in Klaviyo to reference metadata sent in events created by integrations like Octane AI. Essentially, this means event variables are bits of code you can use to display content stored in the 'quiz completed' event Octane AI sends into a Klaviyo profile.

Each of the variables below represents a piece of data from each product included in your quiz recommendations.


Event variable





Store URL












Results Page URL

quiz results URL

When an event variable is added to Klaviyo emails with the correct formatting, the data that the variable represents will be shown in the email.

In the example below, the top piece of code represents the name of the product, while the bottom line of code will show the price of the same product.

Using the same line of code but with different event variables in additional content blocks around this one, you can add the matching product image and product page URL and create dynamic, interactable product entries in your emails.

2.1. Creating Content with Event Variables

Event variables can be used with HTML and CSS code added into email content, like text or image blocks. As long as the formatting is compatible, the event variable will turn from a piece of code in the block to the data it represents.

Luckily, getting event variables in the correct code format can be done while editing an email in Klaviyo.

You'll also find code examples you can use as a reference or copy/paste in this in-depth guide on event variables.

2.2. Using the Shareable Results Page URL

Quiz events for Pioneer & Enterprise users will also include a shareable results page URL. This URL will link to a snapshot of the results page someone received when they completed your quiz.

This does mean any changes made afterwords to the result won't be reflected in the specific link that someone receives.

You can insert this dynamic link into any Klaviyo content block using the following code:

Dynamic results page link

{{ event|lookup:'quiz results URL' }}

Here's a quick look at what a dynamic email would look for a recipient:

Back to top.

Have any questions? Send an email to [email protected] or use the support icon to chat with our team.

Did this answer your question?