straightup / Blog / D2C / e-commerce

RFM Segmentation for E-commerce: A Practical Guide for Indian D2C Brands

Updated 3 Dec 2026 · 5 min read

RFM segmentation for e-commerce sorts your customers by three things you already have in your order data: how recently they bought (Recency), how often they buy (Frequency) and how much they've spent (Monetary). Score each customer 1–5 on all three, group similar scores, and you stop sending the same WhatsApp broadcast to a loyal buyer and a one-time discount hunter.

This guide shows how to build it in Google Sheets with a Shopify export, which eight segments to use, and what message to send each one. If you want segments refreshed automatically and tied to WhatsApp journeys, see our D2C WhatsApp CRM automation.

Why RFM, and not just "all customers"

Most Indian D2C brands send the same sale message to their whole list. That's expensive on WhatsApp, where a marketing message costs about ₹0.86–₹1.10 each as of late 2026 (check Meta's or your provider's current rate card). Sending 50,000 messages to everyone costs ₹43,000–₹55,000. Sending the right message to the 15,000 most likely to act costs a third of that, and usually gets fewer blocks.

RFM is also simple. It needs no machine learning, no CDP and no data team. Three columns and a ranking.

Step 1: Export your order data

From Shopify: Orders → Export → All orders → CSV for Excel. From WooCommerce: Analytics → Orders → Download, or use an export plugin.

You need, per order: customer ID (or phone/email), order date, order total, and status. Remove cancelled and RTO orders, because a returned COD order isn't revenue.

Step 2: Build one row per customer

In a new sheet, create a pivot table with customer as rows and:

ColumnFormula ideaMeaning
Last order dateMAX of order dateUsed for recency
Recency (days)TODAY() minus last order dateLower is better
FrequencyCOUNT of ordersHigher is better
MonetarySUM of order totalHigher is better

Tip: use the last 12–24 months only. A customer who spent ₹20,000 four years ago isn't a VIP today.

Step 3: Score each from 1 to 5

Use percentiles so the scoring adapts to your store. In Google Sheets, PERCENTRANK.INC works:

  • R score: customers in the most recent 20% get 5, the oldest 20% get 1. (Reverse it, because fewer days is better.)
  • F score: top 20% by order count get 5.
  • M score: top 20% by spend get 5.

One catch for D2C: most customers order only once, so frequency bunches up. If 70% of your customers have exactly one order, use fixed bands instead: 1 order = 1, 2 orders = 3, 3–4 orders = 4, 5+ = 5.

Step 4: Map scores to eight segments

You can create 125 combinations, but nobody can run 125 campaigns. Eight is plenty.

SegmentRule (R, F, M)Who they are
ChampionsR 4–5, F 4–5, M 4–5Recent, frequent, high spend
LoyalR 3–5, F 3–5Buy regularly
Promising newR 5, F 1First order in the last few weeks
Potential loyalR 4–5, F 2–3Second or third order, recent
Needs attentionR 3, F 2–3Slowing down
At riskR 1–2, F 3–5, M 3–5Used to be good, gone quiet
HibernatingR 1–2, F 1–2Bought once or twice, long ago
Lost high valueR 1, M 5Big spenders who have not come back

Adjust the rules to your buying cycle. A coffee brand (reorder every 3–4 weeks) and a mattress brand (reorder every few years) need very different recency bands. RFM suits repeat-purchase categories best.

Step 5: Message each segment differently

Here's an illustrative WhatsApp plan for a skincare brand.

SegmentGoalMessage ideaOffer
ChampionsKeep them, get referralsEarly access to a new launchNone needed, or a referral reward
LoyalIncrease basketBundle or regimen upgradeFree gift over a threshold
Promising newSecond orderHow-to-use tips, then a reorder nudge at day 21–30Small, time-bound
Potential loyalHabitReplenishment reminderSubscribe-and-save
Needs attentionRe-engage"Running low?" check-inFree shipping
At riskWin backPersonal note from the brand, what's newMeaningful but capped
HibernatingTest interestOne message, best-seller roundupOnly if margin allows
Lost high valueLearn whyShort feedback questionGesture after reply

Note what's missing: blanket 30% discounts to everyone. Champions don't need a discount to buy; giving them one burns margin. For deeper plays on specific segments, see win-back campaigns and how to raise repeat purchase rate.

A worked ₹ example: segmented vs blast

Illustrative only. A brand has 40,000 customers on WhatsApp and plans one campaign.

ApproachMessagesCost at ₹0.86–₹1.10
Blast to everyone40,000₹34,400–₹44,000
Only Loyal, Potential loyal, Needs attention, At risk14,000₹12,040–₹15,400

The segmented send costs about ₹22,000–₹29,000 less. Whether it earns as much depends on your data, which is why you should test: send the blast-style message to a small random holdout from the excluded segments and compare revenue per message. Our CRM holdout test post explains how to set that up.

Automating it

Doing this in Sheets every week gets old. Options as you grow:

  1. Sheets + scheduled export. Fine for the first few months.
  2. Your WhatsApp provider's segments. Several Indian BSPs let you filter by order count and last order date from a Shopify sync.
  3. A CRM or engagement tool (CleverTap, MoEngage, WebEngage, Klaviyo) that computes RFM-style segments natively.
  4. A small database + n8n that recalculates nightly and pushes segment tags to your WhatsApp tool.

Whichever you pick, the rule is the same: segments must refresh on their own, or they'll be wrong within a month.

Common mistakes

  • Counting RTO and cancelled orders as revenue, which inflates COD-heavy customers.
  • Using lifetime data for a brand that's changed its product line.
  • Too many segments, so none get a proper message.
  • Discounting Champions out of habit.
  • Never checking segment movement. The useful number is how many moved from "Promising new" to "Potential loyal" this month.

A sample weekly routine

Once the sheet is built, the weekly work is small:

  1. Monday: export last week's orders, paste into the raw data tab. Scores and segments update by formula.
  2. Check movement: compare segment counts with last week. A jump in "At risk" is an early warning.
  3. Pick one segment to message this week, not all eight. Rotate through them.
  4. Upload the segment's phone numbers to your WhatsApp tool as a list or tag.
  5. Friday: record messages sent, orders attributed and revenue per message for that segment.

After two months you'll know which segments respond to which message, and that's worth more than any generic benchmark.

Next step

If you already have the order data but every campaign still goes to the whole list, segmentation is probably the cheapest improvement available to you. Book a free teardown call at /#talk and we'll sketch your first eight segments from a sample export.

Frequently asked questions

What is RFM segmentation?

RFM groups customers by Recency (how recently they bought), Frequency (how often they buy) and Monetary value (how much they spend). Each customer gets a score on all three, and similar scores form segments you can message differently.

Can I do RFM analysis in Excel or Google Sheets?

Yes. Export orders from Shopify or WooCommerce, calculate days since last order, order count and total spend per customer, then use percentile ranks to score each from 1 to 5. A store with up to a few lakh orders can do this in Sheets.

How often should I update RFM segments?

Weekly is enough for most D2C brands. Recency changes every day, so segments built once and never refreshed quickly become wrong.

Which RFM segment should I target first?

Usually the 'at risk' group: customers who used to buy often and spend well but haven't ordered recently. They have proven value and are still reachable.

Keep reading

Free 30-minute teardownLet’s talk. Straight up.