A wholesale customer just placed their fifth order this quarter, all over $500. You want to reward that loyalty — but your standard "1 point per dollar" program doesn't capture what's special about this milestone. A skincare brand wants to give bonus points to customers who complete a post-purchase skin quiz. A fashion retailer wants to reward customers who return after 90 days of inactivity. None of these fit neatly into a standard earning program template.
That's exactly why we built Shopify Flow integration for Joy's custom programs. If Shopify Flow can trigger it, Joy can reward it.
The power of "Run a custom program"
Joy's Custom Program feature already lets you create earning programs with non-standard triggers — page visits, custom JavaScript events, and now Shopify Flow triggers. The Flow integration is the most powerful of the three, because it connects Joy to Shopify's entire automation ecosystem.
Here's how the connection works. In Joy, you create a custom program and select Shopify Flow trigger as the trigger action. You configure the program name and reward points, then save. Joy generates a unique action_key — this is the identifier that links your Flow automation to this specific earning program.
Then you open Shopify Flow and build your automation. Whatever trigger you want — an order placed, a customer tag added, a metafield updated, a third-party app event — you design the workflow with your conditions and logic. At the end, you add Joy's "Run a custom program" action, paste in the action_key, and map the customer email variable from your Flow trigger.
Once the Flow runs and Joy detects the action_key call, the program status changes to "Connected." Turn it on, and you're live. Every time that Flow automation fires, the customer earns the reward you configured — automatically, reliably, without any code on your storefront.
What can you actually build with this?
The honest answer is: almost anything. Here are some real scenarios that Joy merchants are building right now.
B2B milestone rewards. Trigger a reward when a customer's total lifetime spending crosses $5,000, $10,000, or $25,000. Use Flow's order triggers with conditions on customer metafields to track cumulative spending, then fire Joy's custom program at each milestone.
Win-back campaigns. Identify customers who haven't ordered in 90 days using Flow's scheduled triggers. When they place their return order, reward them with bonus points as a "welcome back" gesture. The trigger is the order, the condition is the inactivity period, and the reward is Joy.
Post-purchase engagement. Reward customers who complete a survey, leave a product review through a third-party app, or fill out a profile quiz. If the app sends events to Shopify Flow (and most modern apps do), Joy can reward the behavior.
Wholesale and subscription milestones. Give bonus points when a subscription customer hits their sixth renewal, or when a wholesale customer's single order exceeds a threshold. Flow handles the logic; Joy handles the reward.
Setting it up in practice
The setup is deliberately straightforward. Create your custom program in Joy at Reward Programs → Custom Program → Trigger Action → Shopify Flow trigger. Save it to generate the action_key. Go to Shopify Flow, build your automation, add the "Run a custom program" action with the action_key and customer email. Run a test to verify the connection. Turn on the program in Joy.
If your Flow doesn't show up in Joy immediately, make sure it's been triggered at least once and that the action_key matches exactly — this is the most common setup issue. Joy checks for the connection automatically, so once a successful trigger fires, the status updates on its own.
Custom programs with Shopify Flow triggers are available on Advanced plans and above. You don't need Flow to use Joy — it's entirely optional. But if you're already building automations in Flow (and if you're on Shopify, you probably should be), this integration turns Joy from a standalone loyalty app into a reward layer that sits on top of your entire operations.
This is just the beginning
Every brand has behaviors worth rewarding that don't fit standard templates. Shopify Flow is already the automation backbone for thousands of stores — and now Joy plugs directly into it. We're building toward a loyalty platform where the only limit on what you can reward is your imagination. Start experimenting.
Check out the complete setup guide to connect your first Flow-powered loyalty program.

