{
  "name": "Analyze website page gaps with GPT-4.1-mini, Perplexity, and Google Docs",
  "nodes": [
    {
      "id": "d58e5db3-31f4-48ba-8b10-eaf918231f52",
      "name": "Submit Website URL for Analysis",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "bac14d84-80ae-4770-a66c-1065d26e94ab",
      "name": "Fetch Website HTML",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        288,
        0
      ]
    },
    {
      "id": "2106129b-fac1-435b-ab55-9437fe44a298",
      "name": "Detect Existing Pages and Business Type",
      "type": "n8n-nodes-base.code",
      "position": [
        528,
        0
      ]
    },
    {
      "id": "b2eaa0a2-ae8c-414a-bb5a-b9ca52e04a4b",
      "name": "Generate Gap Analysis Report with AI",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        848,
        0
      ]
    },
    {
      "id": "3ec5f91c-f498-4531-8476-465bee4d47ee",
      "name": "OpenAI GPT-4.1 Mini with Web Search",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        848,
        192
      ]
    },
    {
      "id": "53b2ed9d-1028-4590-a751-ced5d6dba47a",
      "name": "Perplexity Competitor Research Tool",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        944,
        368
      ]
    },
    {
      "id": "54ce92d6-2cef-40c5-a432-575b968a05c4",
      "name": "Save Report to Google Docs",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        1216,
        0
      ]
    },
    {
      "id": "2f2112b9-681a-41fd-a492-75e466c04ccb",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -464,
        -416
      ],
      "parameters": {
        "width": 416,
        "height": 848,
        "content": "## AI-Powered Website Gap Analysis Tool\n\nThis workflow analyzes any website and identifies missing pages\nthat would improve user experience and business goals. Submit a\nURL via form, and the system fe"
      }
    },
    {
      "id": "378bb25d-1565-44b5-a06f-0df15d12aad0",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -160
      ],
      "parameters": {
        "width": 384,
        "height": 208,
        "content": "## URL Submission & HTML Fetch\n\nReceives website URL via form, then fetches\nthe complete HTML source code of the site\nfor analysis and page detection."
      }
    },
    {
      "id": "c7f0c6bd-6de2-4c63-883b-d402d69b9f2c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        -160
      ],
      "parameters": {
        "width": 544,
        "height": 208,
        "content": "## Page Detection & AI Analysis\n\nAnalyzes HTML to detect existing pages and\nbusiness type, then uses AI with Perplexity\nto research competitors and generate gap report."
      }
    },
    {
      "id": "2e8a61b6-9922-4d2a-9fc5-e48c384cd8a6",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1136,
        -160
      ],
      "parameters": {
        "width": 320,
        "height": 208,
        "content": "## Report Generation & Save\n\nAI creates a comprehensive gap analysis\nreport with prioritized recommendations\nand saves it directly to Google Docs."
      }
    }
  ],
  "connections": {
    "Fetch Website HTML": {
      "main": [
        [
          {
            "node": "Detect Existing Pages and Business Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Submit Website URL for Analysis": {
      "main": [
        [
          {
            "node": "Fetch Website HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI GPT-4.1 Mini with Web Search": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Gap Analysis Report with AI",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity Competitor Research Tool": {
      "ai_tool": [
        [
          {
            "node": "Generate Gap Analysis Report with AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Generate Gap Analysis Report with AI": {
      "main": [
        [
          {
            "node": "Save Report to Google Docs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Detect Existing Pages and Business Type": {
      "main": [
        [
          {
            "node": "Generate Gap Analysis Report with AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}