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

n8n · Sales · checked 2026-10-29

Brand hub

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” threshold. How it works Receives a POST request on a webhook endpoint whenever a new lead is submitted. Normalizes incoming form fields into a consistent lead object (name, email, phone, company, message, source) and prepares an OpenAI Chat Completions request. Sends the lead details to the OpenAI API to generate a 1–10 score plus a short reason and summary in JSON. Parses the OpenAI response and attaches the score, reason, and summary to the lead record. Sends a thank-you email to the lead using your SMTP mail server with a booking link for follow-up.

At a glance

Brand
n8n
Jobs
Sales
Sources
1

Dimensions

Sources

Last checked 2026-10-29. Description source: harvest.