Skip to main content

Get Internal Email Notifications When a Quiz is Completed using Shopify Flow

Wendy avatar
Written by Wendy
Updated yesterday

With Shopify Flow, you can automatically notify your team whenever a customer completes a Lantern quiz. By sending internal emails that include quiz details, you keep your staff updated without any manual work.

Prerequisites

  • Shopify Flow app installed and active on your store.

  • A Lantern quiz published and collecting responses.

Setting Up the Workflow

  1. Open Shopify Flow

    • Click Create workflow, then choose Select a trigger.

    Image showing the Shopify Flow interface with the "Create workflow" option highlighted and the "Select a trigger" step visible, which appears after clicking Create workflow.
    • In the workflow editor, select Lantern as the app.

    • Choose the trigger Quiz Completed (or Quiz Completed — with customers if you want to include customer details).

    Image showing the workflow editor with Lantern selected as the app and the trigger options including "Quiz Completed" and "Quiz Completed — with customers.”

  2. Add an Action to Send Internal Email

    • Select Action → Flow → Send internal email.

    Image showing the action menu in Shopify Flow with "Send internal email" selected.
    • Enter the recipient email address (e.g.: your support or sales team).

    • Write a subject line, such as “Quiz Completed Notification.”

    Image showing the Send internal email action setup with fields for recipient email address and subject line.

  3. Insert Quiz Variables

  • Use Flow’s variable picker to insert quiz details into the email body.

  • You can include variables such as quiz name, quiz ID, customer email (if available), and quiz responses.

  • Example:

    Subject line:

    Quiz Completed Notification – {{quizName}}

    Message/Body:

    A customer has completed the quiz {{quizName}}.<br> Session ID: {{sessionId}}<br> Their results page is: {{resultsUrlFull}}<br> Email provided: {{email}}<br><br> The following responses were provided:<br> {% for responses_item in responses.responses %} {{ forloop.index }}. {{ responses_item.question }} — {{ responses_item.answer }}<br> {% endfor %}
Image showing a combined view: on the left, the Send internal email action with subject and body fields customized and the 'Add variable' text link highlighted, and on the right, the available quiz variables panel with an arrow pointing to it.
Image showing an example of the actual internal email notification received, displaying session ID, results page link, customer email, and numbered quiz responses.

4. Turn On the Workflow

  • Once all steps are set, enable the workflow so emails are automatically sent.

Image showing the completed Shopify Flow workflow with Lantern trigger, internal email action, and the option to turn on the workflow.

Notes

  • Use the Quiz Completed — with customers trigger if you want customer information (like email and name) included. Make sure to also enable Create customer in Shopify in the quiz’s Results Page under Orders & Tags so customer records are created.

  • Internal emails are for team notifications only; they are not sent to customers.

  • You can combine this with conditions to send notifications only for specific quizzes.

By setting up internal email notifications, you’ll always know when quizzes are completed, helping your team stay in sync and act on results faster. To explore more use cases, check out our articles on Shopify Flow integrations and Integrating Lantern with LoyaltyLion via Shopify Flow.

Did this answer your question?