{
  "name": "Automate lead qualification & personalized outreach with Jotform, GPT & Gmail",
  "nodes": [
    {
      "id": "09a1ecea-b67c-4a79-a6e1-6d2adf1a4e87",
      "name": "Extract Domain",
      "type": "n8n-nodes-base.code",
      "position": [
        -1392,
        320
      ]
    },
    {
      "id": "a0748ec0-121e-4b8d-8a4b-1644fb70c6ad",
      "name": "Flag personal email addresses",
      "type": "n8n-nodes-base.code",
      "position": [
        -1216,
        320
      ]
    },
    {
      "id": "34e7976f-12d6-4aab-a706-6210e91c3f81",
      "name": "Is Personal Email?",
      "type": "n8n-nodes-base.if",
      "position": [
        -1008,
        320
      ]
    },
    {
      "id": "4c87424a-e345-4dd9-a208-4b860266385d",
      "name": "AI Sales Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        400,
        368
      ]
    },
    {
      "id": "382a768d-ff17-4994-9f7e-eda054e90f0a",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        336,
        624
      ]
    },
    {
      "id": "1a825199-e929-4472-a0d6-a6e68c38ef46",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        624,
        624
      ]
    },
    {
      "id": "c9f577dc-f5ca-416e-879b-83d55f5c58e7",
      "name": "Summarize website",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -256,
        528
      ]
    },
    {
      "id": "c5ccdf39-e499-4dc1-8b3a-3d70e34ab623",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -544,
        112
      ],
      "parameters": {
        "width": 624,
        "height": 656,
        "content": "## 🕷️ Scrape & Summarize Company Website\n\nAutomatically extracts and analyzes the prospect's website to understand their business.\n\n### Flow\n\n**URL to HTML** 🌐 → **AI Summarization** 🤖\n\n1. Fetches ful"
      }
    },
    {
      "id": "f62c4c09-6952-4090-8ea5-e0b13f31ed48",
      "name": "Scrape Website",
      "type": "n8n-nodes-url-to-html.urlToHtml",
      "position": [
        -480,
        528
      ]
    },
    {
      "id": "eba67aae-a5a5-4335-9448-cb43792b2b31",
      "name": "Wait for Approval",
      "type": "n8n-nodes-base.gmail",
      "position": [
        752,
        368
      ]
    },
    {
      "id": "66388dba-ff63-46a1-af4c-0a6ef9960c9b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1664,
        -64
      ],
      "parameters": {
        "width": 832,
        "height": 688,
        "content": "## 📧 Lead Intake & Email Qualification\n\nCaptures demo requests and filters out personal emails to focus on qualified business leads.\n\n### Flow\n**Jotform Trigger** 🎯 → **Extract Domain** 🔗 → **Flag Per"
      }
    },
    {
      "id": "04cc25db-45c5-49ec-adf3-c0818adc0fa3",
      "name": "Send Regret Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -464,
        -304
      ]
    },
    {
      "id": "b0756128-2965-4339-94b0-46ed7edcacb6",
      "name": "Send Welcome Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        976,
        368
      ]
    },
    {
      "id": "7ed6820d-bf53-4983-9767-f7aac0b9af55",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -608,
        -576
      ],
      "parameters": {
        "width": 544,
        "height": 480,
        "content": "## ❌ Send Regret Email\n\nPolitely declines unqualified leads (personal emails) while keeping the door open for future opportunities.\n\nSends a friendly rejection email explaining:\n- ClareVoice may not b"
      }
    },
    {
      "id": "545c8608-55c4-4127-a415-5613881e9a28",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        256,
        -112
      ],
      "parameters": {
        "width": 960,
        "height": 912,
        "content": "## 🤖 Personalized Email\n\nAI agent analyzes qualified leads and drafts personalized outreach emails with human approval.\n\n### Flow\n\n**AI Sales Agent** 🧠 → **Wait for Approval** ⏸️ → **Send Welcome Emai"
      }
    },
    {
      "id": "4ecbeb24-7237-4d17-a5bf-6c700a375dab",
      "name": "Jotform Trigger",
      "type": "n8n-nodes-base.jotFormTrigger",
      "position": [
        -1616,
        320
      ]
    }
  ],
  "connections": {
    "AI Sales Agent": {
      "main": [
        [
          {
            "node": "Wait for Approval",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Domain": {
      "main": [
        [
          {
            "node": "Flag personal email addresses",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Website": {
      "main": [
        [
          {
            "node": "Summarize website",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Jotform Trigger": {
      "main": [
        [
          {
            "node": "Extract Domain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Sales Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Summarize website": {
      "main": [
        [
          {
            "node": "AI Sales Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Approval": {
      "main": [
        [
          {
            "node": "Send Welcome Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Personal Email?": {
      "main": [
        [
          {
            "node": "Send Regret Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Scrape Website",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Sales Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Flag personal email addresses": {
      "main": [
        [
          {
            "node": "Is Personal Email?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}