Skip to main content

Use Zapier to send Quiz Submissions to Google Sheets

Wendy avatar
Written by Wendy
Updated over a week ago

If you prefer, you can follow along with a video tutorial of the steps we show below.

To do this you will need to have set up the Zapier Integration and have a Google Sheet prepared that already has column names for the data that you want to populate.

Step1: Create a new Zap

From your Zapier dashboard, click +Create and select Zaps:

Image showing the Zapier dashboard with the “+Create” and “Zaps” options used to start creating a new automation.

Step2: Set Lantern as your trigger

Select the Trigger option which is the event stat that will start the workflow and from the list of available triggers use the search bar to find the Lantern app.

GIF showing how to search and select the Lantern app as the trigger application in a Zap.

Step3: Configure and test your trigger

From the right-hand side menu, you’ll be able to configure the event, add the account, set up the trigger, and test.

Under the App & event tab, select the completed select the Event Quiz Completion.

GIF showing the selection of “Quiz Completion” as the event trigger for the Lantern Zap.

Continue to the Account tab and connect your Shopify store by clicking the Choose.

Image showing the Zapier interface with the 'Choose' button highlighted to connect a Shopify store account to Lantern.

Continue to the Trigger tab and select the quiz ID from the drop-down menu. This will already be populated with a list of all the quizzes in your store for an easy selection.

Once this is done choose if you want the Zap to be triggered only when email addresses are provided in the quiz. In this demo, we have an email column in our Google Sheet and we only want the rest of the data to populate when an email is provided so we will select True.

GIF showing how to select the quiz ID and setting the condition to 'true' for triggering the Zap only when an email address is provided.

The final step is to continue and Test your trigger.

Image showing the highlighted 'Test trigger' button in Zapier, used to verify the connection with Lantern before proceeding.

Under the Completion table you will find a list of all properties and information available about a customer including their country, device information, the time they started the quiz, the time it was submitted, answers selected (with their index position), products recommended (including URLs, product titles, product IDs and image URLs) and customer email and name(if captured in the quiz).

Image showing the Completion Table displaying various data fields retrieved from the quiz, including customer responses, device info, timestamps, recommended products, emails and contact details.

All of this data can be used to dynamically populate the Google Sheet you’ll be connecting next.

Step4: Connect Google Sheets

Go to Action and select Google Sheets from the available apps

Image showing the selection of Google Sheets as the Action app for sending Lantern quiz data.

Step5: Configure the Action

From the right-hand side menu, you’ll be able to configure the event, add the account, set up the trigger, and test.

Under the App & event tab, select the completed select the Event Create Spreadsheet Row.

Image showing the selection of “Create Spreadsheet Row” as the event when configuring the Google Sheets action.

Next, continue to Accounts and connect your Google Drive. If this is not already added from previous Zaps, you can connect your drive by clicking +Connect a new account

Image showing the Google account connection screen to link Google Drive for use with the Zap.
GIF showing the process of connecting and authorizing a Google Drive account within Zapier.

Once done, continue to Action and connect your Google Sheet. Remember, you should already have the Column names inside the Google Sheet. In this example our columns are Email, Pillow Filling (the property ID we’ve given to the answer of the first question in the quiz) and Product Recommendations. You can of course create a Google Sheet with columns for all the available quiz information.

Image showing an example Google Sheet setup with columns like Email, Pillow Filling, and Product Recommendations ready to be mapped to Lantern data.

TOP TIP: To easily add each of your answers to its own separate column in the Spreadsheet we recommend giving each question in your quiz a unique property ID as using this as the column name inside your spreadsheet.

Image showing the property ID “pillow_firmness” used in Lantern to match the column name in Google Sheets for accurate data mapping.

In this next step, you’ll be ask to select the correct Google Drive account, the correct Google Sheet document and the worksheet inside the document.

GIF showing how to select the appropriate Google Drive, spreadsheet file, and worksheet when configuring the action step.

Once your Google Sheet is connected you can automatically see the column names. Next we’re going to assign the correct quiz properties to each of these columns: Email, Pillow Filling and Product title.

Image showing how to assign Lantern quiz property values like Email, Pillow Filling, and Product Title to the matching spreadsheet columns in Zapier.

As you can see you already have a preview of the values that will be added to each column in your worksheet. The next and final step is to test your connection.

GIF showing the test step where data is sent to Google Sheets from Lantern via Zapier to confirm the setup is working correctly.

Once done, give your zap a more appropriate name and don’t forget to Publish it.

Image showing the Zapier interface with fields to rename and publish the Zap after testing is complete.

If you have any questions please don't hesitate to contact our support team using the in-app chat toggle or by e-mail at [email protected]

Did this answer your question?