Skip to content
Workflow · Customers · Opening soon

Customer lifetime value by cohort

See customer lifetime value by signup month cohort from your Shopify exports. Track revenue per customer so far and average order count, while excluding refunded orders.

Early access opens shortly. Check back soon.

Someone typed

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

The agent read it as

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.

  1. File
    Shopify customers
    CSV export · 15 rows
  2. File
    Shopify orders
    CSV export · 30 rows
  3. Step
    Summarize non-refunded orders
    Step 1
  4. Join
    Bring in order totals
    15 of 15 paired
  5. Step
    Summarize signup cohorts
    Step 3
  6. Result
    Signup Cohort Revenue
    13 rows
  7. Schedule
    Runs when you say
    Proposed

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

What you get back

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

Signup Cohort RevenueSample data13 rows
Signup monthRevenue per customerAverage order countCustomers
2025-11-01255.7631
2025-12-01125.2721
2026-01-01360.5441
2026-02-0168.4811
2026-03-01155.5221
2026-04-01129.3421
2026-05-0129831
2026-06-0157.7811
2026-07-01136.441.502
2026-08-01146.8821
2026-09-01356.4031
2026-10-0190.3612
13 rows in the result · 12 shown, problems first. Sample data: illustrative figures, not business results.

How do you work out customer lifetime value by cohort?

Export your Shopify customers and orders, then upload both files. Mammoth groups customers by their first signup month, sums non refunded orders, and shows revenue per customer plus average order count for each cohort. Rows that do not match the rules are left out of the cohort result.

How it works

How to use the Signup Cohort Revenue 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.

Signup Cohort Revenue: questions

Which export files should you use?
Use a Shopify customers export and a Shopify orders export. The workflow needs customer signup dates and order totals to group customers by cohort and calculate lifetime value metrics.
What happens to refunded or unmatched rows?
Refunded orders are excluded from the order totals. Rows that do not match the workflow rules, or cannot be linked into the cohort summary, are not included in the final metrics.
How do you change the cohort rules?
Edit the steps in words, such as the cohort date field, the refund rule, or the metric you want to summarise. Then run the workflow again on the exported files.

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.