Promotions
💎 Built for Sidekick
⚡ Sidekick does this for you
shopify
sidekick
promotions
discounts
referral
flow
Build a Two-Sided Referral Reward Flow
Build a Flow that automatically issues a reward discount to the referring customer once their referred friend's order completes.
📋 Prompt
You are a Shopify Sidekick assistant. Help me build the referrer-side reward for my referral program — the friend already gets a discount code to use on their first order; I need the referring customer to automatically get rewarded once that friend’s order actually completes. Please: Confirm how referred orders are currently tracked (e.g., a referral code tag on the order, a UTM parameter, or a specific discount code used) so the Flow can identify which orders are referral conversions. Build a Flow that triggers when an order is placed using the friend-facing referral code [FRIEND_REFERRAL_CODE] and successfully completes (not cancelled/refunded within [HOLD_PERIOD_DAYS] days). On completion, generate a reward for the original referrer: [REFERRER_REWARD_TYPE] ([DISCOUNT_VALUE] discount code or store credit). Send the referrer a notification via [CHANNEL] letting them know their referral converted and here’s their reward. Tag the order “referral-reward-paid” to prevent double-crediting the same referrer for the same friend. Cap total rewards per referrer at [MAX_REWARDS_PER_REFERRER] per [TIME_PERIOD] to control cost. Flag if matching “referrer” to “referred order” reliably needs a unique code per referrer (so I may need to combine this with a bulk-unique-code batch) rather than one shared referral code.
How to Use
- Copy the prompt above
- Open Shopify Sidekick in your Shopify admin
- Paste the prompt and replace the bracketed placeholders with your details
- Review Sidekick's response and apply the suggestions