AutomationFlowsGeneral › Lead Intake to Intent Routing

Lead Intake to Intent Routing

Original n8n title: N8n Automation Templates (http Request)

N8N Automation Templates. Uses httpRequest. Webhook trigger; 8 nodes.

Webhook trigger★★★★☆ complexity8 nodesHTTP Request
General Trigger: Webhook Nodes: 8 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "_meta": {
    "template": "Lead Qualification Agent",
    "version": "1.0.0",
    "author": "Jos\u00e9 Neto @zNeto.AI",
    "note": "Replace all [PLACEHOLDER] values before activating."
  },
  "nodes": [
    {
      "id": "node_001",
      "name": "Webhook \u2014 Lead Intake",
      "type": "n8n-nodes-base.webhook",
      "description": "Receives incoming lead data from web forms or landing pages",
      "parameters": {
        "httpMethod": "POST",
        "path": "[WEBHOOK_PATH]"
      }
    },
    {
      "id": "node_002",
      "name": "Data Extractor",
      "type": "n8n-nodes-base.function",
      "description": "Extracts name, message, source, and timestamp from payload",
      "parameters": {
        "functionCode": "// Extract and structure lead data\n// [SANITIZED]"
      }
    },
    {
      "id": "node_003",
      "name": "OpenAI \u2014 Intent Classifier",
      "type": "n8n-nodes-base.httpRequest",
      "description": "Classifies lead intent as HOT, WARM, or COLD using GPT-4o",
      "parameters": {
        "method": "POST",
        "url": "https://api.openai.com/v1/chat/completions",
        "headers": {
          "Authorization": "Bearer [OPENAI_API_KEY]"
        },
        "body": {
          "model": "gpt-4o",
          "messages": "[CLASSIFICATION_PROMPT + LEAD_MESSAGE]",
          "temperature": 0.2,
          "max_tokens": 100
        }
      }
    },
    {
      "id": "node_004",
      "name": "Intent Router",
      "type": "n8n-nodes-base.switch",
      "description": "Routes workflow based on HOT / WARM / COLD classification",
      "parameters": {
        "rules": [
          {
            "value": "HOT",
            "output": 0
          },
          {
            "value": "WARM",
            "output": 1
          },
          {
            "value": "COLD",
            "output": 2
          }
        ]
      }
    },
    {
      "id": "node_005",
      "name": "HOT \u2014 Sales Team Alert",
      "type": "n8n-nodes-base.httpRequest",
      "description": "Sends immediate notification to sales team with full lead context",
      "parameters": {
        "method": "POST",
        "url": "[SALES_ALERT_WEBHOOK]"
      }
    },
    {
      "id": "node_006",
      "name": "WARM \u2014 Nurture Sequence",
      "type": "n8n-nodes-base.httpRequest",
      "description": "Enrolls lead in automated nurture flow",
      "parameters": {
        "method": "POST",
        "url": "[NURTURE_WEBHOOK]"
      }
    },
    {
      "id": "node_007",
      "name": "COLD \u2014 Low Priority Log",
      "type": "n8n-nodes-base.function",
      "description": "Prepares cold lead data for CRM logging with low-priority tag",
      "parameters": {
        "functionCode": "// Tag as cold and prepare CRM payload\n// [SANITIZED]"
      }
    },
    {
      "id": "node_008",
      "name": "CRM Logger",
      "type": "n8n-nodes-base.httpRequest",
      "description": "Logs all leads to CRM with score, source, and timestamp",
      "parameters": {
        "method": "POST",
        "url": "[CRM_WEBHOOK_URL]"
      }
    }
  ],
  "connections": {
    "node_001": {
      "next": "node_002"
    },
    "node_002": {
      "next": "node_003"
    },
    "node_003": {
      "next": "node_004"
    },
    "node_004": {
      "outputs": {
        "0": "node_005",
        "1": "node_006",
        "2": "node_007"
      }
    },
    "node_005": {
      "next": "node_008"
    },
    "node_006": {
      "next": "node_008"
    },
    "node_007": {
      "next": "node_008"
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

N8N Automation Templates. Uses httpRequest. Webhook trigger; 8 nodes.

Source: https://github.com/joseneto-ai/n8n-automation-templates/blob/main/lead-qualification/workflow.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

GiveWP Donations to Beacon. Uses httpRequest, stopAndError. Webhook trigger; 43 nodes.

HTTP Request, Stop And Error
General

Remove Video Background & Compose on Custom Image Background with Google Drive. Uses httpRequest, googleDrive. Webhook trigger; 25 nodes.

HTTP Request, Google Drive
General

AI Website Chatbot — Main Handler. Uses httpRequest. Webhook trigger; 22 nodes.

HTTP Request
General

GYRA+ | 2. Receber Decisão → Rotear para CRM. Uses httpRequest. Webhook trigger; 15 nodes.

HTTP Request
General

Voice-Agent Orchestrator (Spec Example - import into n8n and adapt secrets). Uses httpRequest, respondToWebhook. Webhook trigger; 8 nodes.

HTTP Request