Skip to content

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

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-leaderboards-public

Install

logicpacks pack use leaderboards-public/rank-sales-reps-from-crm
get_pack leaderboards-public/rank-sales-reps-from-crm

The 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

  1. Export deals with owner, amount, stage, closed date (crm/run-a-crm-pipeline export-csv deals, or Twenty/EspoCRM export).
  2. sales_board.py deals.csv --month YYYY-MM -> CSV ranking.
  3. 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.