lapsewatch

v0.1.0
io.github.GillMacedo/lapsewatch Checked 6 hours ago Published 1 month ago

Find 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.

ParameterTypeDescription
path *stringPath to the orders CSV
as_ofstringDate to measure from, YYYY-MM-DD. Default is the newest order
columnsobjectColumn names by field (date, customer, amount), when detection fails
date_formatstringdmy or mdy, needed only if the tool reports that dates are ambiguous
limitnull | integerMost 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.

ParameterTypeDescription
path *stringPath to the orders CSV