Skip to main content

Map which AI search topics each domain owns with SE Ranking and GPT

Workflow preview

Workflow preview
100%
Map which AI search topics each domain owns with SE Ranking and GPT preview
Open on n8n.io

1. Workflow Overview

Find which AI search topics each domain owns with SE Ranking and GPT Who is this for SEO teams wanting to understand topic level AI search domina...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.set, n8n-nodes-base.wait, @seranking/n8n-nodes-seranking.seranking, n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.openai

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Eugene Melnychenko.

Original n8n.io source

1.1 Workflow description

Title
Map which AI search topics each domain owns with SE Ranking and GPT
Workflow name
Map which AI search topics each domain owns with SE Ranking and GPT

Find which AI search topics each domain owns with SE Ranking and GPT

Who is this for

  • SEO teams wanting to understand topic-level AI search dominance across competitors
  • Content strategists building editorial plans around AI visibility gaps
  • Marketing managers benchmarking brand presence across AI search topics

What this workflow does

Pulls AI search prompts for your domain and up to 2 competitors, then uses GPT to cluster them into topics and reason about which domain owns each one — turning a flat list of prompts into a strategic competitive topic map.

What you'll get

  • AI search leaderboard with share of voice across ChatGPT, Perplexity, Gemini, AI Overviews, and AI Mode
  • A topic-level competitive map showing which domain wins each topic area
  • Prompt counts per domain per topic so you can see exactly where you're ahead or behind
  • A one-line actionable insight per topic to guide your content strategy
  • An overall winner and competitive summary saved to Google Sheets

How it works

  1. Add your domain and 2 competitors in the form — pulls the AI search leaderboard across all 5 LLM engines

  1. Fetches up to 10 prompts per domain (both brand and target) for you and each competitor
  2. Filters competitor prompts to keep only SEO-relevant topics — removes noise like gaming or sports
  3. Sends all prompts to GPT with instructions to cluster them into topics and identify which domain appears most per topic
  4. GPT reasons about dominance per cluster and returns a structured competitive topic map
  5. Saves the leaderboard and topic map to separate tabs in Google Sheets

Requirements

  • SE Ranking community node installed
  • SE Ranking API token (Get one here)
  • OpenAI API key
  • Google Sheets account (optional)

Setup

  1. Install the SE Ranking community node
  2. Add your SE Ranking API credentials
  3. Add your OpenAI API credentials
  4. Connect your Google Sheets account and set a spreadsheet URL in each export node
  5. Activate the workflow — n8n generates a unique form URL you can share or embed
  6. Open the form, fill in your domain and competitors, and the workflow runs automatically

Customization

  • Change prompts_limit in the Configuration node to fetch more or fewer prompts per domain
  • Change source in the Configuration node for a different regional database (us, uk, de, fr, es, etc.)
  • Edit the system prompt in the GPT node to adjust how topics are clustered or how insights are written

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Domain Input Form

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 2 - Configuration

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3

Block 3 - Wait (3s)

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 4 - Get your target prompts

Type / Role
@seranking/n8n-nodes-seranking.seRanking - seRanking
Config choices
Version 1

Block 5 - Wait (6s)

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 6 - Get your brand prompts

Type / Role
@seranking/n8n-nodes-seranking.seRanking - seRanking
Config choices
Version 1

Block 7 - Wait (9s)

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 8 - Get competitor 1 target prompts

Type / Role
@seranking/n8n-nodes-seranking.seRanking - seRanking
Config choices
Version 1

Block 9 - Wait (12s)

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 10 - Get competitor 1 brand prompts

Type / Role
@seranking/n8n-nodes-seranking.seRanking - seRanking
Config choices
Version 1

Block 11 - Wait (15s)

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 12 - Get competitor 2 target prompts

Type / Role
@seranking/n8n-nodes-seranking.seRanking - seRanking
Config choices
Version 1

Block 13 - Wait (18s)

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 14 - Get competitor 2 brand prompts

Type / Role
@seranking/n8n-nodes-seranking.seRanking - seRanking
Config choices
Version 1

Block 15 - Merge all prompts

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 16 - Format prompts for GPT

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Format GPT output

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 18 - Export to Sheets: Topic Analysis

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.4

Block 19 - GPT topic clustering

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 2.1

Block 20 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Map which AI search topics each domain owns with SE Ranking and GPT
Complexity advanced
Nodes 24
Categories Market Research, AI Summarization
Author Eugene Melnychenko
Published 26 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14380/14380.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Map which AI search topics each domain owns with SE Ranking and GPT do?

Find which AI search topics each domain owns with SE Ranking and GPT Who is this for SEO teams wanting to understand topic level AI search domina...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.