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

Go to Workflow
1 views
Built by Rahul Joshi Rahul Joshi
Created on January 05, 2026

Description

πŸ“Š 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 (first_name, last_name, company, job_title, linkedin_url)
🎯 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

Nodes Used (6)

Asana
n8n-nodes-base.asana
Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
HTTP Request
n8n-nodes-base.httpRequest
OpenAI
@n8n/n8n-nodes-langchain.openAi
Slack
n8n-nodes-base.slack