{
  "name": "Run a multi-agent SEO domain audit with SE Ranking and Claude",
  "nodes": [
    {
      "id": "3c9559bb-8fa3-40d4-bb36-fdb1c0129fc3",
      "name": "Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -656,
        1056
      ],
      "parameters": {
        "width": 568,
        "height": 1112,
        "content": "## Run a multi-agent SEO domain audit with SE Ranking and Claude\n\n## Who is this for\n- SEO agencies running competitor analysis for clients\n- Content teams planning editorial strategies\n- Marketing te"
      }
    },
    {
      "id": "611b60f9-36cd-48c0-bf33-caf8781ff108",
      "name": "Domain Input Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        128,
        1008
      ]
    },
    {
      "id": "dadff507-264f-44c2-80b6-f6a3fb0f5f18",
      "name": "Set Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        352,
        1008
      ]
    },
    {
      "id": "ec48be19-8a33-4c9b-a933-ddc02af5316d",
      "name": "Data Collection Phase",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        608,
        736
      ],
      "parameters": {
        "width": 624,
        "height": 112,
        "content": "## Data Collection\nPulls domain overview, keywords, backlinks, competitors, audit, and AI visibility data from SE Ranking"
      }
    },
    {
      "id": "5f946ad5-b37f-4ec8-9feb-d14c83502c47",
      "name": "Get Domain Overview",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        816,
        880
      ]
    },
    {
      "id": "756955c5-e853-4266-ac48-76e62e95ce52",
      "name": "Get Top Keywords",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        816,
        1040
      ]
    },
    {
      "id": "5e65e4ea-06a2-40f6-aeb9-4ac149a8ee28",
      "name": "Get Competitors",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        816,
        1200
      ]
    },
    {
      "id": "9c5611e4-7619-44c4-b9ee-ee4c13f4ad28",
      "name": "Get Backlinks Summary",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        608,
        1360
      ]
    },
    {
      "id": "63f22448-530d-4853-a073-6b2b02600e32",
      "name": "Get Backlinks Anchors",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        608,
        1520
      ]
    },
    {
      "id": "42c0082f-ced3-49c9-9464-5a3dbf4e424c",
      "name": "Wait for audit (1 min)",
      "type": "n8n-nodes-base.wait",
      "position": [
        416,
        1920
      ]
    },
    {
      "id": "c3fde7a0-33c7-498e-a35b-f1a81c302de6",
      "name": "Get Audit Report",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        608,
        1920
      ]
    },
    {
      "id": "7fd8069f-3754-46d2-baee-e9a74320760b",
      "name": "Get AI Search Leaderboard",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        608,
        1712
      ]
    },
    {
      "id": "1397cf6f-d387-4c1a-a596-6c409f828fe4",
      "name": "Merge All Data",
      "type": "n8n-nodes-base.merge",
      "position": [
        1120,
        1360
      ]
    },
    {
      "id": "f915bfeb-c7df-4c29-bc49-add83c56587d",
      "name": "Format Data for AI Agents",
      "type": "n8n-nodes-base.code",
      "position": [
        1328,
        1280
      ]
    },
    {
      "id": "ee52669d-387d-428e-b2c2-d4f2ba9bff62",
      "name": "AI Agents Phase",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1808,
        1024
      ],
      "parameters": {
        "width": 608,
        "height": 112,
        "content": "## AI Analysis (5 Agents)\nFour specialists analyze the data, then a Strategy Director builds the final action plan"
      }
    },
    {
      "id": "b32cedd1-a44f-4c02-930f-2b92b1af53c7",
      "name": "Technical SEO Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1568,
        1360
      ]
    },
    {
      "id": "e4f3c796-f356-43fc-b370-c0d99b3964c8",
      "name": "Link Building Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1568,
        1552
      ]
    },
    {
      "id": "a5bf7664-c501-4414-a457-2cdee021fe34",
      "name": "Keyword Strategy Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1568,
        1744
      ]
    },
    {
      "id": "9cbffbcf-9093-4bc3-bb2a-52ebe12eed0c",
      "name": "AI Visibility Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1568,
        1168
      ]
    },
    {
      "id": "d227c3e7-5266-47cd-861e-f5517533271f",
      "name": "Merge Agent Outputs",
      "type": "n8n-nodes-base.merge",
      "position": [
        1888,
        1392
      ]
    },
    {
      "id": "5d5cd269-d877-40f9-ab92-5223e3470de4",
      "name": "Compile Agent Reports",
      "type": "n8n-nodes-base.code",
      "position": [
        2080,
        1392
      ]
    },
    {
      "id": "ab30f5b7-b1df-4f16-ab45-7469902346f6",
      "name": "Strategy Director Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2288,
        1392
      ]
    },
    {
      "id": "40c204fa-bf03-4436-82fa-1b385ea1f781",
      "name": "Output Phase",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2624,
        1232
      ],
      "parameters": {
        "width": 400,
        "height": 112,
        "content": "## Report & Export\nCompiles the full report and saves it to Google Drive and Google Sheets"
      }
    },
    {
      "id": "6142370f-0525-42fa-8a47-2ad5f69142cf",
      "name": "Compile Final Report",
      "type": "n8n-nodes-base.code",
      "position": [
        2592,
        1392
      ]
    },
    {
      "id": "499c61d3-5a84-460e-8f22-8ff673d7de97",
      "name": "Save to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2928,
        1392
      ]
    },
    {
      "id": "bc3d8de9-7602-4bf5-b40d-b9e4f1c40623",
      "name": "Create standard audit",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        208,
        1920
      ]
    },
    {
      "id": "e2ac3e1d-7be8-43ce-898f-43e1cfb02cf2",
      "name": "If audit still running",
      "type": "n8n-nodes-base.if",
      "position": [
        816,
        1920
      ]
    },
    {
      "id": "87d2dc0e-5f1b-4d0f-b30d-389e05292d0b",
      "name": "Prepare competitors for AI Leaderboard",
      "type": "n8n-nodes-base.code",
      "position": [
        416,
        1712
      ]
    },
    {
      "id": "1b6774d4-2e7d-4ba2-80a0-8823d606153e",
      "name": "Claude Sonnet (Specialist Agents)",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        1440,
        1952
      ]
    },
    {
      "id": "d14e7e55-8f44-4f0f-b779-c6aaf907d04c",
      "name": "Claude Opus (Strategy Director)",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        2160,
        1600
      ]
    },
    {
      "id": "9da10d22-e454-48c4-b0b7-caa645e9532e",
      "name": "Save report to Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2928,
        1584
      ]
    }
  ],
  "connections": {
    "Merge All Data": {
      "main": [
        [
          {
            "node": "Format Data for AI Agents",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Competitors": {
      "main": [
        [
          {
            "node": "Merge All Data",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Get Audit Report": {
      "main": [
        [
          {
            "node": "If audit still running",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Top Keywords": {
      "main": [
        [
          {
            "node": "Merge All Data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Domain Input Form": {
      "main": [
        [
          {
            "node": "Set Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Configuration": {
      "main": [
        [
          {
            "node": "Get Domain Overview",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Top Keywords",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Competitors",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Backlinks Summary",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Backlinks Anchors",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create standard audit",
            "type": "main",
            "index": 0
          },
          {
            "node": "Prepare competitors for AI Leaderboard",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Visibility Agent": {
      "main": [
        [
          {
            "node": "Merge Agent Outputs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Domain Overview": {
      "main": [
        [
          {
            "node": "Merge All Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Link Building Agent": {
      "main": [
        [
          {
            "node": "Merge Agent Outputs",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Merge Agent Outputs": {
      "main": [
        [
          {
            "node": "Compile Agent Reports",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Technical SEO Agent": {
      "main": [
        [
          {
            "node": "Merge Agent Outputs",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Compile Final Report": {
      "main": [
        [
          {
            "node": "Save to Google Sheets",
            "type": "main",
            "index": 0
          },
          {
            "node": "Save report to Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compile Agent Reports": {
      "main": [
        [
          {
            "node": "Strategy Director Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create standard audit": {
      "main": [
        [
          {
            "node": "Wait for audit (1 min)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Backlinks Anchors": {
      "main": [
        [
          {
            "node": "Merge All Data",
            "type": "main",
            "index": 4
          }
        ]
      ]
    },
    "Get Backlinks Summary": {
      "main": [
        [
          {
            "node": "Merge All Data",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "If audit still running": {
      "main": [
        [
          {
            "node": "Wait for audit (1 min)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge All Data",
            "type": "main",
            "index": 6
          }
        ]
      ]
    },
    "Keyword Strategy Agent": {
      "main": [
        [
          {
            "node": "Merge Agent Outputs",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Wait for audit (1 min)": {
      "main": [
        [
          {
            "node": "Get Audit Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Strategy Director Agent": {
      "main": [
        [
          {
            "node": "Compile Final Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Data for AI Agents": {
      "main": [
        [
          {
            "node": "Technical SEO Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Link Building Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Keyword Strategy Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "AI Visibility Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get AI Search Leaderboard": {
      "main": [
        [
          {
            "node": "Merge All Data",
            "type": "main",
            "index": 5
          }
        ]
      ]
    },
    "Claude Opus (Strategy Director)": {
      "ai_languageModel": [
        [
          {
            "node": "Strategy Director Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Claude Sonnet (Specialist Agents)": {
      "ai_languageModel": [
        [
          {
            "node": "Keyword Strategy Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Link Building Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Technical SEO Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "AI Visibility Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Prepare competitors for AI Leaderboard": {
      "main": [
        [
          {
            "node": "Get AI Search Leaderboard",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}