# rank-sales-reps-from-crm

Rank sales reps by closed-won amount per month with win rate, straight from a CRM deals export

- **Space:** leaderboards-public (https://github.com/Tech-Realm/space-leaderboards-public/tree/main/rank-sales-reps-from-crm)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3
- **Routes:** csv; checks: 1
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use leaderboards-public/rank-sales-reps-from-crm` or MCP `get_pack leaderboards-public/rank-sales-reps-from-crm`
- **Files:** CHANGELOG.md, code/sales_board.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/deals.csv, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (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.



---

Canonical URL: https://logicpacks.io/packs/leaderboards-public/rank-sales-reps-from-crm

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
