Skip to main content
All CollectionsZaps
Integrating Lantern Data with MailChimp Using Zapier

Integrating Lantern Data with MailChimp Using Zapier

Wendy avatar
Written by Wendy
Updated this week

If you prefer, you can check out this information in video format.

In this guide, we'll walk you through the process of connecting your Lantern account to MailChimp via Zapier, enabling you to effectively use merge tags for personalized email marketing. This method ensures seamless data transfer from Lantern quizzes to MailChimp, allowing for targeted and customized email campaigns.

Step 1: Connect Lantern to Zapier

First, ensure that your Lantern account is connected to Zapier. Please refer to this article on how to connect Lantern to Zapier. This connection is crucial as it allows you to create a Zap (an automated workflow) that will transfer data from Lantern to MailChimp.

Step 2: Connect Lantern to MailChimp

Next, connect your Lantern account to MailChimp. This is done through the integrations tab in Lantern. You will need to create a private API key in MailChimp and use it to link the two platforms. You can refer to this article on how to connect Lantern to Mailchimp. After establishing the connection, ensure that the specific quiz you want to use is also connected to MailChimp by using the audience ID.

Image showing the MailChimp Audience ID field under Lantern's More Integrations tab, used to connect a specific quiz to the correct MailChimp audience.

For this example, we are using a test quiz titled "Paws-itively Perfect: Find Your Dog’s Delightful Dish"

Image showing Lantern quiz titled "Paws-itively Perfect: Find Your Dog’s Delightful Dish," used as an example throughout the integration setup.

In MailChimp, we have a test audience named “PPF”. You can find the unique audience ID under the settings of your audience in MailChimp, which needs to be copied and pasted into the quiz settings in Lantern.

Image showing the MailChimp dashboard with a test audience named "PPF" highlighted, including audience settings.
Image showing the MailChimp settings section where the unique Audience ID for "PPF" is located.

Step 3: Create Merge Tags in MailChimp

In MailChimp, create additional merge tags for the data you want to capture from the quiz. For our pet food quiz, we created tags for the dog's favorite activity (tagged as "ACTIVITY") and the dog's coat (tagged as "COAT"). Additionally, we added a merge tag for the product recommendation (tagged as "PRODUCT"). These merge tags will allow us to use quiz data ( such as answers and recommended products) in our email campaigns.

Image showing merge tags configured in MailChimp, including ACTIVITY, COAT, and PRODUCT used to personalize email content.

Step 4: Configure Property IDs in Lantern

Within the Lantern quiz, assign property IDs to the answers that correspond to the merge tags in MailChimp. For example, if the merge tag in MailChimp is "ACTIVITY," ensure the property ID in Lantern is also named "ACTIVITY." This alignment simplifies the integration process and ensures data consistency.

Image showing how a Property ID is configured in Lantern quiz builder to match a MailChimp merge tag, ensuring data is transferred correctly.

Step 5: Create a Zap in Zapier

Creating a Zap involves setting up a trigger and an action to automate the data transfer from Lantern to MailChimp. Here’s a detailed guide:

1‍. Access Zap Creation:

  • From your Zapier dashboard, click on the "Create" button and select “Zaps”.

Image showing the Zapier dashboard with the "Create" button and "Zaps" highlighted for starting the automation setup.

2. Set Up the Trigger:

→ Choose App & Event:

  • In the "Trigger" section, search for "Lantern" and select it as the trigger app.

GIF showing how to search for and select Lantern as the trigger app in Zapier.
  • For the event, select "Quiz Completion." This means the Zap will trigger when a quiz is completed in Lantern.

GIF showing the selection of "Quiz Completion" as the event trigger for the Zap.

→ Choose Account:

  • Connect your Lantern account if you haven’t already. You may need to log in and authorize Zapier to access your Lantern data.

Image showing the selection of a connected Lantern store in Zapier during setup.

→ Set Up Trigger:

  • Choose the specific quiz you want to use by selecting its ID. For this guide, we’re using the "paws-itively-perfect-find-your-dogs-delightful-dish"

Image showing quiz ID selection from the list of available quizzes in the Zapier setup.
  • Set the trigger only activate when an email address is provided. To do this, select the value of the email address property as "True."

Image showing how to configure the trigger to only activate when an email address is provided by selecting the email field value as "True."

→ Test Trigger:

  • Test the trigger to ensure that Zapier can pull in data from Lantern. This test confirms that the connection is working correctly.

Image showing the Zapier interface with the 'Test trigger' button highlighted, indicating the step to fetch sample data from Lantern before proceeding to the next stage. This test confirms that the connection is working correctly.
Image confirming a successful test trigger in Zapier, showing quiz data from Lantern.

3‍. Set Up the Action:

→ Choose App & Event:

  • In the "Action" section, search for "MailChimp" and select it as the action app.

GIF showing how to select MailChimp as the action app for the Zap.
  • For the event, choose "Add/Update Subscriber." This event will either add a new subscriber to your MailChimp audience or update an existing one.

GIF showing how to select "Add/Update Subscriber" as the MailChimp action event.


Choose Account:

  • Connect your MailChimp account if you haven’t already. You may need to log in and authorize Zapier to access your MailChimp data.

Image showing the connection of a MailChimp account to Zapier for enabling the action step.

Set Up Action:

  • Audience: Select the MailChimp audience where you want to add or update subscribers. For this guide, we’re using the PPF audience.

  • Subscriber Email: Map the email field from the Lantern quiz to the subscriber email in MailChimp.

  • Status: Set the status to "subscribed" to ensure the subscriber is added to your list.

  • Update Existing Contacts: Choose "yes" if you want to update existing contacts in MailChimp.

GIF showing the action configuration, including audience selection, email mapping, subscription status, and updating existing contacts.

4. ‍Map Additional Fields:

Once you select the Audience, additional fields such as name and merge tags will appear.

→ Name Fields: If your quiz captures the first name and last name of the subscriber, map these fields accordingly:

  • First Name: Map the first name field from the Lantern quiz to the first name field in MailChimp.

  • Last Name: Map the last name field from the Lantern quiz to the last name field in MailChimp.

Image showing how to map first name and last name fields from Lantern to MailChimp in the Zapier setup.

→ Merge Tags:

  • Map the Lantern quiz answers to the corresponding merge tags in MailChimp. For instance:

    • Favorite Activity: Map the property ID "ACTIVITY" from Lantern to the merge tag "ACTIVITY" in MailChimp.

    • Dog’s Coat: Map the property ID "COAT" from Lantern to the merge tag "COAT".

    • Product Recommended: Map the product title field from Lantern to the merge tag "PRODUCT"

Image showing the mapping of Lantern property IDs like ACTIVITY and COAT, and product titles to MailChimp merge tags.

→ Test and Review the Zap:

  • Click "Continue" and “Test Step” to ensure that the action works correctly. Zapier will add a test subscriber to your MailChimp audience based on the test data from Lantern.

GIF showing the "Test Step" in Zapier to confirm the MailChimp action works correctly with Lantern data.
  • Review the test results to ensure everything is set up correctly.

Image showing the results of a successful test in Zapier with data correctly transferred to MailChimp.


5. Publish the Zap:

  • Once your test is successful, give your Zap a meaningful name and publish it. The Zap will now automatically run whenever a quiz is completed in Lantern, transferring the data to MailChimp.

GIF showing the final steps in Zapier to rename and publish the Zap, making the Zap live.

By following these steps, you can seamlessly integrate Lantern quiz data with MailChimp, including capturing and transferring subscriber names for personalized and targeted email campaigns. For more tutorials and support, visit our website or contact our support team.

Did this answer your question?