Example workflows
When a customer reaches a new VIP tier, grant them store credit.
When points expire, send a win-back email.
When a referral is completed, tag the customer.
Before you start
Casa Loyalty must be on the latest app version. There's nothing to turn on or connect in Casa. The triggers and actions appear automatically in Shopify Flow.
You build the workflow on Shopify's side, in the Flow app.
Step 1: Create a workflow
In your Shopify admin, open Flow and click Create workflow.
Click Select a trigger and search for Casa Loyalty.
Choose the loyalty event you want to start the workflow (see the list below).
Step 2: Add conditions and actions
Optionally add a condition to filter the workflow. For example, run it only when the points amount is above a certain number, or for a specific tier.
Click Add action and choose what should happen, either a Casa Loyalty action or any other Flow action (such as sending an email or adding a tag).
Save and turn on the workflow.
Each trigger passes useful details, such as the customer, the points amount and the tier names, so you can branch the workflow and personalize messages.
Triggers
These loyalty events can start a workflow.
Group | Triggers |
Points | Points Earned, Points Deducted, Points Redeemed, Points Expired |
VIP | VIP Tier Upgraded, VIP Tier Downgraded, VIP Tier Changed |
Referrals | Referral Completed, Referral Milestone Completed |
Special dates | Birthday Reward Given, Anniversary Reward Given |
Program | Customer Joined Program |
Actions
These are the things a workflow can do in Casa Loyalty.
Award Points: give a customer points directly.
Remove Points: deduct points from a customer.
Award Points via Earning Rule: run one of your store's existing earning rules.
Grant Store Credit: give a customer store credit.
Change VIP Tier: move a customer to a different tier.
Good to know
Real activity only: Triggers fire on genuine customer activity. Customers added by CSV or admin import, or through guest checkout, don't fire Customer Joined Program. Some events with zero points also don't fire.
Rules are respected: Actions check your program rules first. If the customer isn't eligible or the program is paused, the action is rejected.
No double awards: If a workflow runs twice, points aren't awarded twice.
Troubleshooting
My workflow didn't fire
Check that the event really happened. For example, an imported customer never fires Customer Joined Program.
Open the workflow's run history in Shopify Flow to see whether the trigger received the event.
An action didn't award points or change the tier
Open the run in Flow and look for an error. An ineligible customer or a paused program causes a rejection.
If Flow shows success but nothing changed in Casa, contact our support team with your shop domain, the workflow name and the time it ran.
Frequently asked questions
How do I connect Casa Loyalty to Flow? You don't need to. The triggers appear in Flow automatically on the latest app version.
Can I send loyalty events to Klaviyo or other tools? Yes, through Flow, which can forward events to email tools and webhooks. For email, our direct integrations with Klaviyo, Omnisend, Mailchimp and Brevo are usually simpler.
For the full reference, see our documentation page at app.casaloyalty.io/docs/shopify-flow.





