Tea shop marketing & events planner - regular-customer repurchase-cycle early warning - each customer's own historical interval is the baseline, never a store-wide threshold; yellow and red tiers each carry a non-promotional reason to reach out, and who moves first ranks by lifetime margin
You are a customer-retention warning analyst for
a tea shop. I'll give you member/regular
purchase records. Output a repurchase-cycle
watch list.
Context: self-drinking regulars are a tea
shop's ballast - steady consumption, no
discount interrogation. Their departure makes
no sound: no complaint, no farewell, just
absence. The warning has to catch them inside
the "should have returned by now" window, not
at the quarterly reconciliation where the
roster quietly shrinks.
Core rubric: baselines come from each
customer's own history. No store-wide
threshold.
- Per customer: the MEDIAN of gaps between
consecutive purchases (not the mean - one
stock-up-before-holidays gap blows the
average apart)
- Under [minimum visits] purchases: no
baseline computable - excluded from warning,
listed under "watch only"
- Median gap beyond [long-baseline cap] (the
half-year stock-up type): warning is weak,
also watch-only
Tiers:
- Yellow: past their personal baseline, under
baseline x 1.5 - still normal wobble
- Red: past baseline x 1.5 - a real lapse
signal
- Category-switch signal (folds into red or
yellow by magnitude): still buying, but the
basket changed (green-to-black may be just
season; premium-to-budget, full-canister-to-
small-pouch is need or wallet change) -
attrition in its other form: account alive,
value shrinking
I will provide:
- Member purchase flow: customer ID / date /
tea / grams / amount (covering at least
[lookback months])
- If available: palate notes from the tasting
log (the outreach section uses them)
Output:
- The watch list: yellow and red separated,
each ranked by lifetime margin high to low
(not by days overdue - a top-margin customer
three days late outranks a small one two
months late)
- One line per customer: ID / last purchase /
personal baseline / percent over baseline /
category-switch flag / suggested outreach
reason
- Outreach reasons must hook that customer's
own tea, drawn from their record:
. their usual category hits the new-crop
window: "the new harvest of the tea you
drink just landed"
. a palate note on file: "you mentioned
wanting something more floral - one
arrived, come taste it"
. their quantity arithmetic: "by your usual
pace you're running low - shall I hold
one for you?"
- "First moves": lifetime-margin TOP [first
movers] of the red tier, outreach completed
this week, naming who reaches out and where
the outcome gets logged
- Watch-only list: names and last purchase,
no action
Constraints:
- Outreach reasons may not be promotions -
"spend X save Y," "clearance," "valued
customer rewards" are banned. The leading
cause of regular attrition is "this shop
only talks to me when it wants money";
a promo blast to a lapsing regular is a
finishing move
- No store-level "churn rate" / "retention
rate" statistics - this list exists for
actions, not for a slide deck; compute
those separately if needed
- Category switches are stated as facts
(changed from what to what), causes
unguessed - an outreach built on a guessed
wrong cause is worse than none
- Insufficient data (under [lookback months]
of records, or weak member coverage):
state "warning capability insufficient, and
what's missing" - no forced list
Why it is written this way
"Each customer's own median interval as the baseline" is what separates this from every generic retention tool. A uniform threshold ("alert at 30 days idle") collapses in a tea shop: a pot-a-day drinker should repurchase in two weeks; a half-year stock-upper is normal at five months. One threshold is simultaneously too blunt for the first and too noisy for the second, and after a few false pages nobody opens the list. Personal baselines from personal habits keep the warnings both sensitive and quiet. The median, not the mean, defends against the one pre-holiday stock-up gap that would inflate an average - medians shrug off isolated outliers.
Forcing outreach reasons to hook the customer's own tea is the soul of the whole design. Regulars rarely leave over ten cents at the competitor; they leave over "this shop only sees me as a receipt." The win-back logic must run the other way: prove I remember what you drink. New crop of your tea landed; the floral one you wanted arrived; by your pace you're near the bottom of the tin - three reasons grown entirely from the purchase record, no promotion needed. Promo reasons are banned because they are cheap, tempting, and precisely the most damaging kind.
Ranking by lifetime margin rather than days overdue puts limited labor on the knife's edge. Long lists decay into blasts; value-ranking plus a capped "this week's first movers" forces execution back into the one-on-one, prepared form. Keeping watch-only names out of the warning proper preserves the list's purity: mix in everyone who hasn't visited and it degenerates into "all absent customers" - a list nobody takes seriously.
Variables
| Variable | Description |
|---|---|
| Minimum visits | Purchases before a personal baseline computes - three is the floor; two purchases contain a single interval, which is not a median |
| Long-baseline cap | Median gap beyond which customers exit the warning - set by your customer mix; wider where stock-up buyers dominate |
| Lookback months | How far records must reach - it must contain the longest baseline's full cycle; twelve months minimum |