Customer keeper
- Its job
- repeat purchases
- Its number
- share of customers who return
What it watches
These are the rule codes it owns.
customers_falling
What it may do
Its default permission level is off. It may propose these kinds of action. A person approves every money move.
send_message
Today on the practice business
As of 2026-11-13, on Practice Co 2, a made-up business. Actions filed today: 13.
customers_fallingCustomers served in the last 28 days: 946, down 21.6% from 1207 in the 28 days before
Playground
Pick an event from the real world. Each one was staged on the made-up business and the result was recorded. This is a recording, not a live run, and nothing you do here reaches any books.
All held: 12 of 12 scenarios held.
12 scenarios
HELDRaises an alarmcustomer-keeper-notebook-entered-late
The event
On 2026-11-10 the owner finally keys in a page of the paper notebook from Saturday 2026-09-26, fourteen tickets nobody had recorded. With the busy day back in the books, the last four weeks look like 15% fewer customers than the four weeks before.
What it did
- Customer keeper raised customers_falling: its text includes Customers served in the last 28 days: 1037, down 15.3% from 1224 in the 28 days before
What changed on the morning page
- added Customer keeper|customers_falling|: Customers served in the last 28 days: 1037, down 15.3% from 1224 in the 28 days before
The figure, worked by hand
1037 against 1224, down 15.3%
On 2026-11-10 the last 28 days (10-14..11-10) hold 1,037 baskets and the 28 before (09-16..10-13) 1,210. Fourteen new tickets on 2026-09-26 make 1,224. (1,224 - 1,037) / 1,224 = 15.28% = 15.3%, above the 15% limit; without them 14.30% was below it.
HELDRaises an alarmcustomer-keeper-regular-stops-coming
The event
A café regular, R-40, bought coffee on three Mondays, 14, 21 and 28 September, and has not been back in 44 days. A customer who used to come every week and stopped is worth a phone call before the owner notices the gap in sales.
What it did
- changed ok Customer keeper|customers_falling has "Customers served in the last 28 days: 1028, down 15.4% from 1215"
- Its own run printed: R-40 | last visit 2026-09-28 (44 days ago) | average gap 7.0 days | 3 visits | bought most Coffee beans, medium roast 1 kg (6 units)
What changed on the morning page
- changed Customer keeper|customers_falling|: Customers served in the last 28 days: 1028, down 15.3% from 1213 in the 28 days before -> Customers served in the last 28 days: 1028, down 15.4% from 1215 in the 28 days before
The figure, worked by hand
R-40, 44 days, gap 7.0, 3 visits, 6 units
Visits 2026-09-14, 09-21, 09-28 (one ticket each). Average gap = (09-28 minus 09-14 = 14 days) / (3 - 1) = 7.0. Days since the last visit to 2026-11-11 = 2 + 31 + 11 = 44, more than 21 and more than 2 x 7.0 = 14, and 3 visits is the minimum: stopped. Coffee 2 + 2 + 2 = 6 units. Two of the tickets (09-21, 09-28) fall in the earlier 28 days (09-17..10-14): 1,213 + 2 = 1,215; (1,215 - 1,028) / 1,215 = 15.39% = 15.4%.
HELDRaises an alarmcustomer-keeper-school-fair-brings-customers-back
The event
A school fair across the street sends twenty extra customers through the door on 2026-11-11, each paying with a card for a pack of straws. The shop that was losing customers is, for one day, not.
What it did
- Customer keeper's customers_falling problem went away
What changed on the morning page
- removed Customer keeper|customers_falling|: Customers served in the last 28 days: 1028, down 15.3% from 1213 in the 28 days before
The figure, worked by hand
1048 against 1213, down 13.6%
Baskets of 2026-10-15..11-11: 1,028 + 20 new tickets = 1,048 against 1,213 before. (1,213 - 1,048) / 1,213 = 13.60%, under the 15% limit, so the problem is gone.
HELDStays quietcustomer-keeper-new-customer-card
The event
The owner adds a new account, a corner store, to the list of customers in the shop file before selling to it. Writing a customer down has no effect on anything until that customer buys.
What it did
It stayed quiet: the morning page did not change.
The figure, worked by hand
nothing changes
C1031 has no sale, no payment and no ticket: it is in no total of owed money, baskets, sales or purchases, and the 30 existing ids are unchanged.
A pair at the edge of a limit
The limit: customers served fell 15% on the 28 days before. Value: 15%.
HELDJust over the limitcustomer-keeper-fall-just-over-fifteen-percent
The event
On 2026-11-10 the owner keys in eleven more tickets from the notebook page of Saturday 2026-09-26, so the four weeks before the last four weeks hold 1,221 baskets against the 1,037 of the last four. One basket fewer than the 1,220 at which the fall is exactly 15% would leave the shop looking fine.
What it did
- Customer keeper raised customers_falling: its text includes Customers served in the last 28 days: 1037, down 15.1% from 1221 in the 28 days before
What changed on the morning page
- added Customer keeper|customers_falling|: Customers served in the last 28 days: 1037, down 15.1% from 1221 in the 28 days before
The figure, worked by hand
1037 against 1221, down 15.1%
On 2026-11-10 the last 28 days (10-14..11-10) hold 1,037 baskets and the 28 before (09-16..10-13) 1,210 (counted from the ledger, one basket per distinct ticket). Eleven new tickets dated 09-26 make 1,221. A fall of exactly 15% needs 1,037 / 0.85 = 1,220 before; 1,220 is the value the source does not decide, so the pair sits one basket either side: 1,221 here. (1,221 - 1,037) / 1,221 = 184 / 1,221 = 15.07% = 15.1%, over 15%.
HELDOne step undercustomer-keeper-fall-just-under-fifteen-percent
The event
On 2026-11-10 the owner keys in nine tickets from the notebook page of Saturday 2026-09-26, so the earlier four weeks hold 1,219 baskets against 1,037 in the last four. A fall of 14.9% is a slow month, not an alarm a real owner wants.
What it did
It stayed quiet: the morning page did not change.
The figure, worked by hand
nothing changes
The 28 days before (09-16..10-13) hold 1,210 baskets; nine new tickets make 1,219. The last 28 days hold 1,037. 1,220 is the exact 15% and is not decided by the source, so the pair sits one basket either side: 1,219 here. (1,219 - 1,037) / 1,219 = 182 / 1,219 = 14.93%, under 15%: no customers_falling.
A pair at the edge of a limit
The limit: stopped coming: at least 3 visits. Value: 3 visits.
HELDJust over the limitcustomer-keeper-third-visit-makes-a-regular-who-stopped
The event
R-51 bought sugar on three Mondays, 2026-08-24, 08-31 and 09-07, and has not been back in 65 days. A customer who came every week three times and stopped is the first one a personal call can win back.
What it did
- Its own run printed: Named customers: 70 (457 visits, CAD 94,063.78)
- Its own run printed: with at least 3 visits): 14
- Its own run printed: R-51 | last visit 2026-09-07 (65 days ago) | average gap 7.0 days | 3 visits | bought most Sugar packets (3 units)
The figure, worked by hand
R-51, 65 days, gap 7.0, 3 visits; 14 stopped
Visits 2026-08-24, 08-31, 09-07, one ticket each. Average gap = (09-07 minus 08-24 = 14 days) / (3 - 1) = 7.0. Days from 09-07 to 2026-11-11 = 23 + 31 + 11 = 65 (Sep 7 to Sep 30 is 23), more than 21 and more than 2 x 7.0 = 14, and 3 visits is the minimum, so R-51 has stopped. The 13 customers of the untouched books who have stopped (counted by the rule from the ledger) become 14. Named customers 69 + 1 = 70; visits 454 + 3 = 457; spend 9,401,626 + 3 x 1,584 = 9,406,378 centimes = CAD 94,063.78. Sugar 3 units.
HELDOne step undercustomer-keeper-two-visits-is-no-regular
The event
R-51 bought sugar on two Mondays, 2026-08-24 and 08-31, and has not been back. Two visits are a customer trying the shop, not a regular whose absence the owner should chase.
What it did
- Its own run printed: Named customers: 70 (456 visits, CAD 94,047.94)
- Its own run printed: with at least 3 visits): 13
- Its own run printed: R-51 | 2026-08-24 | 2026-08-31 | 2 | CAD 31.68 | 7.0
The figure, worked by hand
R-51 not stopped; 13 stopped as before
Two visits (08-24 and 08-31, one ticket each) are under the minimum of 3, whatever the days since: the untouched 13 stay 13. Named customers 69 + 1 = 70; visits 454 + 2 = 456; spend 9,401,626 + 2 x 1,584 = 9,404,794 centimes = CAD 94,047.94. R-51 spent 2 x 15.84 = 31.68; gap (08-31 minus 08-24 = 7 days) / (2 - 1) = 7.0.
A pair at the edge of a limit
The limit: stopped coming: the last visit older than 2 x the customer's average gap. Value: 2 x average gap.
HELDJust over the limitcustomer-keeper-gap-just-over-twice-the-average
The event
R-52 came on 2026-09-13, 09-25 and 10-12 and has been away 30 days since, against an average gap of 14.5 days. Away more than twice the usual gap is how an owner senses a regular has gone.
What it did
- Its own run printed: Named customers: 70 (457 visits, CAD 94,063.78)
- Its own run printed: with at least 3 visits): 14
- Its own run printed: R-52 | last visit 2026-10-12 (30 days ago) | average gap 14.5 days | 3 visits | bought most Sugar packets (3 units)
The figure, worked by hand
R-52, 30 days, gap 14.5; 14 stopped
Visits 2026-09-13, 09-25, 10-12 (the last two on tickets that already exist in the books, so no basket is added). Average gap = (10-12 minus 09-13 = 29 days) / (3 - 1) = 14.5; 2 x 14.5 = 29. Days from 10-12 to 2026-11-11 = 19 + 11 = 30 (Oct 12 to Oct 31 is 19). 30 > 29 and 30 > 21 and 3 visits: stopped. 13 + 1 = 14 stopped; named customers 70, visits 454 + 3 = 457, spend 9,401,626 + 3 x 1,584 = CAD 94,063.78.
HELDOne step undercustomer-keeper-gap-exactly-twice-the-average
The event
R-52 came on 2026-09-12, 09-25 and 10-12 and has been away 30 days, exactly twice the average gap of 15 days. A shop that has been without a customer for exactly twice their usual gap has not yet missed them.
What it did
- Its own run printed: Named customers: 70 (457 visits, CAD 94,063.78)
- Its own run printed: with at least 3 visits): 13
- Its own run printed: R-52 | 2026-09-12 | 2026-10-12 | 3 | CAD 47.52 | 15.0
The figure, worked by hand
R-52 not stopped; average gap 15.0; 13 stopped as before
Visits 2026-09-12, 09-25, 10-12 (the last two on existing tickets). Average gap = (10-12 minus 09-12 = 30 days) / 2 = 15.0; 2 x 15.0 = 30. Days from 10-12 to 2026-11-11 = 30. The source says "older than": 30 is not older than 30, so R-52 has not stopped and the 13 stay 13. Spend 3 x 15.84 = 47.52; named customers 70, visits 457, spend CAD 94,063.78.
A pair at the edge of a limit
The limit: stopped coming: the last visit older than 21 days. Value: 21 days.
HELDJust over the limitcustomer-keeper-away-twenty-two-days-stopped
The event
R-53 came on 2026-10-12, 10-16 and 10-20, every four days, and has been away 22 days. A customer who came twice a week and is gone for three weeks is the one the owner wants to hear about.
What it did
- Its own run printed: Named customers: 70 (457 visits, CAD 94,063.78)
- Its own run printed: with at least 3 visits): 14
- Its own run printed: R-53 | last visit 2026-10-20 (22 days ago) | average gap 4.0 days | 3 visits | bought most Sugar packets (3 units)
The figure, worked by hand
R-53, 22 days, gap 4.0; 14 stopped
Visits 2026-10-12, 10-16, 10-20 (each on a ticket that already exists in the books, so no basket is added). Average gap = (10-20 minus 10-12 = 8 days) / 2 = 4.0; 2 x 4.0 = 8. Days from 10-20 to 2026-11-11 = 11 + 11 = 22 (Oct 20 to Oct 31 is 11). 22 is older than 21 and than 8, with 3 visits: stopped. 13 + 1 = 14 stopped; named customers 70, visits 454 + 3 = 457, spend 9,401,626 + 3 x 1,584 = CAD 94,063.78.
HELDOne step undercustomer-keeper-away-exactly-twenty-one-days
The event
R-53 came on 2026-10-12, 10-16 and 10-21, and has been away exactly 21 days. Three weeks of absence is not yet more than three weeks, and a call too early annoys a regular.
What it did
- Its own run printed: Named customers: 70 (457 visits, CAD 94,063.78)
- Its own run printed: with at least 3 visits): 13
- Its own run printed: R-53 | 2026-10-12 | 2026-10-21 | 3 | CAD 47.52 | 4.5
The figure, worked by hand
R-53 not stopped; 13 stopped as before
Visits 2026-10-12, 10-16, 10-21 (existing tickets). Average gap = (10-21 minus 10-12 = 9 days) / 2 = 4.5; 2 x 4.5 = 9. Days from 10-21 to 2026-11-11 = 10 + 11 = 21. The source says "older than ... 21 days": 21 is not older than 21, so R-53 has not stopped and the 13 stay 13. Spend 3 x 15.84 = 47.52; named customers 70, visits 457, spend CAD 94,063.78.
How it was checked
Exam today: 9 of 9 cases passed. 0 failed and 0 wrong.
Scenarios: 12 of 12 held, 0 failed, 0 not run.
| Day | Exam passed | Of cases | Problems | Actions |
|---|---|---|---|---|
| 2026-11-12 | 8 | 8 | 1 | 13 |
| 2026-11-13 | 9 | 9 | 1 | 13 |
These counts show the software does what it says. They do not promise your results.