This guide will show you the basic steps for creating a quiz that can be triggered on quiz completion, and create dynamic content based on a customer's answers or product recommendations.
π‘ What you'll learn
What to know about creating a flow for quiz results (jump to section)
Creating a quiz completion flow (jump to section)
Previewing quiz data in your flow (jump to section)
Adding in a quiz results URL (jump to section)
β
π‘ Prerequisites
Before creating any flows or segments in Klaviyo, make sure your data has been verified first.
Octane Plus is required to create the type of flow described in this article. Use the list-based flow described in this guide if you're on the base plan.
β
Follow along with the video above or the steps below.
We recommend Segment flows if you're on the Octane plan.
We recommend Metric flows if you're on the Octane Plus plan.
What to know about creating a flow for quiz results
In order to insert product data into a Klaviyo flow, these requirements must be met:
The flow must be a metric flow.
The flow must be triggered by the specific quiz's completion event.
Quiz data must be synced at least once.
Any other type of flow will not be able to dynamically access customers' quiz results.
Creating a quiz completion flow
Before following the steps below, make sure you've synced your quiz's data into Klaviyo at least once. This can be done manually, or by submitting an opt-in through a published quiz.
π Creating a metric flow
Start from the Flows page in Klaviyo and click on Create flow.
Select Create From Scratch.
Name your flow then click on "Create flow".
Under Select a trigger, click on the "All triggers" tab.
Select Metric.
In the list of triggers, select the quiz completed metric connected to your quiz.
Save the trigger (you can add trigger or flow filters later).
This flow will now enter customers whenever the quiz completed event that you selected appears in someone's profile.
Previewing quiz data in your flow
Knowing how to preview quiz data is an important part of working with Klaviyo's dynamic content features.
π Previewing quiz data
In your new metric flow, drag-and-drop an email into the flow.
Open the email in the email editor, either with a template or as a blank email.
Click on Preview & test in the top right section of the editor.
On the right side of the preview, data from quiz opt-ins will be displayed under Preview Event Info.
The preview area will let you preview dynamic content using quiz data, but also will let you instantly access the dynamic variables needed to customize emails with quiz data.
In the next section, you'll use this preview area to grab the variable to dynamically insert a link back to someone's results page.
Adding a quiz results URL
Quiz completions will also generate a link to a customer's result page, which can be inserted into any Klaviyo email.
π Adding a quiz results URL
In the email preview, scroll down under Preview Event Info.
Locate the quiz results URL variable.
Hover over quiz results URL and click to copy the variable.
Go back to your email and paste the code that you copied.
You can also use the codes listed below to add a quiz results URL. You can use the custom property version outside of metric flows but the event variable can only be added inside of metric flows.
Data type | Flow type | Dynamic variable |
Custom property | All flows |
|
Event variable | Metric flows |
|