Skip to content
Workflow · Stock and products · Opening soon

Product return rate

See return rate by product and reason from your Shopify exports. Use closed returns only, then divide units returned by units sold.

Early access opens shortly. Check back soon.

Someone typed

“calculate the return rate by product and reason: units returned divided by units sold”

The agent read it as

Calculate the return rate by product and reason: units returned divided by units sold in Shopify returns and Shopify order line items, counting closed returns only.

What the agent built

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

  1. File
    Shopify returns
    CSV export · 18 rows
  2. File
    Shopify order line items
    CSV export · 20 rows
  3. Step
    Total closed returns by product and reason
    Step 1
  4. Step
    Total units sold by product
    Step 2
  5. Join
    Add units sold
    10 of 10 paired
  6. Step
    Calculate return rate
    Step 4
  7. Result
    Product Return Rates
    10 rows
  8. Schedule
    Runs when you say
    Proposed

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

What you get back

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

Product Return RatesSample data10 rows
ProductReasonUnits returnedUnits soldReturn rate
Harbor Mug - Sea GlassArrived damaged290.2
Ridge Socks - Pine / LWrong size390.3
Luna Candle - CedarChanged mind230.7
Moss Knit Beanie - Black / OSChanged mind250.4
Trail Runner Jacket - Navy / MToo small240.5
Studio Tee - White / SDefective item260.3
Coast Scarf - ClayColor mismatch130.3
Dune Notebook - SandNot as described350.6
Moss Knit Beanie - Black / OSToo small150.2
Trail Runner Jacket - Navy / MChanged mind140.3
10 rows in the result. Sample data: illustrative figures, not business results.

How do you calculate return rate by product and reason?

Export your Shopify returns and Shopify order line items, then upload them to Mammoth. It totals closed returns by product and reason, totals units sold by product, adds the sales data, and calculates return rate as units returned divided by units sold.

How it works

How to use the Product Return Rates 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.

Product Return Rates: questions

Which export should you use?
Use the exported files from Shopify returns and Shopify order line items. The workflow reads those exported rows and uses the fields in them to build the result.
What happens to rows that do not match?
Rows that do not match the workflow rules are left out of the matched totals. You can review the unmatched rows and adjust the rules if needed.
How do you change the rules?
Edit the matching words and grouping rules in plain language, then run the workflow again. You can change which product or reason values are grouped together and which rows are included.

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.