What This Workflow Does
Every business with a website faces the same problem: contact forms flood with inquiries, but not all leads are equally valuable. Sales teams waste hours manually reading messages, guessing who's ready to buy, and often miss the hottest prospects buried in the noise.
This AI Lead Scoring Agent solves that by automating the entire qualification process. It captures form submissions via a webhook, uses GPT-4 to intelligently analyze message content—identifying urgency, intent, and key signals—and instantly classifies each lead as Hot, Warm, or Cold. Then it sends a formatted alert directly to your sales team's Slack channel, complete with lead details and the AI's scoring rationale.
The result is a sales team that always knows which prospects to call first, responds 70% faster to high-value opportunities, and never wastes time on low-probability leads again.
How It Works
Step 1: Capture Contact Form Submissions
The workflow starts with a webhook endpoint that receives POST data from any contact form—WordPress, Webflow, custom landing pages, or third-party form tools. It automatically extracts the submitter's name, email, message, and any additional fields you configure.
Step 2: AI Analysis with GPT-4
The extracted message is sent to GPT-4 with a custom prompt designed to evaluate lead quality. The AI looks for keywords like "ASAP," "demo," "budget," "team size," and contextual intent, then returns a scored classification (Hot/Warm/Cold) along with a brief reasoning summary.
Step 3: Format & Route the Alert
The workflow formats a clean, actionable Slack message using the lead's details and AI score. Hot leads get 🔥 emojis and priority placement; Cold leads are marked ❄️ for later follow-up. You can configure different Slack channels for different score tiers or team members.
Step 4: Instant Sales Team Notification
A Slack bot posts the formatted alert to your designated sales channel. The message includes the lead's name, email, original message snippet, AI score, and a direct call-to-action for immediate follow-up, ensuring your team can act within minutes.
Who This Is For
This workflow is ideal for sales-driven businesses that receive inbound leads through website forms. SaaS companies can prioritize demo requests based on company size and urgency. Consulting firms can identify clients ready to start projects versus those still researching. E-commerce stores can spot bulk buyers and wholesale inquiries. Marketing agencies can prioritize clients with specific budgets and timelines mentioned.
It's especially valuable for teams with limited sales resources where every minute counts, or for businesses scaling rapidly where lead volume overwhelms manual review processes.
What You'll Need
- An n8n instance (cloud or self-hosted) to run the automation.
- OpenAI API access with GPT-4 capabilities for the AI scoring.
- A Slack workspace and a channel dedicated to lead alerts.
- A contact form that can send POST data to a webhook URL (most modern forms support this).
- Basic configuration skills to set up the webhook endpoint and connect your Slack bot.
Pro tip: Before deploying, review your historical lead data to identify common "Hot" signals—like specific keywords, company attributes, or request types—and refine the GPT-4 prompt to match your ideal customer profile.
Quick Setup Guide
- Download and import the template into your n8n workspace using the JSON file.
- Configure the Webhook node by setting the endpoint URL and matching it to your contact form's POST settings.
- Connect the OpenAI node with your API key and adjust the scoring prompt if needed for your industry.
- Set up the Slack node by adding your bot token and specifying the channel for alerts.
- Test the workflow by submitting a sample form entry and verifying the Slack notification appears correctly.
- Activate the workflow and update your contact form to send submissions to the n8n webhook URL.
Key Benefits
Never miss a hot prospect. AI identifies urgent leads automatically, ensuring your sales team always sees the highest-value opportunities first, even if they arrive during off-hours or high-volume periods.
Save 50%+ of sales time on manual qualification. Eliminate hours of reading and guessing by automating the scoring process, freeing your team to focus on actual selling and relationship building.
Achieve 70% faster lead response times. Real-time Slack alerts mean your team can reach out within minutes of a Hot lead submitting, dramatically improving conversion chances and customer experience.
Improve lead conversion rates by 3x. Prioritizing Hot leads ensures your sales effort is concentrated on prospects most likely to buy, directly boosting your overall sales efficiency and ROI.
Gain consistent, unbiased scoring across all leads. AI applies the same criteria to every submission, removing human subjectivity and ensuring fair, data-driven prioritization regardless of who reviews the lead.