Shopify customer cohorts
“group customers by first order month and show what share ordered again in each following month”
group customers by first order month and show what share ordered again in each following month, for 12 months, from Shopify orders.
What the agent built
1 step, each one an ordinary Mammoth step you can open and change.
- FileShopify ordersCSV export · 30 rows
- StepShow monthly repeat shareStep 1
- ResultMonthly Cohort Retention72 rows
- ScheduleRuns when you sayProposed
Checked on the sample files: every step ran, 72 rows came out.
- Download Shopify orders sample (30 rows)Shopify Admin: Orders > Export
What you get back
The result of that run, the rows to look at first.
| First order month | Following month | Months after first order | Repeat share | Customers ordering again | Starting customers |
|---|---|---|---|---|---|
| 2025-11-01 | 2025-12-01 | 1 | 0.33 | 1 | 3 |
| 2025-11-01 | 2026-01-01 | 2 | 0.67 | 2 | 3 |
| 2025-11-01 | 2026-02-01 | 3 | 0 | 0 | 3 |
| 2025-11-01 | 2026-03-01 | 4 | 0 | 0 | 3 |
| 2025-11-01 | 2026-04-01 | 5 | 0 | 0 | 3 |
| 2025-11-01 | 2026-05-01 | 6 | 0 | 0 | 3 |
| 2025-11-01 | 2026-06-01 | 7 | 0 | 0 | 3 |
| 2025-11-01 | 2026-07-01 | 8 | 0 | 0 | 3 |
| 2025-11-01 | 2026-08-01 | 9 | 0 | 0 | 3 |
| 2025-11-01 | 2026-09-01 | 10 | 0 | 0 | 3 |
| 2025-11-01 | 2026-10-01 | 11 | 0 | 0 | 3 |
| 2025-11-01 | 2026-11-01 | 12 | 0 | 0 | 3 |
How do you group Shopify customers by first order month and show repeat share?
Export your Shopify orders, then use the workflow to group each customer by the month of their first order. It then shows what share ordered again in each following month for 12 months. The result is a monthly customer retention view.
How it works
How to use the Monthly Cohort Retention workflow
- 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.
- 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.
Monthly Cohort Retention: questions
What export should you use from Shopify?
What happens to orders that do not match the rules?
How do you change the workflow rules?
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.
Workflows like this
Find the few products that make most of your sales, what sells together, and the stock that sits too long.
- Pareto (ABC) analysisEvery item ranked by its total, with its share, the running share and an A, B or C classSee the workflow Template
- Inventory turnover by SKURank Shopify SKUs by inventory turnover ratio using product, order, and inventory exports from the last 12 months.See the workflow Built by the agent
- Market basket analysisEvery pair of products bought together, with support, confidence and liftSee the workflow Template
- Inventory turnover and days on handEach product's turnover and days of stock on hand, month by monthSee the workflow Template
- Demand forecast by SKUForecast next month’s demand for each SKU from your Shopify order line export using recent monthly averages and trend.See the workflow Built by the agent
- Economic order quantityCalculate economic order quantity for each item from a NetSuite item cost and demand export.See the workflow Built by the agent