Skip to content
Workflow · Calculate · Opening soon

Shopify orders export with line items and refunds

Export your Shopify orders and line items, then load them into Excel. The sheet gives you one row per line item, applies discounts and refunds to the line total, and labels each order as Refunded but fulfilled, Lines do not add up, No SKU, or OK.

Early access opens shortly. Check back soon.

Someone typed

“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.”

The agent read it as

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.

  1. File
    Line items
    CSV export · 40 rows
  2. File
    Shopify orders
    CSV export · 18 rows
  3. Step
    Prepare line items
    Step 1
  4. Step
    Prepare order key
    Step 2
  5. Join
    Add order details
    40 of 40 paired
  6. Step
    Set labels and status
    Step 4
  7. Result
    Shopify Line Item Export
    40 rows · 10 flagged
  8. Schedule
    Runs when you say
    Proposed

On the sample files, every step runs and the result has 40 rows.

What you get back

The result of that run, the rows to look at first.

Shopify Line Item ExportSample data40 rows
30 OK7 refunded but fulfilled3 no SKU
OrderLine itemLine totalStatusFulfillment labelSKUQuantityRefunded quantityFinancial statusOrder dateSubtotal
#1011Thermal Henley Rust M75No SKUFulfilled·10paid2026-10-17160
#1014Rib Crew Tee Forest XL50No SKUFulfilled·10paid2026-10-22140
#1017Cropped Hoodie Rose S55No SKUFulfilled·10paid2026-10-28105
#1006Vintage Hoodie Brown L50Refunded but fulfilledFulfilledHOD-BRN-L10refunded2026-10-08150
#1006Vintage Hoodie Brown M50Refunded but fulfilledFulfilledHOD-BRN-M11refunded2026-10-08150
#1006Vintage Hoodie Brown XL50Refunded but fulfilledFulfilledHOD-BRN-XL10refunded2026-10-08150
#1012Zip Hoodie Black L50Refunded but fulfilledFulfilledHOD-BLK-L11partially_refunded2026-10-1888
#1012Zip Hoodie Black M50Refunded but fulfilledFulfilledHOD-BLK-M10partially_refunded2026-10-1888
#1016Sherpa Pullover Cream L100Refunded but fulfilledFulfilledPUL-CRM-L10refunded2026-10-26190
#1016Sherpa Pullover Cream M90Refunded but fulfilledFulfilledPUL-CRM-M11refunded2026-10-26190
#1001Classic Hoodie Navy L60OKFulfilledHOD-NVY-L10paid2026-10-02120
#1001Classic Tee Black M60OKFulfilledTEE-BLK-M20paid2026-10-02120
40 rows in the result · 12 shown, problems first. Sample data: illustrative figures, not business results.

How it works

How to use the Shopify Line Item Export workflow

  1. 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and working on sample files.
  2. 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
  3. 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?
Export your Shopify orders and line items, then load them into Excel. The sheet gives you one row per line item, applies discounts and refunds to the line total, and labels each order as Refunded but fulfilled, Lines do not add up, No SKU, or OK. It compares line totals with the order subtotal and uses the fulfillment labels in the export.
Which Shopify export should you use?
Use the orders export that includes the order details you need, plus the line items export if you want one row per line item. The workflow reads the exported files, so you can use the standard spreadsheet exports from Shopify.
What happens to rows that do not match the rules?
Rows that do not meet a special rule are still kept in the sheet. They get the OK label unless they are refunded but still fulfilled, the line totals do not add up to the subtotal, or a line item has no SKU.
How do you change the rules?
You change the rules in words by editing the steps and labels. For example, you can change which fields are compared, the order of the status checks, or the text used for each label.

Get early access to this workflow

It opens already built and working on sample files. Swap in your own exports to see your result.

Early access opens shortly. Check back soon.

Workflows like this

Schedules, commissions, costing and margins, worked out the same way from every new export.

All calculate workflows →