🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Clearbit + HubSpot: qualify leads, route fast

Lisa Granqvist Partner Workflow Automation Expert

Your leads are coming in. But half of them are missing a company domain, have a fake phone number, or land in the wrong place in HubSpot. Then the real prospects wait because someone has to clean, enrich, score, and route everything by hand.

This lead qualification automation hits Sales Ops first, honestly, but marketing managers and agency owners feel the drag too. You will follow up faster, stop junk contacts from polluting HubSpot, and get Slack alerts that actually mean something.

This workflow turns raw lead payloads into enriched, scored, routed contacts. You’ll see what it fixes, what you need, and how the routing logic works in plain English.

How This Automation Works

See how this solves the problem:

n8n Workflow Template: Clearbit + HubSpot: qualify leads, route fast

The Challenge: Unqualified Leads Slow Everything Down

Lead routing sounds simple until you live with it. A form submission arrives without a domain, Clearbit can’t enrich, and now someone has to chase missing fields. Another lead has a decent title but works at a tiny company that will never buy, yet it still becomes a “new contact” in HubSpot and wrecks your reporting. Meanwhile the actually-good lead sits untouched because nobody saw it quickly enough. The worst part is the mental load. You’re constantly second-guessing: “Is this worth Sales’ time?”

It adds up fast. Here’s where it breaks down in real teams.

  • You spend about 5–10 minutes per lead just validating basics like email format, domain, and required fields.
  • Enrichment gets done inconsistently, so two similar leads get totally different treatment and your pipeline data becomes noisy.
  • High-value prospects don’t get an immediate Slack ping, which means response time depends on someone “checking HubSpot.”
  • Low-quality submissions still turn into CRM contacts, and later you can’t tell what “good” looks like in reporting.

The Fix: Auto-Enrich, Score, and Route Leads to the Right Team

This workflow starts the moment a new lead hits your webhook from any source (a form, a landing page, a partner list, even manual uploads). First, it validates the payload so incomplete or obviously broken submissions don’t pollute your CRM. Next, it enriches the lead using Clearbit for company intelligence and Apollo for person-level lookup, then merges those results into one clean profile. After that, a scoring step assigns a lead rating based on your qualification criteria, so decisions aren’t left to whoever happens to be on Slack. Finally, it routes the lead: high-value contacts go straight into HubSpot and trigger a Sales alert, while medium leads get created and ping Marketing for nurture.

The workflow begins with intake and validation. Enrichment and scoring happen in the middle, then routing pushes the right record into HubSpot and posts the right message to Slack. The end result is simple: clean contacts, faster follow-up, and fewer arguments about lead quality.

What Changes: Before vs. After

Real-World Impact

Say you get 20 inbound leads a day. If validation takes about 5 minutes and enrichment + routing takes another 5 minutes manually, that’s roughly 3 hours daily spent just moving lead data around. With this workflow, you spend maybe 10 minutes setting up the source to hit the webhook, and then each lead processes automatically while you keep working. Sales still sees the best leads fast (via Slack), but nobody is stuck doing repetitive checks and copy-paste work.

Requirements

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • HubSpot for contact creation and CRM tracking.
  • Clearbit to enrich company and domain intelligence.
  • Apollo API key (get it from your Apollo account settings).
  • Slack to alert Sales and Marketing channels.
  • Google Sheets to log, audit, or review lead activity.

Skill level: Intermediate. You’ll connect accounts, set environment variables, and tweak scoring rules to match your ICP.

Need help implementing this? Talk to an automation expert (free 15-minute consultation).

The Workflow Flow

A new lead hits the webhook. Your form, ad flow, or partner source sends a payload into n8n, which means you’re not locked into a single lead tool.

The workflow validates the submission. If required fields are missing or the payload is clearly unusable, it stops and records the invalid submission so HubSpot stays clean.

Enrichment fills in the context. Clearbit adds company intelligence, Apollo looks up person details via an HTTP request, and a merge step combines everything into one profile you can score.

Scoring and routing handle the decision. A code-based rating assigns a qualification level, then an If route sends “high” leads to a Sales HubSpot path plus a Sales Slack alert, while “medium” leads go to Marketing for nurture.

You can easily modify the scoring criteria to match your ICP, or change the routing so “high” leads assign to a specific owner based on territory. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Webhook Trigger

Set up the inbound webhook to receive new lead submissions and kick off the workflow.

  1. Add the Incoming Lead Webhook node as the trigger.
  2. Set HTTP Method to POST.
  3. Set Path to lead-capture.
  4. Copy the generated webhook URL and use it in your lead capture form or CRM.

Make sure your form sends JSON fields like email, firstName, and lastName to align with downstream enrichment nodes.

Step 2: Validate the Incoming Lead Payload

Ensure only valid leads continue to enrichment while invalid submissions are captured.

  1. Open Validate Lead Payload and confirm two conditions exist.
  2. Set the first condition to check email is not empty with Left Value ={{ $json.email }} and Operation isNotEmpty.
  3. Set the second condition to validate format with Operation regex and Right Value ^[\w-\.]+@[\w-]+\.[a-zA-Z]{2,}$.
  4. Connect the false path to Record Invalid Submission to capture rejected entries.

⚠️ Common Pitfall: If your lead form sends email under a different field name, update ={{ $json.email }} to match your payload.

Step 3: Enrich Lead Data in Parallel

Run Clearbit and Apollo enrichment simultaneously to enhance lead data before scoring.

  1. Connect Validate Lead Payload to both Clearbit Profile Enrichment and Apollo Person Lookup in parallel.
  2. In Clearbit Profile Enrichment, set Resource to person and Email to ={{ $json.email }}.
  3. Credential Required: Connect your Clearbit credentials.
  4. In Apollo Person Lookup, set URL to ={{ $env.APOLLO_API_URL }}/v1/people/match.
  5. Enable Send Body and add body parameters: email = ={{ $json.email }}, first_name = ={{ $json.firstName }}, last_name = ={{ $json.lastName }}.
  6. Enable Send Headers and add Content-Type = application/json and Cache-Control = no-cache.
  7. Credential Required: Connect your HTTP Header Auth credentials for Apollo API.
  8. Clearbit Profile Enrichment and Apollo Person Lookup both connect into Combine Enrichment Results.

Clearbit Profile Enrichment and Apollo Person Lookup run simultaneously to reduce lead processing time.

Step 4: Score and Route the Lead

Compute a qualification score and route to high or medium priority paths.

  1. In Combine Enrichment Results, keep the default merge behavior to pass both enrichment outputs forward.
  2. Open Compute Lead Rating and keep the provided JavaScript scoring logic as-is, or adjust scoring thresholds as needed.
  3. In Qualification Routing, ensure the condition checks Left Value ={{ $json.qualification.score }} with Operation gte and Right Value 80.
  4. Confirm the true path is used for high-priority leads and the false path for medium priority.

⚠️ Common Pitfall: If Combine Enrichment Results outputs aren’t shaped correctly, Compute Lead Rating may not find enrichment_data and scoring will be inaccurate.

Step 5: Configure CRM and Slack Actions

Send qualified leads to HubSpot and notify the appropriate Slack channels.

  1. From Qualification Routing, connect the true branch to both Create CRM Contact (High) and Alert Sales Team (High) in parallel.
  2. Open Create CRM Contact (High) and set Operation to create.
  3. Credential Required: Connect your HubSpot credentials.
  4. Open Alert Sales Team (High) and set Text to 🚨 **High Priority Lead Alert!** 🚨, and Channel ID to ={{ $env.SLACK_SALES_CHANNEL_ID }}.
  5. Credential Required: Connect your Slack credentials.
  6. From the false branch, connect to Create CRM Contact (Medium) and Notify Marketing (Medium).
  7. Set Create CRM Contact (Medium) Operation to create, and add HubSpot credentials.
  8. In Notify Marketing (Medium), set Text to 📋 New Medium Priority Lead and Channel ID to ={{ $env.SLACK_MARKETING_CHANNEL_ID }}, then add Slack credentials.

Step 6: Test & Activate

Validate the workflow end-to-end before enabling it in production.

  1. Click Execute Workflow and send a sample POST payload to Incoming Lead Webhook with valid email, firstName, and lastName.
  2. Verify Clearbit Profile Enrichment and Apollo Person Lookup both run, then confirm data is merged in Combine Enrichment Results.
  3. Check Compute Lead Rating output for qualification.score and qualification.level.
  4. Confirm the correct path is taken in Qualification Routing and that CRM contacts and Slack alerts are created.
  5. Enable the workflow with the Active toggle to start processing live leads.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Watch Out For

  • HubSpot credentials can expire or need specific permissions. If things break, check your private app scopes and the credential connection in n8n first.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Default prompts in AI nodes are generic. Add your brand voice early or you’ll be editing outputs forever.

Common Questions

How quickly can I implement this lead qualification automation?

About 30–45 minutes if your accounts are already active.

Can non-technical teams implement this lead qualification automation?

Yes, but you’ll want someone comfortable connecting APIs and editing a few variables. No traditional coding, though.

Is n8n free to use for this lead qualification automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in Clearbit and Apollo API costs based on your usage.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

How do I adapt this lead qualification automation solution to my specific challenges?

You can adjust the scoring rules inside the Compute Lead Rating step to match your ideal customer profile. Common tweaks include changing industry targeting, increasing the weight for company size, and adding a “must-have” rule (like requiring a business email domain). If you want different paths, modify the Qualification Routing step so “low” leads go to a nurture email instead of creating a HubSpot contact.

Why is my HubSpot connection failing in this workflow?

Usually it’s an expired credential or missing scopes on your HubSpot private app. Reconnect HubSpot in n8n and confirm the app has permission to create or update contacts. If it fails only on some leads, you may also be hitting a data issue (like an invalid email) coming from the webhook payload.

What’s the capacity of this lead qualification automation solution?

On a typical n8n setup, it can comfortably handle dozens of leads per hour without tuning.

Is this lead qualification automation better than using Zapier or Make?

Often, yes, because this kind of flow benefits from branching logic, merging enrichment sources, and a custom scoring step. In Zapier, multi-path routing and code-like scoring can get expensive fast, and you’re still limited in how you combine data from multiple enrichment tools. Make is more flexible, but you may spend more time maintaining scenarios as the logic grows. n8n also gives you a self-host option, which is useful when lead volume spikes and you don’t want to pay per tiny step. If you’re unsure, Talk to an automation expert and we’ll map the simplest path.

Once this is live, lead handling stops being a daily fire drill. The workflow does the sorting and nudging, and your team focuses on conversations that turn into revenue.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal