Skip to content
Workflow · Stock and products · Opening soon

Shopify sales by product

Turn your Shopify orders export and refunds export into a weekly sales by product report. You can review gross sales, discounts, refunds, net sales, and status by SKU.

Early access opens shortly. Check back soon.

Someone typed

“weekly by sku from the shopify orders and refunds files: total gross, discounts, refunds, net sales, status; Agrees when discounts and refunds are each 20% or less of gross sales, otherwise Refund heavy or Discount heavy”

The agent read it as

weekly by sku from the Shopify orders export and Shopify refunds export files: total gross, discounts, refunds, net sales, status; Agrees when discounts and refunds are each 20% or less of gross sales, otherwise Refund heavy or Discount heavy

What the agent built

4 steps, each one an ordinary Mammoth step you can open and change.

  1. File
    Shopify orders export
    CSV export · 18 rows
  2. File
    Shopify refunds export
    CSV export · 12 rows
  3. Step
    Sum orders by week
    Step 1
  4. Step
    Sum refunds by week
    Step 2
  5. Join
    Bring refunds onto orders
    11 of 18 paired
  6. Step
    Add net sales and status
    Step 4
  7. Result
    Weekly SKU summary
    18 rows · 8 flagged
  8. Schedule
    Runs when you say
    Proposed

Checked on the sample files: every step ran, 18 rows came out, and the join paired 11 of 18 rows.

What you get back

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

Weekly SKU summarySample data18 rows
10 agrees8 refund heavy
WeekSKUGrossDiscountsRefundsNet salesStatus
2026-08-31MUG-200723.601850.40Refund heavy
2026-09-21CAP-8008402856Refund heavy
2026-09-21STCK-700727.201846.80Refund heavy
2026-09-28MUG-20010810.803661.20Refund heavy
2026-10-05NOTE-4006401648Refund heavy
2026-10-12CAND-50015415.404494.60Refund heavy
2026-10-26MUG-2007201854Refund heavy
2026-10-26PLA-10014704998Refund heavy
2026-08-31PLA-100980098Agrees
2026-09-07BAG-300720072Agrees
2026-09-07NOTE-4008041660Agrees
2026-09-14CAND-5001326.6022103.40Agrees
18 rows in the result · 12 shown, problems first. Sample data: illustrative figures, not business results.

How do you build weekly Shopify sales by product reports?

Export your Shopify orders file and your Shopify refunds file, then upload both. The workflow groups results by week and SKU, sums orders and refunds, brings refunds onto orders, and calculates net sales and status. Rows that do not match the rule for Agrees are marked Refund heavy or Discount heavy.

How it works

How to use the Weekly SKU summary workflow

  1. 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.
  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.

Weekly SKU summary: questions

Which Shopify exports should you use?
Use the orders export and the refunds export from Shopify. The workflow reads those files and uses them to build the weekly report.
What happens when a row does not match the Agrees rule?
If discounts and refunds are each 20% or less of gross sales, the row is marked Agrees. If either one is above that level, the row is marked Refund heavy or Discount heavy.
How do you change the rules?
You change the rule text in the workflow steps. For example, you can adjust the week grouping, the SKU grouping, or the percentage threshold for the status labels.

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.

Early access opens shortly. Check back soon.

Workflows like this

Find the few products that make most of your sales, what sells together, and the stock that sits too long.

All stock and product templates →