{
  "name": "Ai lead scoring & enrichment from Mailchimp to HubSpot and Pipedrive with GPT-4o",
  "nodes": [
    {
      "id": "61b4b6d1-48c9-485a-be3a-86ce40129b82",
      "name": "📩 Mailchimp Subscriber Trigger",
      "type": "n8n-nodes-base.mailchimpTrigger",
      "position": [
        -416,
        272
      ]
    },
    {
      "id": "02f90776-c4f6-498d-9b59-a3adf441aec0",
      "name": "📊 Extract Subscriber Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -192,
        272
      ]
    },
    {
      "id": "b5a3ce32-5793-442e-bbe3-4c6fd44c6779",
      "name": "🤖 Lead Enrichment AI",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        32,
        272
      ]
    },
    {
      "id": "85488739-d25a-4b83-8116-0c42f8638869",
      "name": "🧠 OpenAI Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        96,
        496
      ]
    },
    {
      "id": "91ef7930-18a9-4fe8-855c-8f486d527934",
      "name": "🔎 Parse & Merge Enrichment",
      "type": "n8n-nodes-base.code",
      "position": [
        384,
        272
      ]
    },
    {
      "id": "c9240bca-e758-4e90-8c89-39a57a50fa8b",
      "name": "💎 High-Value Lead Check",
      "type": "n8n-nodes-base.if",
      "position": [
        608,
        80
      ]
    },
    {
      "id": "3374813d-ee35-4f65-9ac7-c2c257897996",
      "name": "📊 HubSpot Contact Sync",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        608,
        416
      ]
    },
    {
      "id": "8c30c26c-1374-446e-979c-e99d1b41a10a",
      "name": "👤 Pipedrive Person Create",
      "type": "n8n-nodes-base.pipedrive",
      "position": [
        608,
        608
      ]
    },
    {
      "id": "4047aced-ec20-4d6b-9173-1062fa71a06e",
      "name": "💼 Create High-Value Deal",
      "type": "n8n-nodes-base.pipedrive",
      "position": [
        832,
        80
      ]
    },
    {
      "id": "1e8ea15c-3d79-4c75-acdb-9ea1b71a7feb",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        -112
      ],
      "parameters": {
        "width": 448,
        "height": 896,
        "content": "## 1. Lead Capture & Subscriber Data Extraction\n\n*📩 Mailchimp Subscriber Trigger listens for new subscribers from the selected Mailchimp list.\n\n📊 Extract Subscriber Data processes the raw payload, ext"
      }
    },
    {
      "id": "49498336-18bc-408d-92e2-4c06ce6f6f56",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        -112
      ],
      "parameters": {
        "width": 528,
        "height": 896,
        "content": "## 2. AI-Powered Lead Enrichment\n\n*🤖 Lead Enrichment AI uses AI to enrich subscriber data, predicting company, job title, industry, intent, LinkedIn URL, and assigning a lead score.\n\n🔎 Parse & Merge E"
      }
    },
    {
      "id": "9d037fa7-614b-413f-a166-0c30efcd6b7a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        -112
      ],
      "parameters": {
        "width": 480,
        "height": 368,
        "content": "## 3. Lead Qualification & Scoring\n\n*💎 High-Value Lead Check evaluates the lead score and determines if it meets the high-value threshold (≥70).\n\n👉 This acts as the qualification logic to filter out t"
      }
    },
    {
      "id": "b3befa0e-e2c3-4c49-98db-8276134f2478",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        272
      ],
      "parameters": {
        "width": 480,
        "height": 512,
        "content": "## 4. CRM Sync & Deal Creation\n\n*CRM integration syncs enriched leads to HubSpot & Pipedrive, with automatic deal creation for high-value leads*"
      }
    }
  ],
  "connections": {
    "🧠 OpenAI Model": {
      "ai_languageModel": [
        [
          {
            "node": "🤖 Lead Enrichment AI",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "🤖 Lead Enrichment AI": {
      "main": [
        [
          {
            "node": "🔎 Parse & Merge Enrichment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📊 HubSpot Contact Sync": {
      "main": [
        []
      ]
    },
    "💎 High-Value Lead Check": {
      "main": [
        [
          {
            "node": "💼 Create High-Value Deal",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "👤 Pipedrive Person Create": {
      "main": [
        []
      ]
    },
    "📊 Extract Subscriber Data": {
      "main": [
        [
          {
            "node": "🤖 Lead Enrichment AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔎 Parse & Merge Enrichment": {
      "main": [
        [
          {
            "node": "💎 High-Value Lead Check",
            "type": "main",
            "index": 0
          },
          {
            "node": "📊 HubSpot Contact Sync",
            "type": "main",
            "index": 0
          },
          {
            "node": "👤 Pipedrive Person Create",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📩 Mailchimp Subscriber Trigger": {
      "main": [
        [
          {
            "node": "📊 Extract Subscriber Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}