Skip to product information

Qualify Leads with GPT-4o-mini, Webhook, Sheets & Slack (n8n)

Qualify Leads with GPT-4o-mini, Webhook, Sheets & Slack (n8n)

 (200+Reviews)
Regular price £8.99
Regular price £8.99 Sale price
SAVE Sold out
Instant Digital Download
Unlimited Downloads
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
23 people viewing
High interest right now
9 added today
Fast-moving digital product
Qualify Leads with GPT-4o-mini, Webhook, Sheets & Slack (n8n)

Qualify Leads with GPT-4o-mini, Webhook, Sheets & Slack (n8n)

Regular price £8.99
Regular price £8.99 Sale price
SAVE Sold out

Automatically Qualify Incoming Leads with GPT-4o-mini (Webhook → Sheets Placeholder → Slack)

This n8n workflow takes lead submissions from a Webhook, validates and normalizes the data, then uses GPT-4o-mini (via the OpenAI Chat Completions API) to generate a qualification score (1–10), recommended next action, and reasoning—before logging the result and alerting your team in Slack.

What this workflow does

  • Receives lead data via an HTTP POST request to a webhook endpoint (lead details in the request body).
  • Validates required fields: checks for email and name, verifies email format, and applies normalization (including defaults such as source and a timestamp).
  • Qualifies the lead with GPT-4o-mini: sends the lead details to the OpenAI Chat Completions API to return JSON containing a score (1–10), reasoning, and a suggested action.
  • Parses and enriches the record: merges qualification output into the lead payload and flags the lead as qualified when the score is 7 or higher.
  • Logs the processed lead (currently as a placeholder for writing to Google Sheets/CRM) and returns a success JSON response with a simulated row number.
  • Notifies Slack via an incoming webhook with a formatted “new lead captured” message.

Use cases

  • Route form submissions or app signups to an AI-scored sales pipeline in near real time.
  • Detect high-intent leads (score ≥ 7) and alert sales/ops instantly in Slack.
  • Standardize lead payloads before they hit your CRM or Google Sheets.

Technical details

  • n8n nodes/workflow components: code, webhook, HTTP Request (OpenAI), Slack incoming webhook, and Respond to Webhook.
  • OpenAI: OpenAI Chat Completions API using GPT-4o-mini.
  • Slack: incoming webhook post for lead-capture notifications.

Setup notes: Replace YOUR_OPENAI_API_KEY with a valid OpenAI key (or switch to an n8n OpenAI credential-based node) and update the Slack incoming webhook URL. If you want Google Sheets storage, replace the placeholder logging step with a Google Sheets node.

View full details