Skip to main content
Set up a Klaviyo flow
Wendy avatar
Written by Wendy
Updated over a week ago

Quiz information is sent over to Klaviyo with several events. The key event that we will use to create the email flow is the Completed lantern quiz (v2) followed by your quiz name.

In this example, our quiz name is Lantern Product Finder Quiz so the event can be found under the name of Completed lantern quiz (v2)- lantern product finder quiz

The event contains arrays with both product recommendations as well as question and answer information that we can use to create dynamic email templates.

Step1: Create a new flow

To get started, from your Klaviyo homepage, head over to Flows on the left-hand side menu.

Next, from the top right-hand side corner click Create flow, followed by Create from scratch and give your flow a name.

Step 2: Select a trigger

On the right-hand side of your new flow you’ll find the Select a trigger section. Go to Your Metrics tab and select API.

This will open up a list of all available events, including events for other active Lantern quizzes. Go through this list until you find the correct Completed lantern quiz (v2) event and select this as your trigger.

Then click Save followed by Confirm and save inside the pop-up.

Step3: Add an email

From the left-hand side menu, under Actions select the Email option and drag and drop this underneath your flow trigger making sure to connect them. Then click Set up email and add an email title.

From here you can also configure optional settings such as preview text, the email sender address, UTM tracking as well as add additional filters to control who receives the email.

Step4: Set up your email template

To start click Select template and either choose from one of the available presets or Create a blank email by clicking this option in the top right-hand corner.

In this example, we opted to create a blank email but the method is the same if using an existing template.

In the following video, you can see exactly how to set up your quiz results section using custom properties:

Below is a complete list of the properties used so you can copy and paste them into Klaviyo.

Row collection: event.products
Row collection limited to 3 products: event.products|slice:'3'
Row alias: product
Product title: {{ product.title }}
Product price: {{ product.price.amount }}
Product price with 2 decimals: {{ product.price.amount|floatformat:2 }}
Product image: {{ product.image }}
Product URL/Link: {{ product.url }}

Others:

Product price currency: {{ product.price.currency }}

If you prefer a written step-by-step guide to setting up this section, please check out the following article on how to add Product Recommendations in Klaviyo E-mails.

If you are interested in How to add quiz question and answers in Klaviyo E-mails please check our article here.

To learn more about how to use flows in Klaviyo check out the following article.

Did this answer your question?