This example shows how to award customers bonus points when they place a specific number of orders—such as their 3rd, 5th, or 10th order—using Shopify Flow and Smile.
Use this article as a supporting example alongside the main guide:
👉 Use Shopify Flow to award points with Smile
Feature availability:
✅ Rewarding with Shopify Flow is available on Essential, Standard, Growth, Plus, and Enterprise plans.
✅ Shopify Flow is available on Shopify Basic, Shopify, Advanced, and Shopify Plus plans.
Before you start
This example assumes you’ve already completed the early setup steps in the main guide, including:
Installing the Shopify Flow app.
Creating a Flow action in Smile.
This example also requires creating an earning action in Smile after you’ve set up the Shopify Flow workflow below.
For the full setup steps, review the main guide:
Example: Creating a repeat-purchase workflow in Shopify Flow
This example workflow awards points when a customer reaches a specific order milestone.
From Shopify admin, go to Flow and click Create workflow.
Click Select a trigger.
Select the Order paid trigger.
Click the + icon and choose Condition.
Click Add a variable, then search for NumberOfOrders.
Click NumberOfOrders.
Enter the milestone number (e.g.,
5for the 5th order).Click the + icon and choose Action.
Select Smile.io, then click Send Smile activity.
Enter the Activity type code you copied from your Flow action in Smile.
In the Order ID field, enter:
{{order.id}}Click Turn on workflow.
✅ Tip: Use the same name for your Shopify Flow workflow and the Action title in Smile (for example, Place 5th order) to make flows easier to recognize and manage.
ℹ️ Note: The Smile team has ready-made Shopify Flow templates for common loyalty workflows. If you’d like help setting up a flow, contact the Smile team to access templates and best-practice recommendations.
