Skip to main content

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

Workflow preview

Workflow preview
100%
Qualify webhook leads with GPT-4o-mini and create Asana tasks automatically preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 recei...

Best for

  • Lead Generation automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.respondtowebhook, n8n-nodes-base.httprequest, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rahul Joshi.

Original n8n.io source

1.1 Workflow description

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

📊 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Webhook Trigger

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 8 - Normalize Lead Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Quality Filter

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 10 - AI Lead Scoring

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.4

Block 11 - Score Filter

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 12 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1

Block 13 - Respond - Low Confidence

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1

Block 14 - Respond - Low Score

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1

Block 15 - RocketReach Lookup Profile

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 16 - Calculate Email Confidence

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Extract AI Score Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 18 - Create Asana Task

Type / Role
n8n-nodes-base.asana - asana
Config choices
Version 1

Block 19 - Notify Slack - Qualified

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 20 - Notify Slack - Disqualified

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 21 - Workflow Error Handler

Type / Role
n8n-nodes-base.errorTrigger - errorTrigger
Config choices
Version 1

Block 22 - Send a message1

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 23 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Qualify webhook leads with GPT-4o-mini and create Asana tasks automatically
Complexity advanced
Nodes 23
Categories Lead Generation, AI Summarization
Author Rahul Joshi
Published 05 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12480/12480.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Qualify webhook leads with GPT-4o-mini and create Asana tasks automatically do?

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 recei...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, AI Summarization use case.