Skip to content
agentusehub
Sign in+ Submit
Auto-qualify inbound leads before a rep sees them
SalesBeginnerB2B SaaS

Auto-qualify inbound leads before a rep sees them

Score every demo request against your ICP, update HubSpot and ping the right rep in Slack within a minute of the form submit.

Jump to setup
Time saved
6h / week
Setup time
45 minutes
Running cost
$25/mo
Cost range
$25–100/mo

The problem it solves

“Auto-qualify inbound leads before a rep sees them” is a beginner Sales AI agent workflow from B2B SaaS. It connects n8n, Claude, HubSpot and Slack in 6 steps. Setup takes about 45 minutes, running costs are about $25/mo and it saves roughly 6 hours a week.

Reps spend the first hour of the day opening demo requests from students, competitors and two-person shops that will never buy. Real buyers wait half a day for a reply while the queue gets sorted by hand. By the time someone has checked the company website, the hot lead has booked a call with a competitor.

How it flows
  1. Form submit
  2. Fetch company site
  3. Claude scores fit
  4. HubSpot + Slack

Step-by-step setup

  1. Create the scoring properties

    In HubSpot, add three contact properties: ai_fit_score (number), ai_fit_tier (dropdown: hot, warm, cold) and ai_fit_reason (multi-line text). Reps will sort and filter on these, so create them before building the workflow.

  2. Connect the form trigger

    In n8n, add a HubSpot Trigger node on contact creation, or a Webhook node called from a HubSpot workflow when the demo form is submitted. Pass email, company domain, job title, team size and the "what are you trying to solve" answer.

  3. Pull basic company context

    Add an HTTP Request node that fetches the homepage of the email domain, then an HTML node to extract the visible text. Skip the fetch for free-mail domains like gmail.com and flag those leads for manual review.

  4. Score the lead with Claude

    Add a Basic LLM Chain with an Anthropic Chat Model node (Claude Sonnet), the scoring prompt below and a Structured Output Parser for score, tier and reason. Set temperature to 0 so the same lead gets the same score twice.

  5. Write back and route

    Use a HubSpot node to update the three properties, then an IF node: a score of 70 or above posts to #inbound-hot and assigns an owner by round robin, 40–69 goes into a nurture list, and anything below 40 gets no alert.

  6. Review a week of scores

    Export the scores after seven days and compare them with the meetings reps actually booked. Adjust the ICP rules in the prompt whenever you see two or more misfires of the same kind.

Example prompts

Lead scoring prompt
You are a sales development lead for {{company_name}}, which sells {{product_one_liner}}.

Our ideal customer: {{icp_description}} (for example: B2B software companies, 20-500 employees, with a dedicated RevOps or sales ops person).

Score this inbound lead from 0 to 100 for fit.
Form answers: {{form_answers}}
Job title: {{job_title}}
Company website text: {{website_text}}

Rules:
- Students, job seekers, resellers and competitors score below 20.
- Free email domains cap at 50 unless the answers show clear buying intent.
- Do not guess company size if the website does not state it.

Return only JSON: {"score": number, "tier": "hot" | "warm" | "cold", "reason": "one sentence a rep can read in five seconds"}
Slack alert message
Write a Slack message telling a sales rep about a new hot lead. Keep it under 60 words.

Line 1: {{first_name}} {{last_name}}, {{job_title}} at {{company}} ({{employee_count}} people).
Line 2: Why they scored {{score}}: {{reason}}
Line 3: What they asked for, quoted from the form: {{problem_answer}}
Line 4: One suggested opening question for the first call, based on their answer.

No greetings, no emoji, no bold text.

Frequently asked questions

What does the “Auto-qualify inbound leads before a rep sees them” workflow do?

Score every demo request against your ICP, update HubSpot and ping the right rep in Slack within a minute of the form submit.

Which tools do I need?

You need n8n, Claude, HubSpot and Slack. n8n: catches each new form submission and runs the scoring workflow (n8n Cloud Starter). Claude: reads the form answers and company website text, then returns a fit score and a one-line reason as JSON. HubSpot: source of the demo form; stores the score, tier and reason on the contact record. Slack: posts hot leads to #inbound-hot with the reason and a link to the HubSpot record.

How long does it take to set up?

Plan for about 45 minutes. It is rated beginner. The guide walks through 6 steps, starting with “Create the scoring properties”.

How much does it cost to run?

Expect about $25/mo in running costs ($25–100/mo range).

How much time does it save?

About 6 hours a week, as reported for this setup. Reps spend the first hour of the day opening demo requests from students, competitors and two-person shops that will never buy. Real buyers wait half a day for a reply while the queue gets sorted by hand. By the time someone has checked the company website, the hot lead has booked a call with a competitor.

Sales · Intermediate
  1. Meeting in 60 min
  2. Perplexity research
  3. Claude writes brief

Build a pre-call brief for every discovery meeting

An hour before each discovery call, get a one-page brief on the account, the attendee and recent news, saved to Salesforce.

Make · Perplexity · Claude · Salesforce
Customer Support · Intermediate
  1. New ticket webhook
  2. Claude classifies
  3. Draft from help docs

Triage support tickets and draft first replies

Every new Zendesk ticket gets a category, priority and sentiment tag plus a draft reply in an internal note before an agent opens it.

Zendesk · n8n · Claude
Coding · Intermediate
  1. PR opened
  2. Copilot inline review
  3. Claude risk summary

Automated first-pass review on every pull request

Copilot and Claude review each PR for bugs, missing tests and risky changes before a human looks, so reviewers can focus on design.

GitHub Copilot · Claude · Slack
Add this badge to your site

Built this workflow? Show it is featured on AgentUseHub with a live upvote count that links back here. About badges

Featured on AgentUseHub