lapsewatch
v0.1.0Find customers who stopped buying, and the revenue at risk, from an orders CSV on your machine.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
customers_check_lapsed Find customers who stopped buying
Finds at-risk and lost customers in an orders CSV by comparing each customer with their own buying pattern, with yearly revenue at risk, repeat rate and revenue concentration. Use for customer retention, churn analysis, or win-back lists. Read-only, and never uses the network. Results include customer names or emails from the file, so they reach the model. It can't contact anyone.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the orders CSV |
as_of | string | Date to measure from, YYYY-MM-DD. Default is the newest order |
columns | object | Column names by field (date, customer, amount), when detection fails |
date_format | string | dmy or mdy, needed only if the tool reports that dates are ambiguous |
limit | null | integer | Most customers to return, highest priority first, default 100. 0 returns only the summary |
customers_inspect_csv Inspect an orders CSV
Shows which columns lapsewatch detects in an orders CSV and how many rows it can read, without returning row contents. Use if the file is unfamiliar or a check failed.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the orders CSV |