If you prefer, you can check out this information in video format.
You can now connect Lantern quizzes with Joy: Loyalty Program & Rewards using Shopify Flow. This integration lets you reward customers through Joy automatically whenever they complete a quiz. By leveraging the Quiz Completed — with customers trigger, you ensure quiz takers are recognized as Shopify customers so rewards can be applied correctly.
Prerequisites
A published Lantern quiz with an Opt‑in page that collects an email address.
In the quiz builder, enable Create customer in Shopify under Results Page → Order & Customer Tags, then republish the quiz to save the change.
Shopify Flow installed and active.
Joy: Loyalty Program & Rewards installed and configured on your store (with the Shopify Flow integration enabled in Joy → Integrations → Shopify Flow).
Setting Up the Workflow
1. Start the workflow
1.1 Open Shopify Flow, click Create workflow, then choose Select trigger.
1.2 You’ll be redirected to the workflow editor; select Lantern as the app. 1.3 Choose Quiz Completed — with customers as the trigger. This starts the workflow after a quiz is completed and a Shopify customer exists.
2. (Optional) Filter by a specific quiz
2.1 Click the plus icon and add a Condition.
2.2 Click Add a variable and choose quizID. Leave the operator as Equal to, then enter your quiz’s ID.
2.3 Find your quiz ID in the Lantern quiz builder under More Integrations.
2.4 This ensures rewards are applied only for the quiz you specify.
3. Add a short delay
3.1 Click the plus icon → Action → Flow → Wait.
3.2 Set 30–60 seconds to give Shopify time to create and propagate the customer before the Joy action runs.
4. Add the Joy action
4.1 Click the plus icon → Action. From the list of apps, select Joy Loyalty, then choose Award points (or similar).
4.2 Optionally add a Description. For the Email address field, click Add variable and select email, or choose customer → ID. The field will auto‑insert the variable you select.
4.3 Set the Points amount (for example, 50).
4.4 Add a Reason customers will see in their history (for example, Completed Lantern quiz).
5. Turn it on
5.1 Give your flow a name.
5.2 Click Turn on workflow to activate it.
Test and verify
Complete the quiz with a test email, wait for the Flow delay, then open the customer’s profile in Joy. In the activity or points history, you should see the entry with your Activity/Reason and the Points you configured.
Troubleshooting (quick)
Flow ran but no points: Increase the Wait to 60–120s. Confirm the Customer field in the Joy action is populated via the picker and the Points value is a number.
Customer not found: Make sure Create customer in Shopify is enabled and republished; optionally have the test user sign up/sign in once on your storefront to finalize the profile.
Wrong quiz firing: If you have multiple quizzes, use the Quiz ID condition to scope the workflow.
Integration not enabled: In Joy admin, ensure the Shopify Flow integration is enabled (Joy → Integrations → Shopify Flow).
Notes & tips
Quiz completions have no order context, so pass email or customer ID in the Joy action and set a fixed points amount.
Keep your Reason specific (e.g., include the quiz name) so you can distinguish entries during QA.