← Templates
AI AgentsIntermediate

AI Lead Qualifier

Score inbound leads from a webhook using OpenAI, push to HubSpot, and Slack the sales team.

Build steps

  1. 1Create a Webhook trigger and copy its URL to your form.
  2. 2Add an OpenAI Chat Model node with a scoring prompt returning JSON { score, reason }.
  3. 3Use IF node: score >= 70 → hot path.
  4. 4Create a HubSpot contact + note with the score & reason.
  5. 5Post to a #sales Slack channel including link + score.
Prompt: "You are a B2B lead scorer. Return only JSON {score:0-100, reason:string}. Lead: {{$json.body}}"

Related templates