Templates / Qualify webhook leads with GPT-4o-mini and create Asana tasks automatically

Qualify webhook leads with GPT-4o-mini and create Asana tasks automatically

Ready for 3.0

by Rahul Joshi βœ“ Β· 510 views Β· created 2026-01-05 Β· 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.

Nodes used (11)

OpenAIAsanaSlackGmail

What it does

πŸ“Š Description Automate your inbound lead qualification pipeline by enriching raw lead data, scoring it with AI, and instantly creating follow-up tasks for your sales team. πŸŽ―πŸ€– This workflow receives new leads via webhook, enriches them using RocketReach to fetch verified emails and contact details, applies confidence-based filtering, and uses GPT-4o-mini to score each lead based on seniority, company fit, and data quality. High-quality leads automatically generate Asana tasks and Slack notifications, while low-quality leads are safely filtered out β€” ensuring your team focuses only on the best opportunities. πŸš€πŸ“‹ πŸ” What This Template Does 1️⃣ Receives inbound lead data via webhook (name, company, job title, LinkedIn URL). 🌐 2️⃣ Normalizes incoming data into a clean, structured format. 🧾 3️⃣ Enriches lead profiles using RocketReach to fetch emails and phone numbers. πŸ“‡ 4️⃣ Calculates email confidence scores based on quality grades (A–D). πŸ“Š 5️⃣ Filters out low-confidence leads automatically. 🚫 6️⃣ Uses AI (GPT-4o-mini) to score qualified leads from 1–10. πŸ€– 7️⃣ Assigns priority levels (High / Medium / Low) with reasoning. 🧠 8️⃣ Creates an Asana task for leads scoring above the threshold. βœ… 9️⃣ Sends Slack notifications for both qualified and disqualified leads. πŸ’¬ πŸ”Ÿ Returns a structured webhook response with scoring results. πŸ” 1️⃣1️⃣ Sends Gmail alerts automatically if any workflow error occurs. 🚨 ⭐ Key Benefits βœ… Eliminates manual lead enrichment and qualification βœ… Uses verified contact data from RocketReach βœ… AI scoring ensures consistent, unbiased lead evaluation βœ… Automatically routes high-quality leads to sales via Asana βœ… Keeps teams informed with real-time Slack notifications βœ… Prevents sales effort from being wasted on low-quality leads 🧩 Features - Webhook-based inbound lead intake - RocketReach profile enrichment - Email confidence scoring logic - AI lead scoring with strict JSON output - Configurable quality and score thresholds - Automatic Asana task creation - Slack alerts for qualified and disqualified leads - Gmail-based error handling Frontend-ready webhook responses πŸ” Requirements - RocketReach API key - OpenAI API key (GPT-4o-mini recommended) - Asana OAuth2 credentials - Slack API credentials - Gmail OAuth2 credentials (for error alerts) - Webhook client sending lead details (firstname, lastname, company, jobtitle, linkedinurl) 🎯 Target Audience - B2B sales teams handling inbound leads - Revenue operations (RevOps) teams - SaaS companies optimizing lead qualification - Lead generation agencies - Automation teams building AI-driven sales pipelines

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.