Templates / Score and route web form leads using Claude Haiku, HubSpot and Slack

Score and route web form leads using Claude Haiku, HubSpot and Slack

Ready for 3.0

by Swaraj Yadav · 0 views · created 2026-10-26 · Lead Generation, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 24 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Anthropic Chat Model, HubSpot and Slack.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Sample Payloads (Code): runs custom JavaScript code
  2. Respond (Respond to Webhook): sends the response back to the webhook caller
  3. Normalise and Validate (Code): runs custom JavaScript code
  4. Valid? (If): checks a condition and branches into true / false
  5. Intent From Free Text (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Haiku; output parser: Intent Parser
  6. Collect Leads (Merge): merges the data from its input branches
  7. Score and Route (Code): runs custom JavaScript code
  8. Lead Log (Data table): insert (row)
  9. Check Step (Code): runs custom JavaScript code
  10. Scorecard (Code): runs custom JavaScript code

…plus 10 more steps. See the full node list below.

Services it uses

Anthropic Chat ModelHubSpotSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (13)

From the author

Quick overview This workflow receives website form leads via webhook (or runs with sample payloads), uses Anthropic Claude Haiku to classify intent from the message, scores and tiers each lead, then upserts contacts in HubSpot, optionally alerts sales in…

Excerpt from Swaraj Yadav's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.