LogoLogo
  • Introduction
    • Quiz Kit - AI Powered Quizzes for Shopify Stores
    • What's new
      • Release notes
        • V9.2024 - September
        • V7.2024 - July 2024
        • V6.2024 - June 2024
        • V5.2024 - May 2024
  • Getting started
    • Installation
    • Pricing and plans
    • Onboarding guide
  • Navigating the Interface
  • Build and configure
    • Building a quiz
      • Collecting customer contact information
    • Styling and customizing your quiz
      • Applying custom CSS and JavaScript to your quizzes
    • Setting up quiz results
      • Results logic
        • Basic logic (default)
        • Single logic
        • Points logic
        • Product weight logic
        • Result weight logic
        • Combination logic
        • Creating logic jumps
      • Results template
    • Publishing your quiz
      • Publishing on page builder apps or headless setups
    • Integrations
      • Shopify
        • Shopify Subscriptions
        • Shopify Flow
        • Shopify Customers List
        • Shopify Checkout UI
        • Shopify Markets
      • Email and SMS
        • Klaviyo
        • Mailchimp
        • Omnisend
        • Attentive
        • ActiveCampaign
        • Sendlane
      • Subscriptions
        • Recharge
        • Smartrr
        • Skio
      • Marketing automation
        • Yotpo
        • PageFly
        • Zapier
  • Advanced Settings
    • Personalizing your quiz
      • Personalizing with user responses
    • Making your quiz full-width
  • Analytics and optimization
    • Email campaigns
      • Sending quiz results to customers by email
      • Sending quiz results to customers via Klaviyo
    • Quiz submission data
    • Analytics and tracking
      • Tracking setup
        • Facebook Pixel (Meta Pixel)
        • Google Analytics
        • Additional marketing data
      • Quiz analytics
        • URL redirect analytics
      • Dashboard and reporting
    • A/B testing your quiz
  • Account and settings
    • Quiz Kit interface
      • My Quizzes
      • A/B testing
      • Analytics
      • Submissions
      • Integrations
      • Billing
      • Support
    • Quiz Builder
      • Quiz
        • Introduction
        • Questions
        • Additional page types
      • Results
        • AI Auto Results
        • Results template
      • Publish
      • Styles
      • Settings
  • FAQs and support
    • Frequently asked questions
  • Contact us
Powered by GitBook
On this page
  • In this section
  • Before you begin
  • Setting up the email in Klaviyo
  • Step 1: Create the trigger
  • Step 2: Add the email template and table
  • Step 3: Edit the dynamic table
  • Previewing your email
  • Showing your products using custom code

Was this helpful?

  1. Analytics and optimization
  2. Email campaigns

Sending quiz results to customers via Klaviyo

Learn how to create an email with quiz results in Klaviyo.

Last updated 1 month ago

Was this helpful?

You can send your customers their quiz results using Klaviyo.

This page details the steps of creating the email trigger in Klaviyo, the email's dynamic table, and the variables that you need to know to set up the dynamic content.

Caution: To set up this feature, you need to be familiar with and in Klaviyo.

In this section


Before you begin

Note: This integration feature is available for the Basic plan or higher.

Before you start setting up your email flow and dynamic blocks, you need to ensure you have completed the following:

  • You have successfully .

  • You have connected.

  • At least one customer has completed the quiz so that custom properties start appearing. Once a customer profile gets created, their custom properties appear.

  • Familiarize yourself with . You need them for this tutorial.

When you have successfully set up the email to use dynamic date, Quiz Kit passes you the following variables:

  • Result name

  • Quiz name

  • Quiz completion date

  • Customer answers

  • Discount code

  • Products recommended

  • Result URL


Setting up the email in Klaviyo

Step 1: Create the trigger

  1. From your Klaviyo dashboard, click Flows.

  2. Click Create Flow.

  3. Click Build your own.

  4. Name your flow and click Create Flow.

  5. Under Select a trigger, click the Your Metrics tab, then click API.

  6. Choose the event that should trigger your flow. Click Quiz Completed to trigger the email to be sent when the customer completes your quiz.

  7. Click Save, then Confirm and save.

Step 2: Add the email template and table

  1. Under Actions, drag and drop the Email action into the flow.

  2. Click the email, and in the right-hand menu, enter your email details.

  3. Click Select template, choose one of the templates, then click Use template.

  4. From the left-hand menu under Blocks, drag and drop the Table block.

  5. From the left-hand menu, click the Styles tab.

  6. Under Data, click Dynamic.

  7. In the Row collection text field, copy and paste event.Products.

  8. In the Row alias text field, copy and paste item.

  9. Click the Content tab.

Step 3: Edit the dynamic table

  1. Click the Content tab to return to the table content editor.

  2. Click on Dynamic row 1 or 2, then click Text or Image to change the cell type.

  3. Add any dynamic product variables that you want to include to the table.

Below is an example of code for showing the "Result title": {{ person | lookup: 'Result title' | default: '' }}. You can set default value inside of '' if needed.

Click to expand


Previewing your email

When you've set up the email flow and dynamic table, you should preview and test the email to ensure it works as expected. To do so, from the Klaviyo email editor, click Preview & test.

When you've ensured everything is working correctly, click Done.

If there are any errors, check the spelling and structure of your variables, as well as your Table Settings tab.


Showing your products using custom code

For advanced users: You need to be knowledgeable in coding to complete these steps.

To loop through the products and display the correct data, you need to use the "for" cycle: {% for product in person.Products %}{{ product.title }} - {{ product. price }}{% endfor %}

In each product you can display:

  1. product.title

  2. product.price

  3. product.link

  4. product.image

  5. product.id

Familiarize yourself with to see how to use these variables.

After you've connected Klaviyo and have custom properties for your quiz, you can set up the flow and dynamic content in Klaviyo. .

this doc
Learn more about how to add a dynamic table and metric-triggered flow in Klaviyo
custom variables
email flows
integrated Klaviyo with your Shopify store
Klaviyo's help doc and dynamic variables
Before you begin
Setting up the email in Klaviyo
Step 1: Create the trigger
Step 2: Add the email template and table
Step 3: Edit the dynamic table
Previewing your email
Showing your products using custom code
a Klaviyo mailing list