Shopify orders export with line items and refunds
“export the shopify orders and line items to excel, one row per line item, with line total, and use the fulfillment labels people see; status in this order: Refunded but fulfilled, Lines do not add up, No SKU, otherwise OK.”
export the Shopify orders and Line items to Excel, one row per line item, with line total, and use the fulfillment labels people see; status in this order: Refunded but fulfilled, Lines do not add up, No SKU, otherwise OK, comparing line totals with Subtotal alone.
What the agent built
4 steps, each one an ordinary Mammoth step you can open and change.
- FileLine itemsCSV export · 40 rows
- FileShopify ordersCSV export · 18 rows
- StepPrepare line itemsStep 1
- StepPrepare order keyStep 2
- JoinAdd order details40 of 40 paired
- StepSet labels and statusStep 4
- ResultShopify Line Item Export40 rows · 10 flagged
- ScheduleRuns when you sayProposed
On the sample files, every step runs and the result has 40 rows.
- Download Line items sample (40 rows)Shopify Admin: Orders > Export > Line items view > CSV for Excel
- Download Shopify orders sample (18 rows)Shopify Admin: Orders > Export > Current page or all orders > CSV for Excel
What you get back
The result of that run, the rows to look at first.
| Order | Line item | Line total | Status | Fulfillment label | SKU | Quantity | Refunded quantity | Financial status | Order date | Subtotal |
|---|---|---|---|---|---|---|---|---|---|---|
| #1011 | Thermal Henley Rust M | 75 | No SKU | Fulfilled | · | 1 | 0 | paid | 2026-10-17 | 160 |
| #1014 | Rib Crew Tee Forest XL | 50 | No SKU | Fulfilled | · | 1 | 0 | paid | 2026-10-22 | 140 |
| #1017 | Cropped Hoodie Rose S | 55 | No SKU | Fulfilled | · | 1 | 0 | paid | 2026-10-28 | 105 |
| #1006 | Vintage Hoodie Brown L | 50 | Refunded but fulfilled | Fulfilled | HOD-BRN-L | 1 | 0 | refunded | 2026-10-08 | 150 |
| #1006 | Vintage Hoodie Brown M | 50 | Refunded but fulfilled | Fulfilled | HOD-BRN-M | 1 | 1 | refunded | 2026-10-08 | 150 |
| #1006 | Vintage Hoodie Brown XL | 50 | Refunded but fulfilled | Fulfilled | HOD-BRN-XL | 1 | 0 | refunded | 2026-10-08 | 150 |
| #1012 | Zip Hoodie Black L | 50 | Refunded but fulfilled | Fulfilled | HOD-BLK-L | 1 | 1 | partially_refunded | 2026-10-18 | 88 |
| #1012 | Zip Hoodie Black M | 50 | Refunded but fulfilled | Fulfilled | HOD-BLK-M | 1 | 0 | partially_refunded | 2026-10-18 | 88 |
| #1016 | Sherpa Pullover Cream L | 100 | Refunded but fulfilled | Fulfilled | PUL-CRM-L | 1 | 0 | refunded | 2026-10-26 | 190 |
| #1016 | Sherpa Pullover Cream M | 90 | Refunded but fulfilled | Fulfilled | PUL-CRM-M | 1 | 1 | refunded | 2026-10-26 | 190 |
| #1001 | Classic Hoodie Navy L | 60 | OK | Fulfilled | HOD-NVY-L | 1 | 0 | paid | 2026-10-02 | 120 |
| #1001 | Classic Tee Black M | 60 | OK | Fulfilled | TEE-BLK-M | 2 | 0 | paid | 2026-10-02 | 120 |
How it works
How to use the Shopify Line Item Export workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and working on 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.
Shopify Line Item Export: questions
How do you export Shopify orders with line items and refunds to Excel?
Which Shopify export should you use?
What happens to rows that do not match the rules?
How do you change the rules?
Get early access to this workflow
It opens already built and working on sample files. Swap in your own exports to see your result.
Workflows like this
Schedules, commissions, costing and margins, worked out the same way from every new export.
- Pivot table from raw dataTurn a raw sales export into a pivot table of revenue by region and month.See the workflow Built by the agent
- Real estate commission splitWork out real estate commission on each closed sale and split it between the listing agent, buying agent and brokerage.See the workflow Built by the agent
- Loan amortization from statementsBuild a monthly loan amortization schedule from an Excel export, with interest, principal, and remaining balance for each loan.See the workflow Built by the agent
- Accrued expenses scheduleBuild an accrued expenses schedule from QuickBooks exports. Match purchase orders to vendor bills, calculate unbilled amounts, and flag items that need accrual.See the workflow Built by the agent
- RFM segmentsEvery customer scored 1-5 on recency, frequency and spend, with a segmentSee the workflow Template
- Sales velocityEach rep's open deals, win rate, deal size, sales cycle and velocity, and the team'sSee the workflow Template