Use this powerful n8n workflow to automate lead scoring. Integrate OpenAI (GPT-4) to classify new contact form submissions as Hot/Warm/Cold and instantly notify your sales team via Slack. Get started with n8n templates today.
Download this n8n workflow template and start using it instantly.
Sales & Marketing Teams: Seeking to instantly qualify and act on the most valuable inbound leads.
Technical Users: Needing ready-to-use n8n templates for integrating AI classification into business processes.
Operations Managers: Looking to centralize lead notifications and reduce manual triage time.
n8n Users: Who want a practical example of combining a Webhook n8n trigger with LLM logic and team communication tools.
Lead response time is critical for conversion. This high-efficiency n8n workflow solves the problem of delayed lead qualification by instantly triaging incoming contact form submissions using advanced Generative AI. By deploying this specific n8n workflow, any data received via a webhook (e.g., from a website contact form) is immediately routed to GPT-4. The AI analyzes the message text and assigns a precise 'Hot', 'Warm', or 'Cold' rating. This rating, along with the lead's contact details, is then immediately formatted and pushed to a designated Slack channel. This allows your sales team to prioritize 'Hot' leads and act within minutes, drastically improving responsiveness and conversion rates. This is an essential component among modern n8n templates for efficient revenue operations.
This powerful n8n workflow executes a simple but effective four-step process every time a new lead submits a contact form:
Receive Form Submission n8n node, which acts as the primary n8n trigger. It listens for an incoming POST request at the predefined path /form-submission from your website or landing page.Extract Lead Details n8n node (a Set node). This step cleans the data, ensuring the workflow only proceeds with essential fields: the lead's name, email, and message content.Rate Lead Interest n8n node (an OpenAI/Langchain node). It uses the GPT-4 model, supplying the cleaned message text along with a strict prompt instructing the AI to respond only with the classification: "Hot", "Warm", or "Cold".Send Lead Alert to Slack n8n node uses the data from both the Set node and the AI response. It applies conditional logic to prepend an appropriate emoji (🔥, 🌤, or ❄️) based on the AI rating. A fully formatted, concise lead summary is then instantly posted to your team's Slack channel, completing this automated n8n workflow.To set up this n8n workflow successfully, follow these steps after importing the JSON:
Receive Form Submission n8n trigger node is already configured to listen on /form-submission. Activate the workflow and use the generated test URL to link your contact form submission handler (or API request tool) to this endpoint.Rate Lead Interest n8n node. You must link your valid OpenAI credentials (configured to access GPT-4 models) to this node.Send Lead Alert to Slack n8n node. Provide your Slack API credentials and ensure the target channel (social in this template) exists or update the configuration to your desired channel name. Ensure the connection has permissions to post messages.Every n8n node in this automated pipeline plays a specific, crucial role:
Receive Form Submission (Webhook n8n node):
Function: Serves as the initial n8n trigger, waiting for an external HTTP POST request containing new lead data.
Key Configuration: Configured for the path /form-submission and HTTP Method POST.
Extract Lead Details (Set n8n node):
Function: Filters and maps incoming JSON data, keeping only the necessary name, email, and message fields, simplifying the payload for the AI.
Key Configuration: Assignments created for body.name, body.email, and body.message using expressions referencing the incoming webhook data.
Rate Lead Interest (OpenAI/Langchain n8n node):
Function: Executes the core AI logic, using GPT-4 to analyze the lead's message and classify their interest level.
Key Configuration: Uses the model gpt-4.1-2025-04-14 (or similar GPT-4 class model). The prompt forces a single-word output: "Hot", "Warm", or "Cold".
Send Lead Alert to Slack (Slack n8n node):
Function: Formats the final alert and sends it to the sales team channel.
Key Configuration: Message text uses complex JavaScript expressions (={{...}}) to dynamically select an emoji and compile all lead data (Name, Email, Message, and Triage score) into one readable alert. Targets the channel named social.
Automate Ideal Customer Profile (ICP) scoring by analyzing LinkedIn data using an n8n workflow. This template uses the Airtop n8n node for data extraction and qualification.

Protect your automation investment. Use this n8n workflow template to create scheduled, automated JSON backups of all your active n8n workflow definitions directly to Google Drive.

Automate scheduled YouTube uploads using Google Sheets for metadata and Google Drive for file hosting. This robust n8n workflow manages publishing, tracking, and archiving.

Use this powerful n8n workflow to automatically score LinkedIn profiles against your Ideal Customer Profile (ICP). Leverage the Airtop n8n node for detailed data extraction and lead prioritization.

Automate Ideal Customer Profile (ICP) scoring by analyzing LinkedIn profiles using a powerful n8n workflow and the Airtop n8n node. Quickly prioritize sales leads.

Building AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host







































