Score inbound form leads with OpenAI and send hot leads to Slack and Sheets
Ready for 3.0What this workflow does
This AI workflow has 7 nodes and runs when someone submits an n8n form (“Get in Touch”). Along the way it connects OpenAI Chat Model, Slack and Google Sheets.
How it runs
Trigger: When someone submits an n8n form (“Get in Touch”).
- Score Lead (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
- Parse Score (Code): runs custom JavaScript code
- Is Hot Lead? (If): checks a condition and branches into true / false
- Alert Hot Lead (Slack): uses Slack
- Log Lead (Google Sheets): append
Services it uses
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 (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick Overview This workflow collects n8n Form submissions, uses OpenAI (GPT-4o-mini) to score each lead from 1–10 with reasoning, posts hot leads (score ≥ 7) to Slack, and appends all scored leads to Google Sheets for tracking. How it works 1. Triggers when…