Skip to main content

How to Personalize Klaviyo Emails Using Lantern Quiz Responses

Written by Stefania

Personalized emails can make your quiz follow-ups more relevant to each customer. When Lantern sends quiz Property IDs to Klaviyo, you can use those profile properties to show different content based on a customer’s quiz responses.

There are two ways to personalize your Klaviyo emails:

  1. Personalize selected content within a single email using Show/hide logic.

  2. Send customers through separate flow paths using a Split.

We recommend using the first method when most of the email stays the same and the second method when customers should receive different emails, delays, or follow-up sequences.

Before you begin

Make sure that you have:

  • Connected your Lantern quiz to Klaviyo.

  • Assigned a Property ID to each Lantern question.

  • Completed enough test quiz submission so the Property IDs and answer values are all available in Klaviyo.

Method 1: Personalize content within a single email

Use this method when all recipients can receive the same email, but selected text, images, or sections should change according to their quiz responses.

In our example we’ll use a pet food quiz. Customers who selected Dog in the quiz can see dog-related content, while customers who selected Cat can see cat-related content.

Step 1: Add and personalize the first Text block

Drag a Text block into the email and enter your message. Place your cursor where you want the customer’s answer to appear, click the Personalization icon, then select the relevant Lantern Property ID.

In this example, enter Your dog’s name is, then select the dog_name property.
The result in the editor will look similar to:

Your dog’s name is dog_name

The dog_name property will appear as a personalization pill.

GIF showing how to add a Text block in Klaviyo, enter “Your dog’s name is” and insert the dog_name profile property using the Personalization menu.

Step 2: Add Show/hide logic

Select the Text block, then open the Display tab.
Under Show/hide logic, select Use logic builder.

Choose the dog_name Lantern Property ID, then select the condition that checks whether the property contains a value.

For example:

dog_name is set

This means the Text block will only appear for customers who provided a value for the dog_name property. If the customer skipped the dog name question or the property has no value, the block will not appear.

GIF showing how to use Klaviyo’s Show/hide logic builder to display a Text block when the dog_name Lantern property contains a value.

Step 3: Create the other content version

Duplicate the first Text block, then update the duplicate for customers who provided a cat’s name.

Change dog to cat, then click the dog_name personalization tag and select Change property. Replace it with the cat_name Lantern Property ID.

GIF showing how to duplicate the Dog Text block in Klaviyo, change the message for a cat, and replace the dog_name personalization property with cat_name.

Next, open the Display tab and update the Show/hide logic. Configure the Cat Text block to appear when both of the following conditions are met:

dog_name is not set AND cat_name is set

This ensures that Klaviyo displays the Dog Text block first when a dog name is available. If no dog name is available, it displays the Cat Text block when a cat name is available.

You will now have two personalized Text blocks:

  • Dog Text block: shown when dog_name is set

  • Cat Text block: shown when dog_name is not set and cat_name is set

Although both blocks are visible while editing the email, only the matching block will appear in the sent email.

GIF showing how to configure the Cat Text block to appear when dog_name is not set and cat_name is set.

Step 4: Preview and test the email

Click Preview to confirm that the personalization property displays the correct value and that only the matching Text block appears.
You can also enter an email address and click Send test to review the email in your inbox.

Image showing Klaviyo’s Preview mode displaying a personalized dog name, with options to enter an email address and send a test email.

Note: If both blocks appear or neither block appears, review the Show/hide conditions and confirm that the preview data contains the expected property values.

Different ways to personalize email content

Show different text

Add a separate Text block for each message, then use Show/hide logic to control which version appears.

For the Dog version, add:

Thank you for taking our quiz!

We’ve compiled product recommendations for your dog based on your responses, with 50% off select items.

Set it to appear when:

pet_type equals Dog

GIF showing how to create and format a Dog Text block in Klaviyo and display it when the pet_type property equals Dog.

Duplicate the block, update the message for cats, then change the condition to:

pet_type equals Cat

Image showing a Cat Text block in Klaviyo configured to appear when the pet_type property equals Cat.

Note: Replace pet_type, Dog, and Cat with the Property ID and answer values used in your Lantern quiz.

Show different images

Add an Image block, then select or upload the image you want to display for customers who selected Dog.

Set the Image block to appear when:

pet_type equals Dog

GIF showing how to add a Dog image in Klaviyo and display it when the pet_type property equals Dog.

Duplicate the Image block, replace the image with the Cat version, then update its Show/hide condition to:

pet_type equals Cat

Image showing a Cat Image block in Klaviyo with Show/hide logic set to display when the pet_type property equals Cat.

You can upload an image, select one from your Klaviyo image library, or import an image using its URL.

Personalize other blocks or sections

You can apply the same Show/hide logic to other supported blocks and complete sections.

When an image, heading, text, and button should change together, duplicate the entire section and apply a different condition to each version.

GIF showing how to duplicate a conditional Cat section in Klaviyo, update its content and Show/hide logic for Dog customers, then preview the email to confirm that only the matching section appears.

This is easier than configuring each block inside the section separately. Klaviyo supports Show/hide logic at both the block and section level.

Method 2: Create separate flow paths using a Split

Use this method when customers should receive different emails or follow different sequences based on their Lantern quiz responses.

Step 1: Create or open a flow

Navigate to the Flows tab in Klaviyo and create a new flow or edit an existing one.

GIF showing how to create a new flow in Klaviyo from the Flows tab.

When creating a new flow, go to Select your triggers → Your metrics → API, then select Completed Lantern Quiz (v2) followed by the slug of the quiz you want to use.

Keep Allow re-entry selected if you want customers to enter the flow again whenever they retake the quiz.

GIF showing how to select the Completed Lantern Quiz (v2) metric for a specific Lantern quiz and keep Allow re-entry selected.

Step 2: Add a Split

From the Logic section, drag the Split action into the flow where you want to create separate customer paths.

GIF showing how to drag the Split action from the Logic panel into a Klaviyo flow.

Step 3: Define the paths

Select Add path criteria, then choose Properties about someone and select the relevant Lantern Property ID.

For the first path, set:

pet_type equals Dog

GIF showing how to add the first path in a Klaviyo Split and configure it using Properties about someone with pet_type equal to Dog.

Select Add path, then create another path for:

pet_type equals Cat

Image showing a Klaviyo Split with separate Dog and Cat paths and an Everyone else path, with the Cat path configured using pet_type equal to Cat.

Klaviyo automatically includes an Everyone else path for customers who do not match either condition.

Klaviyo checks the paths in order and sends each customer through the first path whose criteria they match.

Step 4: Customize each path

Add an email or another flow action under each path, then customize it for that group.

You can use a saved email template or customize a new email for that path.

  • Dog path: Add content for dog owners.

  • Cat path: Add content for cat owners.

  • Everyone else: Add general content or leave the path without an action.

GIF showing how to add and customize different email content under each path in a Klaviyo Split.

Did this answer your question?