Templates / Score inbound leads with OpenAI and log them to Google Sheets and Slack

Score inbound leads with OpenAI and log them to Google Sheets and Slack

Ready for 3.0

by Bincy Bhanu. S ✓ · 0 views · created 2026-10-10 · 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 workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Slack. It also calls api.openai.com over HTTP.

How it runs

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

  1. Workflow Configuration (Edit Fields (Set)): sets 5 fields: hotLeadThreshold, slackChannel, googleSheetId…
  2. Normalize Lead (Edit Fields (Set)): sets 4 fields: name, email, company…
  3. Score Lead with OpenAI (HTTP Request): calls api.openai.com (POST)
  4. Parse AI Score (Code): runs custom JavaScript code
  5. Log Lead to Google Sheets (Google Sheets): append
  6. Is Hot Lead? (If): checks a condition and branches into true / false
  7. Alert Sales Team in Slack (Slack): uses Slack

Services it uses

Google SheetsSlack

HTTP calls to: api.openai.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 (8)

From the author

Quick overview This workflow receives inbound leads via a webhook, scores and categorizes them with OpenAI, logs every lead to Google Sheets, and sends a Slack alert for leads that meet or exceed a configurable score threshold. How it works 1. Receives a lead…

Excerpt from Bincy Bhanu. S'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.