{
  "name": "Automated lead qualification & nurturing with JotForm, HubSpot, Email & AI scoring",
  "nodes": [
    {
      "id": "c016b293-b976-428f-b72c-f1d287c74a4d",
      "name": "JotForm Trigger",
      "type": "n8n-nodes-base.jotFormTrigger",
      "position": [
        -560,
        576
      ]
    },
    {
      "id": "ae285cb5-4ac1-4cbf-beb7-37be3e90c747",
      "name": "Extract & Format Lead Data",
      "type": "n8n-nodes-base.set",
      "position": [
        -336,
        576
      ]
    },
    {
      "id": "681c776e-6e28-4b04-96fe-ea656438b55e",
      "name": "AI Lead Scoring",
      "type": "n8n-nodes-base.code",
      "position": [
        -112,
        576
      ]
    },
    {
      "id": "c3bf276b-f38e-47e5-87e4-b0055d6aa140",
      "name": "Route by Lead Quality",
      "type": "n8n-nodes-base.if",
      "position": [
        112,
        576
      ]
    },
    {
      "id": "6ad68ea3-621f-4abd-b8c6-1b6d55c8d95e",
      "name": "Add to HubSpot CRM",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        560,
        384
      ]
    },
    {
      "id": "cfb3e0c8-9b5d-43e5-ab58-6a5cd542f566",
      "name": "Log to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        336,
        768
      ]
    },
    {
      "id": "27c1fd07-3abf-4183-8c5f-a39c859b5652",
      "name": "Notify Sales Team (Hot Lead)",
      "type": "n8n-nodes-base.slack",
      "position": [
        336,
        240
      ]
    },
    {
      "id": "a02fd656-7794-45f1-9695-fcf64c51a825",
      "name": "Generate Personalized Email",
      "type": "n8n-nodes-base.code",
      "position": [
        336,
        576
      ]
    },
    {
      "id": "fbe3c39e-0c45-42c9-a524-89448f0056b7",
      "name": "Send Personalized Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        560,
        576
      ]
    },
    {
      "id": "6959cd8f-3c3e-4584-ad90-382404e801d9",
      "name": "Notify Marketing (Warm/Cold)",
      "type": "n8n-nodes-base.slack",
      "position": [
        336,
        960
      ]
    },
    {
      "id": "2a936548-a209-4577-a514-09eafb7a51d2",
      "name": "Create Daily Summary",
      "type": "n8n-nodes-base.set",
      "position": [
        784,
        480
      ]
    },
    {
      "id": "6552c1da-6b0d-4501-9768-587246d1b94c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1152,
        400
      ],
      "parameters": {
        "width": 500,
        "height": 476,
        "content": "# 🎯 Lead Qualification & Nurturing System\n\nAuto-captures JotForm leads, scores them by AI, and sends hot leads to sales, others to marketing. All leads go to HubSpot and Google Sheets, with Slack aler"
      }
    }
  ],
  "connections": {
    "AI Lead Scoring": {
      "main": [
        [
          {
            "node": "Route by Lead Quality",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "JotForm Trigger": {
      "main": [
        [
          {
            "node": "Extract & Format Lead Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add to HubSpot CRM": {
      "main": [
        [
          {
            "node": "Create Daily Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Lead Quality": {
      "main": [
        [
          {
            "node": "Add to HubSpot CRM",
            "type": "main",
            "index": 0
          },
          {
            "node": "Log to Google Sheets",
            "type": "main",
            "index": 0
          },
          {
            "node": "Notify Sales Team (Hot Lead)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate Personalized Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Add to HubSpot CRM",
            "type": "main",
            "index": 0
          },
          {
            "node": "Log to Google Sheets",
            "type": "main",
            "index": 0
          },
          {
            "node": "Notify Marketing (Warm/Cold)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate Personalized Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Personalized Email": {
      "main": [
        [
          {
            "node": "Create Daily Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract & Format Lead Data": {
      "main": [
        [
          {
            "node": "AI Lead Scoring",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Personalized Email": {
      "main": [
        [
          {
            "node": "Send Personalized Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}