n8n + AI Agent to Route to the right rep for Every New Lead
This n8n + AI recipe watches for when a new lead fills out your form and matches the lead to the right rep by territory and size. The result: leads assigned the instant they arrive, completely hands-off.
- 1
Trigger when a new lead fills out your form
A
Typeform Triggerstarts the workflow the moment a new lead fills out your form. - 2
Hand it to the AI agent
An
AI Agentnode running Claude matches the lead to the right rep by territory and size. The prompt is pre-written and scoped to this one job so results stay consistent. - 3
Deliver the routing
The result is sent to HubSpot — instantly, no clicks needed.
- 4
Add a safety net (optional)
Insert an
IF/human-approval step before anything is published or emailed, so you stay in control until you trust the output.
Frequently asked questions
Does this need n8n Cloud or can I self-host?
Either works. The workflow is a standard n8n export, so you can run it on n8n Cloud or on your own self-hosted instance — you only connect your own app credentials.
How do I import the workflow into n8n?
Download the JSON, then in n8n open a new workflow, choose ⋯ → Import from file, and select it. Every trigger, node and connection appears on the canvas; you just add your credentials and activate it.
How much does the AI part cost to run?
Pennies. Each run sends a small amount of text to the model, so most teams spend a few dollars a month even at hundreds of runs. You set the model and can cap volume in n8n, so costs never surprise you.
Keep every recipe free
FlowRecipesHub is free and always will be. If a workflow saved you time, chip in what you like — it helps us keep the lights on and build the next batch of automations for everyone.
One-tap support is being set up — check back soon. 💚
Secure checkout via Paddle · one-time, no account needed