Sales Follow-up OS: Deterministic SLA Rules So No Lead, Quote, or Meeting Falls Through
Stop losing deals to missed follow-ups with deterministic SLA rules and a cancel-on-reply state machine, with AI drafts gated behind rep approval.
by trsgogogo (GitHub)
- medium
- Nov 4, 2026
Shown: The source shows the workflow or result so you can inspect it.
Read the source (github.com)(opens in a new tab)The workflow
The workflow as recorded. Replace anything in [BRACKETS] with your own details.
Clone the repo, copy .env.example to .env, generate a token, and run the server (Python 3.10-plus, standard library only at runtime) or Docker Compose; the dashboard runs locally on port 8080. Leads enter via the dashboard or POST /api/leads, are validated and deduped, and assigned round-robin from a configured owner list. Fixed rules then fire without AI: a new lead uncontacted for 10 minutes creates an overdue first-contact task, a quote with no reply triggers staged reminders on days 3, 7, and 14 with editable drafts, a meeting ending without a next step triggers a reminder at 24 hours, and an overdue next step creates a reminder at its deadline. A reply, won, lost, or opt-out event cancels pending tasks and unsent notifications. AI is optional and gated: the dashboard summary-and-draft action calls a configured model, the rep edits and approves the draft, and SMTP send (off by default) is a separate action after approval. n8n templates (lead intake, customer event intake, scheduled scans, notification forwarding) and an installable agent skill ship alongside.
How it went
No separate result detail is recorded for this play. The source shows the workflow or result so you can inspect it.
A follow-up state machine where no lead, quote, or meeting falls through: timed reminders at 10 minutes, days 3/7/14, and 24 hours, all cancelled automatically on reply, win, loss, or opt-out.
How to try it
A clone of the repo, a .env from the example, and a generated token; runs on Python 3.10-plus or Docker Compose with the dashboard on port 8080.
Not recorded for this play. Check the source before you rely on it.
Worth knowing
Shown, with an early-MVP caveat. Public MIT repo with runnable code, a rule table, and tests covering deadline boundaries, dedup, round-robin, cancellation after replies, and approval invalidation. Limits are explicit in the README: 0 stars and 3 commits at check time, one instance and one shared token, no business hours or quiet hours, reply detection depends on an external mailbox or CRM trigger (the app does not read Gmail itself), and n8n files have passed JSON checks but import behavior must be verified in the target instance.
Source and credit
trsgogogo (GitHub)
The source shows the workflow or result so you can inspect it.