Skip to content
Workflow · Track and forecast · Opening soon

Shopify returns 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.

Early access opens shortly. Check back soon.

Someone typed

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

The agent read it as

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.

  1. File
    Shopify orders export
    CSV export · 16 rows
  2. File
    Shopify returns export
    CSV export · 12 rows
  3. Step
    Sum sold units
    Step 1
  4. Step
    Summarize returns
    Step 2
  5. Join
    Bring in returns
    8 of 10 paired
  6. Step
    Add rate and status
    Step 4
  7. Result
    SKU return rates
    10 rows · 8 flagged
  8. Schedule
    Runs when you say
    Proposed

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

What you get back

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

SKU return ratesSample data10 rows
2 agrees2 changed mind2 damaged in transit1 arrived late, Damaged in transit1 defective item1 too small1 wrong item sent
SKUSold unitsReturned unitsReturn reasonReturn rateStatus
NOTE-LIN-0153Changed mind60%Changed mind
SOCK-STR-0251Wrong item sent20%Wrong item sent
PLNT-POT-0632Damaged in transit66.7%Damaged in transit
CANDLE-LAV-0821Damaged in transit50%Damaged in transit
MUG-RED-1232Arrived late, Damaged in transit66.7%Arrived late, Damaged in transit
BAG-CAN-0131Changed mind33.3%Changed mind
TEE-NAVY-S21Too small50%Too small
BOTTLE-SS-2031Defective item33.3%Defective item
CANDLE-VAN-0810·0%Agrees
TEE-OLI-M10·0%Agrees
10 rows in the result. Sample data: illustrative figures, not business results.

How it works

How to use the SKU return rates 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.

SKU return rates: questions

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.
Which export should you use?
Use the Shopify orders export for sold units and the Shopify returns export for returned units and return reasons. Use the same date range in both files, such as the last 90 days.
What happens to rows that do not match?
Rows that do not match stay out of the matched result. You can keep them in a separate list if you want to review products with sales but no returns, or returns that do not line up with a sold SKU.
How do you change the rules?
Edit the steps in words, for example change the date range, choose a different product field, or change the status rule. You can also change how return rate is calculated or what text appears when the rate is not zero.

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

The number you report every month, rebuilt from the latest export, plus the forecast that follows from it.

All track and forecast workflows →