Skip to main content

Integrate Lantern AI Quiz Builder with Omnisend

Learn how to connect Lantern AI Quiz Builder with Omnisend

Written by Inesa Valinčiūtė-Kunčienė

Lantern guides visitors through dynamic, conversation‑style quizzes that end in tailored product recommendations. For every quiz taker, Lantern captures answers and emails or phone numbers to build a rich customer profile you can sync to Omnisend - so a one‑time quiz visit becomes long‑term marketing value.


Key Benefits

  • Advanced quiz logic: Take advantage of easy-to-use logic flows to create that hyper-personalized quiz experience based on subsequent answer selection.

  • Various quiz question types: We offer a variety of quiz question types, such as multi-choice and single-choice, input or upload pages, opt-in pages, or even score ranking and transition pages, for educational purposes between questions.

  • Easy setup: Choose from a variety of fully customizable templates, or use Lantern AI to generate an on-the-spot quiz tailored to your product range and brand needs.

  • Built to integrate - Lantern works with subscription apps, review apps, side‑cart apps, Google tracking, Zapier, and ESPs like Omnisend, with more than 30 integrations.

  • Save all quiz answers as custom properties in Omnisend for each contact. This creates a 360° profile - not just an email address and name, but preferences, needs, and lifestyle details.

Setup Process

Step 1. In Omnisend, go to Apps → search for Lantern AI Quiz Builder → click Connect nowCopy API Key.

Step 2. Install the Lantern AI Quiz Builder app from the Shopify App Store in your Shopify admin.

Step 3. Go to your Shopify admin and open the Lantern app → go to Integrations → Find Omnisend among other integrations → Click Connect and authorize the connection between Omnisend and Lantern.

Step 4. Paste the API key into the pop-up box, then click Connect.

Step 5. In Omnisend, check the box I have completed all the steps, and click Confirm.

And that's it! Omnisend is now integrated with Lantern!

Lantern will create the custom event: "quiz completion" once a quiz is completed by at least one contact.

Once the API key is connected, Omnisend automatically receives all active quizzes in your account, contact, and quiz data. There’s no need to set up individual quiz connections.

What Data is Passed

Follow these steps to sync contact data to Omnisend:

Step 1. Make sure to collect either an email address or a phone number in your quiz. To do this, go to the Quiz BuilderAdd PageOptin PageAdd Page.

Step 2. Select the field under 'Email Address Input' and choose the Show (required) option. This way, the email address will be collected. If you want the phone number to be collected through the Optin form, check the field under 'Phone Number Input' Show. For the contacts to flow to Omnisend, either of these must be selected as required.

Step 3. You can also optionally choose to display a Name field to collect contacts' names.

To ensure your quiz takers are correctly subscribed to email and SMS marketing, these options are automatically enabled with each quiz. If you need to disable any of these options, you can do so from your Lantern quiz. You can find this on the right-hand side of your opt-in page, under the Integration Settings dropdown.


Do not forget to ask for consent and select an option under 'GDPR Checkbox'

Question Responses to Omnisend Properties

When a new email address and/or phone number is collected through the Opt-in form in your quiz, a contact is passed to Omnisend along with these properties:

  • Email address (subscribed status, optional if there is a phone number).

  • Phone number (subscribed status, if this is collected).

  • First name (if this is collected).

  • Appropriate marketing consent.

  • Any mapped custom properties from the quiz answers (mapping explained below).

Mapping Question Responses to Custom Properties

Each quiz question can be mapped to a Property ID to store the answer as a custom property in Omnisend.

To map custom properties, go to the selected question settings and add a Property ID.

This is the Property ID that Omnisend will store for the answer (e.g. lantern_question).

Custom Event

Lantern sends a "quiz completion" event to Omnisend.

Event Name

Description

Properties

Completed Lantern Quiz

Triggered when the quiz has been submitted at least once

  • Answer: The user’s answers and associated question text

  • Products: Recommended products (including name, image URL, price, product URL, and score)

  • Quiz session details

Use Cases

Create Segments Using Quiz Data

Since all customer answers are passed to Omnisend as custom properties, you can segment your audience based on them. Here's an example segment based on one of the answers.

You can also create a segment based on the Quiz Completion event in order to segment all the quiz takers.

Later, we can use this segment to send these customers product recommendations based on their answers.

💡 Feel free to experiment with segmentation. You can also combine quiz answers with other Omnisend filters.

Trigger Automations

Once your Lantern quiz is integrated with Omnisend, each completed quiz sends an event called Completed Lantern Quiz to your Omnisend account. This can be used to trigger automatic email and SMS workflows for customers who take your quiz.

  • Welcome Series: If a contact completes a quiz, trigger a custom Welcome flow tailored to their preferences (e.g., product matches)

  • Deliver Quiz Results Instantly: Automatically email each quiz taker their personalized quiz results through Omnisend, right after completion.

  • Segmentation: Segment contacts based on quiz answers (stored as properties) - target users who indicated a specific preference or need.

  • Dynamic Email Personalization: Use quiz answers to insert personalized content into Omnisend campaigns (text, product blocks, images).

  • Seasonal & Event Campaign Targeting: Filter audiences by quiz answers for timely campaigns.

    Example: If travel_frequency = high, send them travel-sized product bundles before summer.

  • Automated Post-Quiz Flows: Trigger multi-step Omnisend automations based on quiz outcomes

Create an automation workflow based on the Completed Lantern Quiz event as a trigger. If you have more than one quiz, you will need to add a Trigger filter that helps you define which specific quiz should trigger this workflow.

Create an automation → Click + Add Trigger filter → Select ‘Quiz from the dropdown menu → Select ‘Is’ from the dropdown menu → Enter your quiz slug.

Send Product Recommendations

Once the Lantern quiz is completed, we can set up a quiz recommendation section inside an Omnisend email template.

Step 1. Add a Dynamic Content. In the Select a Data Source dropdown, select Products. This is where Lantern stores the recommended products from your quiz.

Step 2. Add product content inside the block. Select the image block → select Dynamic from the content type → select Image from the select data source dropdown.

You can also manually add a data source by checking the 'Add source manually’ and entering [[item.image]].

Below are the dynamic variables you can use inside text, image, or button blocks within your Dynamic Content section. These variables will automatically populate based on the quiz product data passed from Lantern.

Variable mapping:

  • Product title: [[item.title]]

  • Product price: [[item.price.amount]]

  • Product currency: [[item.price.currency]]

  • Product image: [[item.image]]

  • Product URL: [[item.url]]

In the next steps, you can set up the product information using text and button elements. This includes the product title, price, and a call-to-action button that links to the product page.

Optional: To show a summary of quiz questions and answers, you can use a Text element with [[item.question]] and [[item.answers]] inside a Dynamic list with a data source of answers.


Didn't find an answer to your question? Reach out to our Support Team via in-app chat or at [email protected] - our team is available 24/7.

Did this answer your question?