Customer lifetime value by cohort
“using the shopify customers and shopify orders, show each signup month cohort with revenue per customer and average order count, excluding refunded orders and counting customers by their first signup month”
Using the Shopify customers and Shopify orders, show each signup month cohort with revenue per customer and average order count, excluding refunded orders and counting customers by their first signup month.
What the agent built
3 steps, each one an ordinary Mammoth step you can open and change.
- FileShopify customersCSV export · 15 rows
- FileShopify ordersCSV export · 30 rows
- StepSummarize non-refunded ordersStep 1
- JoinBring in order totals15 of 15 paired
- StepSummarize signup cohortsStep 3
- ResultSignup Cohort Revenue13 rows
- ScheduleRuns when you sayProposed
On the sample files, every step runs and the result has 13 rows.
- Download Shopify customers sample (15 rows)Shopify admin: Customers > Export
- 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.
| Signup month | Revenue per customer | Average order count | Customers |
|---|---|---|---|
| 2025-11-01 | 255.76 | 3 | 1 |
| 2025-12-01 | 125.27 | 2 | 1 |
| 2026-01-01 | 360.54 | 4 | 1 |
| 2026-02-01 | 68.48 | 1 | 1 |
| 2026-03-01 | 155.52 | 2 | 1 |
| 2026-04-01 | 129.34 | 2 | 1 |
| 2026-05-01 | 298 | 3 | 1 |
| 2026-06-01 | 57.78 | 1 | 1 |
| 2026-07-01 | 136.44 | 1.50 | 2 |
| 2026-08-01 | 146.88 | 2 | 1 |
| 2026-09-01 | 356.40 | 3 | 1 |
| 2026-10-01 | 90.36 | 1 | 2 |
How it works
How to use the Signup Cohort Revenue workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and working on 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.
Signup Cohort Revenue: questions
How do you work out customer lifetime value by cohort?
Which export files should you use?
What happens to refunded or unmatched rows?
How do you change the cohort rules?
Get early access to this workflow
It opens already built and working on sample files. Swap in your own exports to see your result.
Workflows like this
The number you report every month, rebuilt from the latest export, plus the forecast that follows from it.
- Profit and loss by monthBuild a monthly profit and loss statement from a QuickBooks general ledger export, with revenue, COGS, gross profit, expenses, and net income.See the workflow Built by the agent
- 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
- Cohort retentionEach month's new customers, and the share still buying 1, 2, 3… months laterSee the workflow Template
- Customer segmentation by revenueSegment Stripe customers into revenue tiers from exported customer, charge, and threshold files, then count customers and revenue in each tier.See the workflow Built by the agent
- Market basket analysisEvery pair of products bought together, with support, confidence and liftSee the workflow Template