Skip to main content

Integrating Lantern with Rivo via Shopify Flow

Wendy avatar
Written by Wendy
Updated today

Connect Lantern quiz completions to your Rivo: Loyalty Program, Rewards program using Shopify Flow. This workflow lets you automatically award loyalty points (or run other Rivo actions) when a customer completes a quiz.

Prerequisites

  • Shopify Flow installed and active on your store.

  • Rivo: Loyalty Program, Rewards installed and configured on a Shopify plan that supports Flow connectors.

  • A Lantern quiz published with an Opt‑in page that collects an email address.

  • In the quiz Results Page → Orders & Tags, enable Create customer in Shopify so Flow has a customer to act on.

Why this matters: Rivo actions need a valid customer identifier (Shopify customer ID or email) to award points. Using the Lantern trigger Quiz Completed — with customers ensures that identifier is available.

Image showing the Lantern Results Page → Order & Customer Tags with “Create Customer in Shopify” enabled.

1. Create the Workflow in Shopify Flow

1.1 Open Shopify Flow and click Create workflowSelect a trigger.

Image showing the Shopify Flow interface showing the Create workflow screen with the Select trigger option highlighted.

1.2 In the editor, select Lantern → choose Quiz Completed — with customers.

Image showing the Flow trigger picker with Lantern selected and “Quiz Completed — with customers” highlighted.

1.3 (Recommended) Add a Condition to check Quiz ID so the workflow only runs for a specific quiz (helpful if you have multiple quizzes). You can find the quiz ID in Lantern → More Integrations.

Image showing the Shopify Flow condition block set to quiz ID equals 'pets-best-bite', with the Lantern More Integrations tab also displayed to highlight where the quiz ID can be found, including an arrow pointing to the quiz ID checkbox in the Flow interface.

1.4 (Recommended) Add a short Wait action (30–60 seconds) to give Shopify time to finish creating/propagating the new customer before the Rivo action runs.

Image showing the Shopify Flow Wait action configured for 60 seconds.

2. Choose a Rivo Action

Rivo’s Flow connector offers several actions. The two most relevant for quiz completions are Add points and Add points for a custom action.

2.1. Simplest: Add points

Award a fixed number of points for anything (simple, does not require creating a “Custom Action” in Rivo).

2.1.1 In Flow, click Add actionRivo: Loyalty Program, RewardsAdd points.

2.1.2 Customer identifier: click Add variable and choose {{email}} (or use {{customer.id}}). 2.1.3 Set Points amount (e.g., 50), and optionally add a description like Completed Lantern quiz.

Image showing the Rivo Add points action in Flow with Customer identifier added via Add variable (showing {{email}}), a Points value entered, and a reason for points.

Optional fields

  • Internal note — Private, visible only in Rivo admin (e.g., “Flow: Lantern quiz – pets-best-bite”).

  • Skip email — Suppress the customer notification for this points grant. Useful for QA or silent rewards.

  • Points calculation — Formula-based points for order events. Leave blank for quiz completions (no order context); rely on Points amount or the Custom `Action’s configured value.

Tip: If you want the workflow to run only for certain quizzes, keep the Quiz ID condition from step 1.3.

2.2. — Optional: Add points for a Custom Action (shows in “Ways to earn”)

Award points tied to a named “Custom Action” you set up in Rivo (shows as a Way to Earn in your loyalty widget).

2.2.1 Create a Custom Action in Rivo:

  • In your Rivo dashboard, go to Programs → Points.

  • Click Add another way to earn and select Custom Action.

  • Fill the fields:

    • Action Name (present tense) — e.g., Complete quiz.

    • Completed Action Name (past tense) — e.g., Completed quiz.

    • Description — short text customers will see.

    • Points amount — how many points to award (e.g., 50).

    • Limit how many times each customer can earn points for this action — optional (e.g., 1 per 30 days).

  • Click Save to create the Custom Action, then continue with the Flow setup.

Image showing the Rivo Custom Action setup screen with fields Action Name (present tense), Completed Action Name (past tense), Description, Points amount, and the optional Limit how many times each customer can earn points for this action checkbox, plus Status: ON and Icon options.

2.2.2 Back in Flow, choose Rivo → Add Points for a Custom Action. 2.2.3 Customer identifier: click Add variable and choose {{email}} (or use {{customer.id}}). Then enter the Custom Action name exactly as defined in Rivo (case‑sensitive). Optionally set a Points amount override.

Image showing the Rivo Add Points for a Custom Action action in Flow with a Custom Action name entered and Customer identifier set to {{email}}.

3. Turn On the Workflow

3.1 Click Turn on workflow to activate. From now on, when a customer completes the quiz, Flow will run the Rivo action to award points automatically.

Image showing the completed Flow with Lantern trigger, quiz filter, delay and a Rivo action, with an arrow pointing to “Turn on workflow”.

Example Variations

  • Segmented rewards: Add a Condition before the Rivo action (e.g., check quiz ID or a specific response) to vary the points awarded.

  • VIP boosts: Pair Add points with Update Customer VIP Tier when certain criteria are met.

  • Cross‑app automation: Use the Lantern trigger to also tag the customer, send an internal email, or pass data to other Flow‑compatible apps.

Notes & Tips

  • Use Quiz Completed — with customers so a Shopify Customer exists and you can pass {{customer.id}}/{{email}} to Rivo.

  • Lantern’s quiz completion has no order yet; leave any Order ID fields blank for quiz‑based rewards.

  • If the customer is brand‑new, a brief Wait (30–60s) improves reliability before the Rivo action.

  • For a named activity that appears in your loyalty widget, use Add Points for a Custom Action and ensure the Custom Action name matches exactly in Rivo.

Related Guides

Did this answer your question?