Lead Qualification

Build an AI Lead Qualification Agent with HubSpot

Build an AI agent that scores every new HubSpot lead against your Ideal Customer Profile automatically — checking company fit, role seniority, and enrichment data — then assigns a score, updates the CRM record, and fires an instant Slack alert to the assigned rep. No manual review required.

Build This Agent Free See How It Works
Deploy in under 10 minutes
No code required
Production-ready from day one
Works With
HubSpot
Google Sheets
Slack
How It Works

Five Steps From New Lead to Scored and Routed

Every new contact that enters HubSpot is automatically evaluated, scored, and routed — before a rep has even seen the notification.

HubSpot → Score → Route → Alert Pipeline

New contact → ICP check → lead score → CRM update → Slack alert

HubSpot Google Sheets Slack
1

Search Contacts

Agent polls HubSpot for new contacts and retrieves full contact record with all properties

Contact Search via HubSpot
2

Score Against ICP

AI evaluates company size, industry, role seniority, and enrichment data against your ICP criteria

ICP Scoring via Sheets
3

Update CRM

Lead score, fit tier (High/Medium/Low), and qualification notes written back to the HubSpot contact

Contact Update via HubSpot
4

Create Deal

High-fit leads automatically trigger a new deal in the right HubSpot pipeline stage — no rep action needed

Deal Creation via HubSpot
5

Alert the Rep

Slack message sent to the assigned rep with lead summary, score, company context, and HubSpot link

Rep Alert via Slack
Trigger
New HubSpot contact or scheduled batch run
Scoring
ICP criteria from Google Sheets config
CRM Write
Score, tier, notes written to contact record
Deal
Auto-created for High-fit leads only
Alert
Slack message with score and rep routing
What You Get

Everything Lead Qualification Should Do Automatically

The agent replaces the manual work of reviewing every inbound lead — checking fit, assigning scores, updating records, and routing to the right rep — so your team only engages leads worth their time.

ICP Scoring Engine

Every lead evaluated against your defined ICP — industry, company size, job title, seniority, geography, and tech stack. Scoring weights configured in Google Sheets so ops can adjust without touching the agent.

Automatic CRM Updates

Lead score, fit tier, and qualification reasoning written back to HubSpot contact properties immediately after scoring. Reps open the record and the work is already done — no manual review required.

Auto Deal Creation

High-fit leads skip the qualification queue entirely — a HubSpot deal is created at the right pipeline stage the moment the score is assigned. No rep action needed to move the lead forward.

Instant Rep Alerts

High and medium-fit leads trigger a Slack message to the assigned rep with the lead's company, score, reasoning, and a direct HubSpot link. Rep arrives fully briefed — not cold.

Scoring Audit Log

Every qualification run logged to Google Sheets — contact name, company, raw score, tier, and the specific ICP criteria that drove the result. Full audit trail for ops review and model tuning.

Continuous Improvement

Scoring weights and ICP criteria live in Google Sheets — update them any time without redeploying the agent. A/B test different scoring models against conversion data to sharpen qualification accuracy over time.

The Difference

Manual Lead Review vs AI Qualification

THE OLD WAY
Manual Lead Review
Done by an SDR or ops manager, one contact at a time
10–20 min
Per Lead
~30%
Leads Skipped
~45%
Inconsistent Scores
Leads qualified within 1 hour of arriving (vs 100/day)
0~20% qualified same hour100
SDR opens each new HubSpot contact, checks LinkedIn, tries to judge company fit — judgment varies by rep and mood
No standard scoring model — one rep calls a 500-person company High, another calls it Low
Leads sit unreviewed for hours or days — hot inbound goes cold while the queue backs up
High-fit deals missed entirely because no one got to them before the prospect moved on
VS
THE ARCHITECT WAY
AI Agent-Powered
Fully automated — every lead scored and routed within seconds of entering HubSpot
<60s
Per Lead
100%
Leads Reviewed
Consistent
Every Score
Leads qualified within 1 hour of arriving (vs 100/day)
0100% scored within 60 seconds of arrival100
New contact enters HubSpot — agent pulls the full record, scores against ICP, and writes the result back in under a minute
Scoring is consistent and transparent — same weights applied to every lead, reasoning logged for every decision
High-fit leads get a deal created and a Slack alert fired before the rep has finished their last meeting
Low-fit leads handled gracefully — scored, tagged, and deprioritised without consuming any rep time
100%
Leads scored — no queue backlog
<60s
From HubSpot entry to scored and routed
More high-fit deals created automatically
Zero
Inconsistent or skipped lead reviews
<60s
From HubSpot entry to lead scored, updated, and rep alerted
100%
Of leads reviewed — no backlog, no skipped contacts
More high-fit deals created without rep intervention
Zero
Inconsistent scores — same ICP model applied to every lead
Technical Details

HubSpot + Google Sheets + Slack Deep Dive

How the agent connects HubSpot's contact API, Google Sheets scoring data, and Slack's messaging to run a production-grade lead qualification pipeline at any volume.

HubSpot Contact Search

Contact search via HubSpot fetches new contacts on a polling interval or webhook trigger. Full contact record retrieved — all standard and custom properties — for scoring evaluation.

HubSpot CRM Write

Contact update and deal creation via HubSpot writes score, tier, and notes to contact properties. Deal created in the specified pipeline with correct stage, name, and associated contact — all in one operation.

Google Sheets Scoring Config

ICP criteria and scoring weights read from Google Sheets at runtime. Ops team updates the sheet — agent picks up changes on the next run without any redeployment. Scoring history appended to a separate audit tab.

Slack Notifications

Rep alert via Slack posts to the assigned channel or DM with lead name, company, score, tier, key ICP matches, and HubSpot record link. Message formatted for quick scanning — no long reads required.

Error Handling

HubSpot API failures, missing contact properties, and Slack delivery errors handled gracefully. Failed operations retried with exponential backoff. Every error logged with full context — no silent qualification failures.

Security & Auth

OAuth2 for HubSpot with automatic token refresh. Slack bot token scoped to specific channels. Google Sheets access limited to scoring configuration and audit log sheets only.

Agent Prompt
Build an AI agent that qualifies and scores every new HubSpot lead automatically:

1. Contact Detection — Poll HubSpot for new contacts on a defined interval (or trigger on webhook). Fetch the full contact record including company, job title, industry, employee count, and any custom enrichment fields.

2. ICP Scoring — Read scoring criteria and weights from a Google Sheet. Evaluate each contact against:
   - Company size fit (employee count range)
   - Industry match
   - Job title and seniority level
   - Geography
   - Any custom properties (tech stack, funding stage, etc.)
   Assign a numerical score (0–100) and a fit tier: High, Medium, or Low.

3. CRM Update — Write the lead score, fit tier, and qualification reasoning back to the HubSpot contact as custom properties. Update lifecycle stage for High-fit leads.

4. Deal Creation — For High-fit leads, automatically create a HubSpot deal in the specified pipeline at the correct stage. Associate the contact and set the deal name and estimated value.

5. Slack Alert — Post a Slack message to the assigned rep or #qualified-leads channel with: contact name, company, score, tier, the top ICP signals that drove the result, and a direct HubSpot link.

6. Audit Log — Append every qualification result to a Google Sheet: contact name, company, raw score, tier, ICP criteria breakdown, and timestamp.

Integrations: HubSpot (contact search, CRM update, deal creation), Google Sheets (scoring config & audit log), Slack (rep notification).
Frequently Asked Questions

Common Questions

How do I define what counts as a high-fit lead?
You define ICP criteria in a Google Sheet — industry, company size range, job title keywords, seniority level, geography, and any custom properties. Each criterion gets a weight. The agent reads the sheet at runtime so you can adjust scoring without redeploying. You also set the threshold for High, Medium, and Low tiers.
Can it score leads that are already in HubSpot, not just new ones?
Yes — you can run the agent against an existing HubSpot contact list or segment. It fetches each contact, evaluates them against your current scoring model, and updates their properties. Useful for retroactively qualifying a legacy pipeline or re-scoring after you've updated your ICP criteria.
Does it create deals for every lead or only high-fit ones?
By default, deals are only created for contacts that score in the High-fit tier — the threshold is configurable. You can also set it to create deals for Medium-fit leads and assign them to a different pipeline stage. Low-fit leads are scored and tagged but no deal is created.
What if HubSpot doesn't have all the data needed to score a lead?
The agent handles missing fields gracefully — it scores based on what's available and logs which criteria couldn't be evaluated. You can configure whether missing data counts as zero, neutral, or disqualifying. Leads with too many missing fields can be flagged for manual review rather than auto-scored.
Can different leads route to different reps or Slack channels?
Yes — routing rules are configurable. You can route by industry (SaaS leads to one rep, enterprise to another), by company size, or by geography. Each rule specifies a rep DM or Slack channel. Unmatched leads go to a default channel. Rules are set in configuration, not code.
Related Use Cases

More Sales Agents You Can Build

Get Started

Qualify Every Lead Before Your Rep Touches It

No code. No credit card to start. Production-ready in under 10 minutes.

Read the Docs