Back to library
Sales·n8n workflow

Smart HubSpot Lead Routing with AI

Automatically route HubSpot leads to the right sales rep based on AI scoring, territory, and availability — cutting response time and closing rates.

Overview

**What it automates:** When a new lead enters HubSpot, n8n reads their profile → an OpenAI step scores fit and recommends a routing rule (territory, segment, tier) → the lead is reassigned and a Slack notification alerts the assigned rep. **Business outcome:** Sales teams using AI-based lead routing see 23% faster response times and 18% higher conversion rates. This workflow eliminates manual triage and gets every lead to the right person in seconds. **Apps & nodes:** HubSpot (trigger + contact update), OpenAI (lead scoring), Airtable (routing rules), Slack (rep notifications) **Setup (5 steps):** 1. Create HubSpot webhook trigger for new contacts 2. Add your OpenAI API key (GPT-4 or later) 3. Create Airtable base with territory/tier routing rules 4. Connect Slack workspace and sales channel 5. Customize the routing prompt to match your sales tiers **Difficulty:** Intermediate (25 min setup) | **Credentials:** HubSpot, OpenAI, Airtable, Slack

What's included

Importable n8n workflow (JSON)
Real, wired nodes — trigger, logic, and actions
Setup notes: which credentials to connect
Free updates when the workflow changes
Commercial-use license — keep and customize
Email support if you get stuck

Quickstart

  1. 01

    Download the JSON

    With an active Library Pass, download the workflow file right from this page or your dashboard.

  2. 02

    Import into n8n

    Choose Import from File and select the downloaded JSON. The full agent graph appears, ready to configure.

  3. 03

    Plug in credentials

    Each integration node prompts for credentials on first run. The setup guide lists every credential the agent expects.

  4. 04

    Activate and test

    Run once with sample input, confirm the expected output, then flip the activate toggle.

Reviews (0)

No reviews yet. Be the first.

Sign in to leave a review.

Library Pass

Included with any pass

This agent — and every other in the library — comes with a Library Pass. One pass, the whole catalog.

Get a Library Pass
  • Every agent in the library
  • All new releases while active
  • Unlimited downloads
  • Commercial-use license
  • Priority email support
  • 30-day money-back guarantee
Browse the full library →