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.
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.
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.