Templates / Score and route new form leads with OpenAI, Slack, Notion and Google Sheets

Score and route new form leads with OpenAI, Slack, Notion and Google Sheets

Ready for 3.0

by Syed Hassan Ali ✓ · 19 views · created 2026-08-21 · 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-10-19.

What this workflow does

This AI workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI, Slack, Notion and Gmail and 1 more.

How it runs

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

  1. Initialize Workflow Variables (Code): runs custom JavaScript code
  2. Classify Lead Email Domain (Code): runs custom JavaScript code
  3. OpenAI: uses OpenAI
  4. Parse AI Scoring Result (Code): runs custom JavaScript code
  5. Check AI Parsing Success (If): checks a condition and branches into true / false
  6. Send Slack Alert for Review (Slack): uses Slack
  7. If: checks a condition and branches into true / false
  8. Assign SDR Round Robin (Code): runs custom JavaScript code
  9. Build Standard Lead Notification (Code): runs custom JavaScript code
  10. Build Hot Lead Notification (Code): runs custom JavaScript code

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

Services it uses

OpenAISlackNotionGmailGoogle Sheets

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 (9)

From the author

Quick overview This workflow receives lead form submissions via webhook, classifies the email domain locally, scores the lead with OpenAI, assigns hot leads to SDRs in a round-robin rotation, and then logs the result to Notion and Google Sheets while sending…

Excerpt from Syed Hassan Ali'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.