You can now connect Lantern quizzes with LoyaltyLion using Shopify Flow. This integration lets you reward customers through LoyaltyLion automatically whenever they complete a quiz. For example, you can award loyalty points or move a customer into a different loyalty tier. By leveraging the Quiz Completed — with customers trigger, you ensure that quiz takers are recognized as Shopify customers so these rewards can be applied correctly.
Prerequisites
Shopify Flow app installed and active on your store.
LoyaltyLion app installed and configured.
A Lantern quiz with an opt-in page that collects an email address.
In the quiz’s Results Page → Orders & Tags, enable Create customer in Shopify.
Setting Up the Workflow
Open Shopify Flow
Click Create workflow, then choose Select trigger.
This will redirect you to the workflow editor where you can select Lantern as the app and then choose the trigger Quiz Completed — with customers (required for LoyaltyLion).
Filter by Quiz ID
Add a Condition to check the quiz ID.
This ensures rewards are applied only for specific quizzes. In our example, we focus on awarding loyalty points, but you could also choose the alternative action of moving a customer into a different loyalty tier depending on your program setup.
You can find the quiz ID under the quiz’s More Integrations tab.
Add a Delay
Insert a Wait action of around 60 seconds.
This accounts for a short delay between when a Shopify customer is created and when LoyaltyLion can recognize them.
Apply Loyalty Points
Add an Action → LoyaltyLion → Add Points.
Set the number of points to award (e.g., 50 points).
Provide a reason (e.g., “Completed our quiz”).
Use the field labeled 'Email address of the customer to add points to'. Click Add variable and select the email variable, which will insert
{{email}}
so points are applied to the correct customer.
Turn On the Workflow
Once all steps are in place, make sure to enable the workflow so it runs automatically when the trigger conditions are met.
Notes
Always use the with customers trigger to ensure LoyaltyLion can identify the customer.
Filtering by quiz ID is recommended if you have multiple quizzes.
The short delay helps prevent errors when LoyaltyLion processes new customers.
You can expand the workflow with other LoyaltyLion actions or connect it with additional Flow-compatible apps.
With Shopify Flow, Lantern and LoyaltyLion work together seamlessly to reward customers who complete quizzes. This not only boosts engagement but also strengthens customer loyalty by tying quiz interactions directly to your rewards program. To learn more about the broader capabilities of Flow with Lantern, check out our Shopify Flow Integration article.