{
  "name": "Audit web pages for SEO issues with Decodo, GPT-4 and Google Sheets",
  "nodes": [
    {
      "id": "a03e179c-c098-4509-87bb-666963a91c63",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        640,
        496
      ]
    },
    {
      "id": "4a313de4-ee02-46c8-b403-05cd52262d28",
      "name": "📝 OVERVIEW",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        -64
      ],
      "parameters": {
        "width": 520,
        "height": 864,
        "content": "## AI SEO Watchdog — Overview & Configuration\n\nThis workflow automatically audits web pages for SEO and generates an **executive-friendly SEO summary** for each page.\n\nIt reads URLs from Google Sheets"
      }
    },
    {
      "id": "02243c4d-7527-4de7-b40b-eb9f884ccb33",
      "name": "📝 DECODE NOTE",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        656,
        336
      ],
      "parameters": {
        "width": 420,
        "height": 124,
        "content": "###  Content Extraction  \nURLs are read from Google Sheets.\nEach page is scraped using Decodo to reliably fetch the HTML content."
      }
    },
    {
      "id": "9a92dfdf-2d42-458b-bbd2-d4e0981057ff",
      "name": "📝 AI AGENT NOTE",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1264,
        208
      ],
      "parameters": {
        "width": 564,
        "height": 96,
        "content": "###  AI Analysis\nJavaScript reduces the HTML to key SEO elements.\nThe AI Agent analyzes the data and generates an executive SEO summary."
      }
    },
    {
      "id": "25abeabc-5c44-48be-9fa3-612ed7c758df",
      "name": "📝 PARSE & REPAIR",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1936,
        208
      ],
      "parameters": {
        "width": 520,
        "height": 116,
        "content": "### Data Output  \n\nResults are saved to Google Sheets.\nA formatted SEO summary is sent by email using Gmail.\n\n"
      }
    },
    {
      "id": "8b53cb51-5e11-4583-8564-f96771149446",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1840,
        592
      ]
    },
    {
      "id": "ebf24d14-429d-4dd3-b92f-587929c411d2",
      "name": "Decodo",
      "type": "@decodo/n8n-nodes-decodo.decodo",
      "position": [
        1312,
        368
      ]
    },
    {
      "id": "1df70380-51cb-4043-997f-9a9117e6491d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        608,
        -64
      ],
      "parameters": {
        "width": 336,
        "height": 352,
        "content": "## Input![txt](https://ik.imagekit.io/agbb7sr41/input.png)"
      }
    },
    {
      "id": "9663551a-828e-400a-a1f1-fe0cdf1e8679",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2560,
        -240
      ],
      "parameters": {
        "width": 832,
        "height": 512,
        "content": "## Email\n![txt](https://ik.imagekit.io/agbb7sr41/send_email.png)"
      }
    },
    {
      "id": "6a5b45be-938f-4f91-9ac3-687293dabf38",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2624,
        320
      ],
      "parameters": {
        "width": 800,
        "height": 240,
        "content": "## Google sheet\n\n![txt](https://ik.imagekit.io/agbb7sr41/output_seo_watachdog.png)"
      }
    },
    {
      "id": "01bb0573-68c1-4fb9-bada-5cd757be4097",
      "name": "Process URLs one by one",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1088,
        496
      ]
    },
    {
      "id": "bdcf3fce-7872-4776-b41b-7bc7ff37e7db",
      "name": "Extract SEO Elements from HTML",
      "type": "n8n-nodes-base.code",
      "position": [
        1536,
        368
      ]
    },
    {
      "id": "3d561a6f-3b1b-481b-a50c-416a25092b6d",
      "name": "Generate AI SEO Executive Summary",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1760,
        368
      ]
    },
    {
      "id": "7ee090c1-de05-4a8e-a501-69854521d0ce",
      "name": "Parse & Validate AI JSON Output",
      "type": "n8n-nodes-base.code",
      "position": [
        2112,
        368
      ]
    },
    {
      "id": "1e82b9a5-ddc6-4b4e-84df-0dc201ebdd00",
      "name": "Save SEO Report to Google Sheets1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2560,
        496
      ]
    },
    {
      "id": "a53ecfff-8e78-4ee0-8b76-6fe32ec92e71",
      "name": "Send SEO Report by Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2336,
        368
      ]
    },
    {
      "id": "47b3a83e-ec11-47b7-9eaa-6ed5b2057ccb",
      "name": "Fetch URLs from Google Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        864,
        496
      ]
    }
  ],
  "connections": {
    "Decodo": {
      "main": [
        [
          {
            "node": "Extract SEO Elements from HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate AI SEO Executive Summary",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Process URLs one by one": {
      "main": [
        [],
        [
          {
            "node": "Decodo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send SEO Report by Email": {
      "main": [
        [
          {
            "node": "Save SEO Report to Google Sheets1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch URLs from Google Sheet": {
      "main": [
        [
          {
            "node": "Process URLs one by one",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract SEO Elements from HTML": {
      "main": [
        [
          {
            "node": "Generate AI SEO Executive Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse & Validate AI JSON Output": {
      "main": [
        [
          {
            "node": "Send SEO Report by Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate AI SEO Executive Summary": {
      "main": [
        [
          {
            "node": "Parse & Validate AI JSON Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save SEO Report to Google Sheets1": {
      "main": [
        [
          {
            "node": "Process URLs one by one",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Fetch URLs from Google Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}