{
  "name": "Automated SEO indexing: sitemap to GSC & indexing API",
  "nodes": [
    {
      "id": "96e7f03e-e08d-4256-b6f5-e99946cb7d72",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        1024,
        688
      ]
    },
    {
      "id": "304c6dc5-e1f7-4167-b9e5-361ba3d69026",
      "name": "Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        1248,
        592
      ]
    },
    {
      "id": "fa4d8a14-76c5-4b18-8116-eae4544830bc",
      "name": "Fetch Sitemap XML",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1472,
        592
      ]
    },
    {
      "id": "b4b296be-37f3-4f5e-8c75-c250547b8f9b",
      "name": "Convert XML to JSON",
      "type": "n8n-nodes-base.xml",
      "position": [
        1696,
        512
      ]
    },
    {
      "id": "b07b709f-25de-4ce8-a2f3-8a602953a30a",
      "name": "Parse Sitemap Structure",
      "type": "n8n-nodes-base.code",
      "position": [
        1920,
        512
      ]
    },
    {
      "id": "e1044373-f078-4a7a-941f-3edc34c6fd8e",
      "name": "Is Sitemap Index?",
      "type": "n8n-nodes-base.if",
      "position": [
        2144,
        592
      ]
    },
    {
      "id": "efd97ee2-d810-4463-a14f-a974d158c37e",
      "name": "Format URL Data",
      "type": "n8n-nodes-base.set",
      "position": [
        2480,
        608
      ]
    },
    {
      "id": "0d9aa95e-a433-4670-892c-f605bec062ba",
      "name": "Filter: Recent URLs Only",
      "type": "n8n-nodes-base.filter",
      "position": [
        2704,
        608
      ]
    },
    {
      "id": "4a8a07b1-4848-43bb-801e-aa45336a8646",
      "name": "Check Submission History",
      "type": "n8n-nodes-base.code",
      "position": [
        2928,
        608
      ]
    },
    {
      "id": "a242b268-1079-43b9-b417-8f1542701422",
      "name": "GSC: Inspect URL Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3504,
        608
      ]
    },
    {
      "id": "c6127880-6072-4d00-aef4-3b645dea9901",
      "name": "Logic: Should Index?",
      "type": "n8n-nodes-base.code",
      "position": [
        3728,
        608
      ]
    },
    {
      "id": "232a6d6f-0abd-4b97-b15f-affaebfcff5a",
      "name": "Filter: Only Not Indexed",
      "type": "n8n-nodes-base.filter",
      "position": [
        3952,
        608
      ]
    },
    {
      "id": "06a009bd-e21d-49ed-9d3b-52c7f17801d7",
      "name": "Batch Processing",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        4176,
        608
      ]
    },
    {
      "id": "6fdc1d5f-b3a2-4719-99b1-776ae927b138",
      "name": "Delay (Rate Limiting)",
      "type": "n8n-nodes-base.wait",
      "position": [
        4624,
        608
      ]
    },
    {
      "id": "ec8043b3-5afa-4701-af3b-b9f2056cbe79",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1024,
        496
      ]
    },
    {
      "id": "5740f5e3-64be-4535-aa46-0774ce91a4f3",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1216,
        384
      ],
      "parameters": {
        "width": 1104,
        "height": 576,
        "content": "# SETUP & CONFIGURATION"
      }
    },
    {
      "id": "146b8248-3146-4a7b-abd1-5ccd210b3702",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2448,
        384
      ],
      "parameters": {
        "width": 624,
        "height": 576,
        "content": "# DATA FILTERING & LOGIC"
      }
    },
    {
      "id": "ce12a6a2-9f47-4604-9fbe-e8ef8b59c85d",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3200,
        384
      ],
      "parameters": {
        "width": 1584,
        "height": 576,
        "content": "# API INTERACTION & INDEXING"
      }
    },
    {
      "id": "93247ec5-f7ab-46e3-8c67-fe4326c4f228",
      "name": "Filter: Valid for Submission",
      "type": "n8n-nodes-base.filter",
      "position": [
        3280,
        608
      ]
    },
    {
      "id": "287fc7ca-6e67-4371-88b3-ac468f986bed",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 832,
        "height": 1072,
        "content": "## Overview\n\nThis workflow automates Google indexing by fetching URLs from your sitemap, checking their status in GSC, and submitting non-indexed pages to the Google Indexing API.\n\n## Setup steps\n\n**1"
      }
    },
    {
      "id": "9c1cae13-9ea1-4fd0-b631-b394f894047d",
      "name": "GSC: Request Indexing",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4400,
        528
      ]
    }
  ],
  "connections": {
    "Configuration": {
      "main": [
        [
          {
            "node": "Fetch Sitemap XML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format URL Data": {
      "main": [
        [
          {
            "node": "Filter: Recent URLs Only",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Batch Processing": {
      "main": [
        [],
        [
          {
            "node": "GSC: Request Indexing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Sitemap XML": {
      "main": [
        [
          {
            "node": "Convert XML to JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Sitemap Index?": {
      "main": [
        [
          {
            "node": "Fetch Sitemap XML",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Format URL Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert XML to JSON": {
      "main": [
        [
          {
            "node": "Parse Sitemap Structure",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Logic: Should Index?": {
      "main": [
        [
          {
            "node": "Filter: Only Not Indexed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delay (Rate Limiting)": {
      "main": [
        [
          {
            "node": "Batch Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GSC: Request Indexing": {
      "main": [
        [
          {
            "node": "Delay (Rate Limiting)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GSC: Inspect URL Status": {
      "main": [
        [
          {
            "node": "Logic: Should Index?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Sitemap Structure": {
      "main": [
        [
          {
            "node": "Is Sitemap Index?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Submission History": {
      "main": [
        [
          {
            "node": "Filter: Valid for Submission",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter: Only Not Indexed": {
      "main": [
        [
          {
            "node": "Batch Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter: Recent URLs Only": {
      "main": [
        [
          {
            "node": "Check Submission History",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter: Valid for Submission": {
      "main": [
        [
          {
            "node": "GSC: Inspect URL Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}