Skip to content
SlashClone
Made by@revopslab

Pipeline hygiene

@revopslab/pipeline-hygiene

Check open deals in a CRM export (HubSpot, Salesforce, or any CSV) for past close dates, deals stuck in a stage, no recent activity, missing required fields (also by stage), zero amounts, and close dates too far out. Writes a hygiene score and a fix list per rep you can send out.

SkillRevOpsv1.0.0 (latest)Tested
Activity
New: be the first to try it
  1. 1# Pipeline hygiene
  2. 2
  3. 3Checks every open deal in your CRM export for the problems that wreck a forecast: past close dates, deals stuck in a stage, no recent activity, missing fields, zero amounts, and close dates years away. You get a hygiene score and a fix list per rep.
  4. 4
  5. 5## Who it is for
  6. 6
  7. 7RevOps and sales managers on HubSpot, Salesforce, or any CRM that exports CSV, who want clean data before the weekly forecast call.
  8. 8
  9. 9## Example
  10. 11Input: `examples/opportunities.csv` (six deals) and `examples/hygiene.json` (Decision Maker required from Proposal on).
  11. 13Output (`out/hygiene.md`):
  12. 15```text
  13. 16Hygiene score 20%: 1 of 5 open deals are clean.
  14. 17Rep B: Contoso Robotics: new logo (Proposal, $120,000): close date 2026-10-31 is 4 days ago;
  15. 18 81 days in Proposal; last activity 23 days ago; missing next_step, Decision Maker
  16. 19(no owner): Adventure Works: upsell: missing close_date, owner, Decision Maker
  17. 20```
  18. 22Plus `out/hygiene-fix-list.csv`, one row per deal to fix.
  19. 24## What it can access
  20. 26- Runs `node scripts/hygiene.mjs` (Node built-ins only, no network).
  21. 27- Reads `data/` (plus the kit's own `examples/`), writes `data/` and `out/`.
  22. 29## Setup
  23. 31None. Export open opportunities to `data/opportunities.csv`. Optionally copy `examples/hygiene.json` to `data/` and set your own thresholds.