{
  "name": "Track AI search winners and uncover topic gaps with SE Ranking and Google Sheets",
  "nodes": [
    {
      "id": "5cfd1015-76d4-4a32-bac2-92f9306865e5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3584,
        1664
      ],
      "parameters": {
        "width": 568,
        "height": 1448,
        "content": "## Track who wins AI search and find the topics you're missing with SE Ranking\n\n## Who is this for\n- SEO teams comparing AI search visibility against competitors\n- Content strategists planning editori"
      }
    },
    {
      "id": "e773dbac-6dbe-45a0-a015-6b4c05f56aae",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4064,
        3248
      ],
      "parameters": {
        "width": 456,
        "height": 464,
        "content": "### 📋 How to share or embed this form\n\n1. **Activate** the workflow using the toggle in the top right\n2. Open the **Domain Input Form** node and copy the **Production URL**\n3. **Share the link** direc"
      }
    },
    {
      "id": "eba74508-75d0-465a-af5c-637533f30207",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4624,
        1984
      ],
      "parameters": {
        "width": 868,
        "height": 334,
        "content": "### 🏆 AI Search Leaderboard\nCompares you and up to 2 competitors across ChatGPT, Perplexity, Gemini, AI Overviews, and AI Mode — returns share of voice and presence scores per engine."
      }
    },
    {
      "id": "0891b8ae-04c0-4672-ad30-03a8e303f474",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4784,
        3040
      ],
      "parameters": {
        "width": 1172,
        "height": 846,
        "content": "### 🤖 AI Footprint Comparison\nYour AI topics and both competitors' topics merge before the gap code runs. \nOnly SEO-context prompts are kept — filters out unrelated brand mentions."
      }
    },
    {
      "id": "836d8671-7dbd-495e-acb0-03fce1988827",
      "name": "Domain Input Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        4320,
        3008
      ]
    },
    {
      "id": "940ff7c6-93f6-48d1-a834-ec408d770e93",
      "name": "Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        4512,
        3008
      ]
    },
    {
      "id": "0d58b9d5-49ae-4c1d-bf78-d549014949f9",
      "name": "Get AI leaderboard",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        4800,
        2144
      ]
    },
    {
      "id": "6834e6f3-56a0-434e-bddc-9e078dc54650",
      "name": "Format leaderboard",
      "type": "n8n-nodes-base.code",
      "position": [
        5008,
        2144
      ]
    },
    {
      "id": "c352e9d6-50f6-4ab7-b186-99bb85d1e73a",
      "name": "Export to Sheets: AI Leaderboard",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        5312,
        2144
      ]
    },
    {
      "id": "6ba86cc5-4111-4646-abca-3c0e13dc5b0c",
      "name": "Wait before keyword gap (3s)",
      "type": "n8n-nodes-base.wait",
      "position": [
        4816,
        2512
      ]
    },
    {
      "id": "105ca5bf-d3a5-4c64-a5c1-dda76f1317d7",
      "name": "Get keyword gaps 1st Competitor",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        5152,
        2432
      ]
    },
    {
      "id": "d8388977-87a7-4de9-aae4-065cd9c4ee1a",
      "name": "Wait before keyword gap (3s)1",
      "type": "n8n-nodes-base.wait",
      "position": [
        5040,
        2608
      ]
    },
    {
      "id": "e7697519-dddb-4e40-8042-6283a72f4779",
      "name": "Get keyword gaps 2nd Competitor",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        5264,
        2608
      ]
    },
    {
      "id": "39606454-3fb5-4cc3-88e1-08da7c2e9ae4",
      "name": "Merge keyword gaps",
      "type": "n8n-nodes-base.merge",
      "position": [
        5488,
        2512
      ]
    },
    {
      "id": "79404595-eb60-4ce8-bd03-d371fb290962",
      "name": "Format keyword gaps",
      "type": "n8n-nodes-base.code",
      "position": [
        5712,
        2512
      ]
    },
    {
      "id": "4dfa9aaf-62d9-47c9-afed-1b82aa5ee16e",
      "name": "Export to Sheets: Organic Gaps",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        5936,
        2512
      ]
    },
    {
      "id": "c8cdd7bb-c1de-4567-8c99-6f5de6991d3b",
      "name": "Wait before questions (6s)",
      "type": "n8n-nodes-base.wait",
      "position": [
        4896,
        2800
      ]
    },
    {
      "id": "12019e1e-6ba7-4f8a-b8e1-8b5936bff850",
      "name": "Get question keywords",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        5104,
        2800
      ]
    },
    {
      "id": "85853350-254c-44f3-a738-dff0c52151eb",
      "name": "Format questions",
      "type": "n8n-nodes-base.code",
      "position": [
        5360,
        2800
      ]
    },
    {
      "id": "231c7a4e-a48c-4e55-85b0-1e3694529099",
      "name": "Export to Sheets: Questions",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        5616,
        2800
      ]
    },
    {
      "id": "9a74573c-6cef-4859-94e2-f3415fafcb8b",
      "name": "Wait before your AI topics (9s)",
      "type": "n8n-nodes-base.wait",
      "position": [
        4832,
        3184
      ]
    },
    {
      "id": "9d2150b2-7d44-4e7d-b281-efb77f3489c6",
      "name": "Get your AI topics",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        5040,
        3184
      ]
    },
    {
      "id": "aeb0a034-82a2-46b3-9f36-e31b3e14bfc4",
      "name": "Format your AI topics",
      "type": "n8n-nodes-base.code",
      "position": [
        5264,
        3184
      ]
    },
    {
      "id": "3bf02165-88d5-4121-8e62-28dbfc0aabd0",
      "name": "Export to Sheets: Your AI Topics",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        5552,
        3184
      ]
    },
    {
      "id": "84c52904-e14f-4105-ae10-4ae655e48180",
      "name": "Wait before competitor topics (12s)",
      "type": "n8n-nodes-base.wait",
      "position": [
        4832,
        3424
      ]
    },
    {
      "id": "539fe1f1-1fc3-4701-bb92-42e9cfb94132",
      "name": "Wait before competitor topics (10s)",
      "type": "n8n-nodes-base.wait",
      "position": [
        4832,
        3648
      ]
    },
    {
      "id": "b30db186-858a-4b0f-b1e6-1aa01383f398",
      "name": "Get 1st competitor AI topics",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        5040,
        3424
      ]
    },
    {
      "id": "ccc3cd38-819e-4d0b-91c1-5058a12bba6f",
      "name": "Get 2nd competitor AI topics",
      "type": "@seranking/n8n-nodes-seranking.seRanking",
      "position": [
        5040,
        3648
      ]
    },
    {
      "id": "f60eea69-4efc-4665-875c-a9fe91dbb137",
      "name": "Merge your topics and competitor topics",
      "type": "n8n-nodes-base.merge",
      "position": [
        5376,
        3408
      ]
    },
    {
      "id": "cc5119e1-7b50-48c9-be7a-0e1a54b16fff",
      "name": "Find topics you're missing",
      "type": "n8n-nodes-base.code",
      "position": [
        5568,
        3424
      ]
    },
    {
      "id": "95f4fa5a-0e17-4f3b-b5c0-87f9d4196dfe",
      "name": "Export to Sheets: Competitor AI Topics",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        5776,
        3424
      ]
    }
  ],
  "connections": {
    "Configuration": {
      "main": [
        [
          {
            "node": "Get AI leaderboard",
            "type": "main",
            "index": 0
          },
          {
            "node": "Wait before keyword gap (3s)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Wait before questions (6s)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Wait before your AI topics (9s)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Wait before competitor topics (12s)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Wait before competitor topics (10s)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format questions": {
      "main": [
        [
          {
            "node": "Export to Sheets: Questions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Domain Input Form": {
      "main": [
        [
          {
            "node": "Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format leaderboard": {
      "main": [
        [
          {
            "node": "Export to Sheets: AI Leaderboard",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get AI leaderboard": {
      "main": [
        [
          {
            "node": "Format leaderboard",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get your AI topics": {
      "main": [
        [
          {
            "node": "Format your AI topics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge keyword gaps": {
      "main": [
        [
          {
            "node": "Format keyword gaps",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format keyword gaps": {
      "main": [
        [
          {
            "node": "Export to Sheets: Organic Gaps",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format your AI topics": {
      "main": [
        [
          {
            "node": "Export to Sheets: Your AI Topics",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge your topics and competitor topics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get question keywords": {
      "main": [
        [
          {
            "node": "Format questions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find topics you're missing": {
      "main": [
        [
          {
            "node": "Export to Sheets: Competitor AI Topics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait before questions (6s)": {
      "main": [
        [
          {
            "node": "Get question keywords",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get 1st competitor AI topics": {
      "main": [
        [
          {
            "node": "Merge your topics and competitor topics",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Get 2nd competitor AI topics": {
      "main": [
        [
          {
            "node": "Merge your topics and competitor topics",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Wait before keyword gap (3s)": {
      "main": [
        [
          {
            "node": "Get keyword gaps 1st Competitor",
            "type": "main",
            "index": 0
          },
          {
            "node": "Wait before keyword gap (3s)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait before keyword gap (3s)1": {
      "main": [
        [
          {
            "node": "Get keyword gaps 2nd Competitor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get keyword gaps 1st Competitor": {
      "main": [
        [
          {
            "node": "Merge keyword gaps",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get keyword gaps 2nd Competitor": {
      "main": [
        [
          {
            "node": "Merge keyword gaps",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Wait before your AI topics (9s)": {
      "main": [
        [
          {
            "node": "Get your AI topics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait before competitor topics (10s)": {
      "main": [
        [
          {
            "node": "Get 2nd competitor AI topics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait before competitor topics (12s)": {
      "main": [
        [
          {
            "node": "Get 1st competitor AI topics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge your topics and competitor topics": {
      "main": [
        [
          {
            "node": "Find topics you're missing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}