Shopify returns by product
“show sku and return reason from the shopify orders and returns exports for the last 90 days, with return rate returned units / sold units, and Status says "Agrees" when it's 0, else short reason”
show sku and return reason from Shopify orders export and Shopify returns export for the last 90 days, with return rate returned units / sold units, and Status says "Agrees" when it's 0, else short reason
What the agent built
4 steps, each one an ordinary Mammoth step you can open and change.
- FileShopify orders exportCSV export · 16 rows
- FileShopify returns exportCSV export · 12 rows
- StepSum sold unitsStep 1
- StepSummarize returnsStep 2
- JoinBring in returns8 of 10 paired
- StepAdd rate and statusStep 4
- ResultSKU return rates10 rows · 8 flagged
- ScheduleRuns when you sayProposed
Checked on the sample files: every step ran, 10 rows came out, and the join paired 8 of 10 rows.
- Download Shopify orders export sample (16 rows)Shopify admin: Orders > Export > All orders > CSV
- Download Shopify returns export sample (12 rows)Shopify admin: Orders > Returns > Export
What you get back
The result of that run, the rows to look at first.
| SKU | Sold units | Returned units | Return reason | Return rate | Status |
|---|---|---|---|---|---|
| NOTE-LIN-01 | 5 | 3 | Changed mind | 0.6 | Changed mind |
| SOCK-STR-02 | 5 | 1 | Wrong item sent | 0.2 | Wrong item sent |
| PLNT-POT-06 | 3 | 2 | Damaged in transit | 0.7 | Damaged in transit |
| CANDLE-LAV-08 | 2 | 1 | Damaged in transit | 0.5 | Damaged in transit |
| MUG-RED-12 | 3 | 2 | Arrived late, Damaged in transit | 0.7 | Arrived late, Damaged in transit |
| BAG-CAN-01 | 3 | 1 | Changed mind | 0.3 | Changed mind |
| TEE-NAVY-S | 2 | 1 | Too small | 0.5 | Too small |
| BOTTLE-SS-20 | 3 | 1 | Defective item | 0.3 | Defective item |
| CANDLE-VAN-08 | 1 | 0 | · | 0 | Agrees |
| TEE-OLI-M | 1 | 0 | · | 0 | Agrees |
How do you build a Shopify returns report by product?
Export your Shopify orders for the last 90 days, then export your Shopify returns for the same period. Use the SKU from both files to group sold units, bring in return reasons, and calculate return rate as returned units divided by sold units. Add a Status rule that says Agrees when the rate is 0, and show a short reason when it is not.
How it works
How to use the SKU return rates workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and checked on the sample files.
- 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
- 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.
SKU return rates: questions
Which export should you use?
What happens to rows that do not match?
How do you change the rules?
Get early access to this workflow
It will open already built and checked on the sample files. Swap in your own exports and see your result.
Workflows like this
Find the few products that make most of your sales, what sells together, and the stock that sits too long.
- Shopify sales by productBuild weekly Shopify sales by product from orders and refunds exports. See gross sales, discounts, refunds, net sales, and status by SKU.See the workflow Built by the agent
- Shopify inventory reportBuild a Shopify inventory report with on hand, last 4 weeks of sales, and weeks of cover for each product and location.See the workflow Built by the agent
- Refund rate by productCalculate refund rate by product from Shopify orders and refunds exports for the last 90 days, sorted highest first.See the workflow Built by the agent
- GA4 vs Shopify revenue gapCompare daily GA4 revenue with Shopify orders, match the dates, and flag days where one side is more than 5% higher.See the workflow Built by the agent
- Pareto (ABC) analysisEvery item ranked by its total, with its share, the running share and an A, B or C classSee the workflow Template
- Market basket analysisEvery pair of products bought together, with support, confidence and liftSee the workflow Template