Shopify Bulk Refunds: 787 Specific Refunds + Dynamic Emails
Portfolio project
Verified paid work
The problem
After a billing error, a Shopify subscription brand had to refund nearly 1,000 subscribers, each a different amount, and email each one their exact refund. The 787 active subscribers were refunded in July. The 212 cancelled subscribers were scheduled for August, with different email copy and a $15 goodwill code. The client had to approve each phase before the next one started.

What I did
Cleaned the data.
I went through the master refund sheet and merged customers who appeared on several rows into one row each (one refund, one email). I also removed the client's internal test accounts and fixed malformed order numbers. After merging, the sheet still matched the original total to the cent.
Built one refund email with three outcomes.
Shopify Flow's email action is meant for staff alerts, so I rewrote Shopify's own "Order refund" notification in Liquid instead. Matrixify tags each target order by group, and the template reads that tag. Active subscribers see their first name and exact amount. Cancelled subscribers see their exact amount and the $15 code. Every other refund in the store still gets Shopify's standard message.

Set up the goodwill code.
$15 off the first subscription payment only, one use per customer, limited to the 212 cancelled subscribers. Shopify segments can't filter by a list of emails, so I tagged those customers with a Matrixify import and built a segment on that tag. I also warned the client that codes limited to a segment don't work at guest checkout.
Checked every order before any money moved.
A Python script compared a live Matrixify order export with the refund list. It flagged any order whose payment status made a refund unsafe or that had too little refundable balance left. All 787 active-subscriber orders passed. Eleven orders with older partial refunds went to the client for review.

Ran the batch and documented it.
The 787 refunds ran as one Matrixify import and 786 went through. One hit a temporary Shopify API error. Matrixify doesn't retry those, to avoid duplicates, so I re-ran that row on its own. I kept an ops log throughout (what, where, when, why, how, who). I also wrote a reconciliation checklist: job report, a before-and-after export of all refunds, follow-up on failed refunds and tag cleanup.
Results
787 of 787 active-subscriber refunds processed, $8,408.70 in total. Each was for the customer's exact amount and came with a personalized refund email.
Duplicate rows, test accounts and malformed order numbers were caught and fixed before any refund ran.
Cancelled-subscriber batch (212 customers, $1,782.71) and the $15 code set up and ready for August.

0 likes · 1 view · Dec 3, 2026
Ran 787 customer-specific partial refunds ($8,408.70) for a Shopify subscription brand after a billing error. I cleaned the refund data.
Timeline
Jul 7, 2026 - Dec 3, 2026
Tags
What the client had to say
Vladislav was a pleasure to work with on our Shopify bulk refund project. He built a careful, well-tested process, worked through each phase methodically, and stayed patient and flexible as our scope evolved. Highly recommend!
Bethany Ren, Graffeo
Dec 3, 2026, Client