{
  "name": "Typeform to HubSpot: AI-enriched & scored leads with GPT-4o-mini",
  "nodes": [
    {
      "id": "sticky-note-1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        100
      ],
      "parameters": {
        "width": 220,
        "height": 740,
        "content": "## 📛 Filter Non-Business Emails\nFilters out Gmail-based or personal emails.\n\nAllows only leads with non gmail.com (business) domains to proceed for enrichment."
      }
    },
    {
      "id": "sticky-note-2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        -40
      ],
      "parameters": {
        "width": 540,
        "height": 880,
        "content": "## 💬 LLM (OpenAI / Claude)\nSupplies the GPT-4o-mini model to the downstream agent node.\n\n## 🏢 Enrich Company Info (AI)\nAI agent enriches company data using domain:\n\nFields returned: company_name, indu"
      }
    },
    {
      "id": "openai-chat-model-scorer",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        844,
        660
      ]
    },
    {
      "id": "typeform-trigger",
      "name": "📝 New Typeform Lead",
      "type": "n8n-nodes-base.typeformTrigger",
      "position": [
        -500,
        440
      ]
    },
    {
      "id": "format-incoming-data",
      "name": "🔧 Format Incoming Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -280,
        440
      ]
    },
    {
      "id": "airtable-store",
      "name": "📦 Store Basic Info (Airtable)",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -280,
        640
      ]
    },
    {
      "id": "filter-non-business-emails",
      "name": "📛 Filter Non-Business Emails",
      "type": "n8n-nodes-base.if",
      "position": [
        -60,
        440
      ]
    },
    {
      "id": "enrich-company-info",
      "name": "🏢 Enrich Company Info (AI)",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        160,
        440
      ]
    },
    {
      "id": "merge-enriched-profile",
      "name": "🪄 Merge Enriched Lead Profile",
      "type": "n8n-nodes-base.code",
      "position": [
        536,
        440
      ]
    },
    {
      "id": "ai-lead-scorer",
      "name": "🎯 AI Lead Scorer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        756,
        440
      ]
    },
    {
      "id": "hubspot-crm",
      "name": "📨 Send to HubSpot CRM",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        1132,
        440
      ]
    },
    {
      "id": "google-sheets-enriched",
      "name": "📊 Save Enriched Lead",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1352,
        440
      ]
    },
    {
      "id": "google-sheets-raw",
      "name": "📄 Log Raw Lead",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -280,
        240
      ]
    },
    {
      "id": "sticky-note-3",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -680,
        -120
      ],
      "parameters": {
        "width": 560,
        "height": 960,
        "content": "**Triggered on new Typeform submission. Captures: Name, Email, Phone, Message.**\n\n## 🔧 Format Incoming Data\nCleans data from Typeform. Extracts key fields, tags source, checks if email is business.\n\n#"
      }
    },
    {
      "id": "openai-chat-model-enricher",
      "name": "💬 LLM (OpenAI)",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        240,
        660
      ]
    },
    {
      "id": "sticky-note-4",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        -120
      ],
      "parameters": {
        "width": 560,
        "height": 960,
        "content": "## 🎯 AI Lead Scorer\n\nEvaluates lead quality based on:\n\nCompany metadata\nIndustry fit\nContact source\nDomain type\n\nReturns a lead score (1–10).\n\n## 📨 Send to HubSpot CRM\n\nCreates or updates a contact in"
      }
    },
    {
      "id": "sticky-note-5",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1300,
        -120
      ],
      "parameters": {
        "width": null,
        "height": 960,
        "content": "## 📊 Save Enriched Lead\n\nLogs fully enriched and scored lead into Sheet of:\n\nCompany's Google Spreadsheet.\n\nColumns:\n\nContact Info: Name, Email, Phone, Message\n\nCompany Info: Name, Industry, Size, Web"
      }
    }
  ],
  "connections": {
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "🎯 AI Lead Scorer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "💬 LLM (OpenAI)": {
      "ai_languageModel": [
        [
          {
            "node": "🏢 Enrich Company Info (AI)",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "🎯 AI Lead Scorer": {
      "main": [
        [
          {
            "node": "📨 Send to HubSpot CRM",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📝 New Typeform Lead": {
      "main": [
        [
          {
            "node": "📄 Log Raw Lead",
            "type": "main",
            "index": 0
          },
          {
            "node": "📦 Store Basic Info (Airtable)",
            "type": "main",
            "index": 0
          },
          {
            "node": "🔧 Format Incoming Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📨 Send to HubSpot CRM": {
      "main": [
        [
          {
            "node": "📊 Save Enriched Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔧 Format Incoming Data": {
      "main": [
        [
          {
            "node": "📛 Filter Non-Business Emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🏢 Enrich Company Info (AI)": {
      "main": [
        [
          {
            "node": "🪄 Merge Enriched Lead Profile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📛 Filter Non-Business Emails": {
      "main": [
        [
          {
            "node": "🏢 Enrich Company Info (AI)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🪄 Merge Enriched Lead Profile": {
      "main": [
        [
          {
            "node": "🎯 AI Lead Scorer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}