Shopify Flow is an automation tool built by Shopify that allows merchants to connect apps and store data into automated workflows. With Lantern’s Shopify Flow integration, you can trigger workflows based on quiz activity and use quiz data to power other automations across your store.
Available Triggers
Lantern provides two triggers inside Shopify Flow:
Quiz completedTriggered when someone finishes a quiz. Useful if you only need the quiz data (such as the quiz name, quiz ID, answers, and product recommendations) and not a customer record.
Quiz completed (with customer)Triggered when someone finishes a quiz, and the quiz email belongs to a Shopify customer: either an existing customer, or one Lantern creates when Create Customer in Shopify is on. This requires capturing at least the email address using the Opt-in page. To have Lantern create customers, enable Create Customer in Shopify under Results Page → Order & Customer Tags.
Note: Lantern sends quiz data to Shopify Flow when the quiz is completed. If a customer leaves their email through the optional email sign-up on the Results Page, Shopify Flow does not receive that email, because the customer signs up after the quiz is completed.
If your workflow needs the customer’s email, collect it on the Opt-in page before results. Learn more about the two ways to collect customer emails.
Data Available in Each Trigger
When either trigger fires, Lantern sends a payload of quiz information into Shopify Flow. Examples include:
Quiz Info: quiz ID, quiz name, session ID, results URL.
Customer Info (both triggers): email, name and phone from the Opt-in page when collected, plus browser, operating system, language and country. The Quiz completed (with customer) trigger also gives you the Shopify customer, so you can use customer actions such as tags.
Responses: questions, answers (single or multi-choice), answer type, and index.
Products: recommended product IDs, variant IDs, ranking, score, price, and currency.
Note: Answers from questions set to Don't share are never sent to Shopify Flow. Answers from questions set to Don't store aren't sent either, unless you tick Still send to Shopify Flow under Don't store in the question's settings: then the answer goes to Shopify Flow only, and Lantern still deletes it after the quiz. Learn more about Sensitive Data Controls
Control Whether Quiz Completions Are Sent to Shopify Flow
You can choose whether quiz completions are sent to Shopify Flow for each quiz.
To change this setting:
Open your quiz in the editor.
Select Results Page.
In the right-hand side menu, expand Order & Customer Tags.
Under Shopify Flow, enable or disable Send quiz completions to Shopify Flow.
Publish your quiz for the change to take effect.
This setting is enabled by default, which keeps the existing behavior for current quizzes.
Practical Applications
Here are some generic examples of what can be done with Lantern’s triggers in Shopify Flow:
Internal Notifications: Send an internal email to your team when a quiz is completed, including quiz responses and product recommendations.
Customer Tagging: Automatically add customer tags based on quiz answers or completion status.
Integration with Other Apps: Use quiz triggers to connect with other Shopify Flow–compatible apps for marketing, loyalty, or fulfillment workflows.
Segmentation: Route customers into different workflows based on their quiz responses, such as dietary preferences, skin type, or pet type.
Lantern’s Shopify Flow integration gives you two flexible triggers — Quiz completed and Quiz completed (with customer) — along with detailed quiz data. This unlocks new automation opportunities, from internal notifications to customer segmentation, all powered by quiz responses. For a practical example, see our guide on Integrating Lantern with LoyaltyLion via Shopify Flow.



