{
  "name": "Automate SEO analysis for multiple domains with Ahrefs and Google Sheets",
  "nodes": [
    {
      "id": "d4d19da7-a633-4090-8449-0d51556b6f36",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1024,
        144
      ]
    },
    {
      "id": "6297f8b6-b592-48e0-80ea-799e7ba02e95",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -560,
        144
      ]
    },
    {
      "id": "8e2c22fa-bd52-4ef2-b998-f88b073eab71",
      "name": "Parse JSON",
      "type": "n8n-nodes-base.code",
      "position": [
        -160,
        -240
      ]
    },
    {
      "id": "5c3fa80f-a116-4d1c-8b3f-872dab147dba",
      "name": "Add Traffic Data To Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        16,
        -240
      ]
    },
    {
      "id": "67be72c9-3fb1-43a5-a720-5cdb42c87129",
      "name": "Parse JSON1",
      "type": "n8n-nodes-base.code",
      "position": [
        -176,
        416
      ]
    },
    {
      "id": "ee24bf73-35c9-4f29-b577-6f2901ddf70d",
      "name": "Add Domain SEO Data To Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        0,
        416
      ]
    },
    {
      "id": "53a605a3-dbca-43f9-9dca-ab3e3aa46fd0",
      "name": "Get Domains in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -800,
        144
      ]
    },
    {
      "id": "56dea17f-3c6d-4cd3-9aa8-87462ff28786",
      "name": "Get SEO Stats",
      "type": "n8n-nodes-mcp.mcpClient",
      "position": [
        -352,
        416
      ]
    },
    {
      "id": "f160163e-c900-47d5-b60e-0bbe6029e28a",
      "name": "Get Traffic",
      "type": "n8n-nodes-mcp.mcpClient",
      "position": [
        -336,
        -240
      ]
    },
    {
      "id": "248f15ae-bbab-476c-9956-cafc2c0029e1",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -400
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "223ef12a-7cb6-4c66-8cf0-88d8554b86f5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        288
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "1277a143-0010-4e82-8a0e-e34eacbe9424",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1584,
        -112
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Parse JSON": {
      "main": [
        [
          {
            "node": "Add Traffic Data To Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Traffic": {
      "main": [
        [
          {
            "node": "Parse JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse JSON1": {
      "main": [
        [
          {
            "node": "Add Domain SEO Data To Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get SEO Stats": {
      "main": [
        [
          {
            "node": "Parse JSON1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Get SEO Stats",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Traffic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Domains in sheet": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Traffic Data To Sheet": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Domain SEO Data To Sheet": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Get Domains in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}