Packs / leaderboards-public
rank-sales-reps-from-crm
Rank sales reps by closed-won amount per month with win rate, straight from a CRM deals export
Install
logicpacks pack use leaderboards-public/rank-sales-reps-from-crmget_pack leaderboards-public/rank-sales-reps-from-crmThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
csv - Checks: 1 in
outcome/checks.yaml - Code:
sales_board.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Rank sales reps by closed-won amount per month with win rate, straight from a CRM deals export
Goal
The team sees who closed the most this month, with win rate, from the CRM's own data.
Steps
- Export deals with owner, amount, stage, closed date (crm/run-a-crm-pipeline export-csv deals, or Twenty/EspoCRM export).
sales_board.py deals.csv --month YYYY-MM-> CSV ranking.- Post the top 3 to the team channel (sharing-and-notifications) after review.
Edge cases
- Deals without a close date are ignored.
- Currency mix: convert before ranking.
Don'ts
- Don't publish individual figures outside the team.