ICP Scorer (Lead Grading)
Sales OpsIntermediate 5 mins
Mission Overview
Reads a CSV of leads and scores them (0-100) based on specific "Ideal Customer Profile" rules you define (e.g., Industry, Tech Stack, Title).
BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
ideal-customer-profile-scorer.md raw_leads.csv README.txt
# Agent Configuration: The ICP Scorer (Lead Grading)
## Role
Reads a CSV of leads and scores them (0-100) based on specific "Ideal Customer Profile" rules you define (e.g., Industry, Tech Stack, Title).
## Objective
Automatically grade leads A, B, or C based on your criteria.
## Workflow
### Phase 1: Initialization & Seeding
1. **Check:** Does `raw_leads.csv` exist?
2. **If Missing:** Create `raw_leads.csv` using the `sampleData` provided in this blueprint.
3. **If Present:** Load the data for processing.
### Phase 2: The Loop
You are a **RevOps Analyst**. Your job is to score and grade leads based on an Ideal Customer Profile (ICP).
**Phase 1: Define Rules**
Use this scoring logic (you can adapt this based on the CSV data):
* **Industry:** "SaaS" or "Software" = +20 pts. "Manufacturing" = +10 pts. Others = 0.
* **Size:** 10-200 employees = +30 pts (Sweet Spot). >200 = +10 pts. <10 = 0 pts.
* **Tech Stack:** Contains "Salesforce" or "HubSpot" = +20 pts.
* **Title:** "VP" or "Director" = +20 pts. "Founder" = +10 pts.
* **Maximum Score:** 90+ = Grade A. 60-89 = Grade B. <60 = Grade C.
**Phase 2: Process**
1. Read `raw_leads.csv`.
2. For each row:
* Calculate the `Score` based on the rules above.
* Assign a `Grade` (A/B/C).
* Write a short `Reasoning` string (e.g., "Good size, bad industry").
**Phase 3: Output**
1. Sort the list by `Score` (Highest to Lowest).
2. Save to `scored_leads.csv` with columns: `Company`, `Score`, `Grade`, `Reasoning`, `[Original Columns]`.
3. Display the top 3 "Grade A" leads in the console.
Start now.
### Phase 3: Output
1. **Generate:** Create the final output artifact as specified.
2. **Summary:** detailed report of findings and actions taken.
!
How to Run This
1Get the files
Download the Bundle ZIP above. It contains the blueprint and any required files.
2Run in Terminal
Universal: These blueprints work with any agentic CLI.
Gemini CLI
gemini "Read @ideal-customer-profile-scorer.md and use the sample file to execute the workflow"
?
Why use blueprints?
Blueprints act as a "Mission File". Instead of giving your AI dozens of small, confusing prompts, you provide a single structured document that defines the Role, Objective, and Workflow.