Templates / Score and triage inbound leads with OpenAI, HubSpot, and Slack

Score and triage inbound leads with OpenAI, HubSpot, and Slack

Ready for 3.0

by Pushbuild · 6 views · created 2026-10-25 · Lead Nurturing, 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 workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.openai.com and api.hubapi.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Config (Edit Fields (Set)): sets 6 fields: slack_webhook_url, from_email, business_name…
  2. Normalize lead (Code): runs custom JavaScript code
  3. Score lead (OpenAI) (HTTP Request): calls api.openai.com (POST)
  4. Read score (Code): runs custom JavaScript code
  5. Reply to lead (Send Email): sends an email over SMTP
  6. Upsert contact (HubSpot) (HTTP Request): calls api.hubapi.com (POST)
  7. Hot lead? (If): checks a condition and branches into true / false
  8. Alert sales (Slack) (HTTP Request): calls an HTTP API (POST)

HTTP calls to: api.openai.com, api.hubapi.com

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.

Nodes used (6)

From the author

Quick overview This workflow receives new lead submissions via a webhook, normalizes the data, scores the lead with OpenAI, sends an acknowledgment email, upserts the contact into HubSpot, and posts a Slack alert when the score meets a configured “hot lead”…

Excerpt from Pushbuild'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.