Skip to main content

Cluster webpage topics from Google Sheets to Google Sheets for AI discovery

Workflow preview

Workflow preview
100%
Cluster webpage topics from Google Sheets to Google Sheets for AI discovery preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Description Streamline AI focused SEO research by automatically analyzing URLs stored in Google Sheets, extracting semantic signals from each webpage, and generating high quality topic clusters ...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.googlesheets, n8n-nodes-base.splitinbatches, n8n-nodes-base.httprequest, n8n-nodes-base.html, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorybufferwindow

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Cluster webpage topics from Google Sheets to Google Sheets for AI discovery
Workflow name
Cluster webpage topics from Google Sheets to Google Sheets for AI discovery

šŸ“Š Description

Streamline AI-focused SEO research by automatically analyzing URLs stored in Google Sheets, extracting semantic signals from each webpage, and generating high-quality topic clusters for AI discovery. šŸ¤–šŸ” This automation fetches URLs weekly, scrapes headings (H1–H6), extracts entities, keywords, topics, and summaries using GPT-4o-mini, and classifies each page into clusters and subclusters optimized for LLM search visibility. It also generates internal linking suggestions for better topical authority and writes all results back into Google Sheets. Perfect for content strategists, SEO teams, and AI-search optimization workflows. šŸ“ˆšŸ§©

šŸ” What This Template Does

1ļøāƒ£ Triggers weekly to process URLs stored in Google Sheets. šŸ“… 2ļøāƒ£ Fetches all URL records from the configured sheet. šŸ“„ 3ļøāƒ£ Processes URLs in batches to avoid API overload. šŸ” 4ļøāƒ£ Extracts webpage HTML and pulls semantic headings (H1–H6). šŸ“° 5ļøāƒ£ Sends headings + URL context to GPT-4o-mini for structured extraction of: — title — entities — keywords — topics — summary 6ļøāƒ£ Generates high-level cluster + subcluster labels for each page. 🧠 7ļøāƒ£ Recommends 3–5 internal linking URLs to strengthen topical authority. šŸ”— 8ļøāƒ£ Updates Google Sheets with all extracted fields + status flags. šŸ“Š 9ļøāƒ£ Repeats the process until all URLs are analyzed. šŸ”„

⭐ Key Benefits

āœ… Automates topical clustering for AI search optimization āœ… Extracts entities, keywords, and topics with high semantic accuracy āœ… Strengthens internal linking strategies using AI suggestions āœ… Eliminates manual scraping and analysis work āœ… Enables scalable content audits for large URL datasets āœ… Enhances visibility in AI-driven search systems and answer engines

🧩 Features

  • Google Sheets integration for input + output
  • HTML parsing for H1–H6 extraction
  • GPT-4o-mini structured JSON extraction
  • Topic clustering engine (cluster & subcluster classification)
  • Internal linking recommendation generator
  • Batch processing for large URL datasets
  • Status-based updating in Google Sheets

šŸ” Requirements

  • Google Sheets OAuth2 credentials
  • OpenAI API key (GPT-4o-mini)
  • Publicly accessible URLs (or authenticated HTML if applicable)
  • n8n with LangChain nodes enabled

šŸŽÆ Target Audience

  • SEO teams performing semantic clustering at scale
  • Content strategists creating AI-ready topic maps
  • Agencies optimizing large client URL collections
  • AI-search consultants building structured content libraries
  • Technical marketers needing automated content analysis

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 - Sticky Note

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

Block 2 - Sticky Note1

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

Block 3 - Sticky Note2

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

Block 4 - Sticky Note3

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

Block 5 - Sticky Note4

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

Block 6 - Sticky Note5

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

Block 7 - Sticky Note6

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

Block 8 - Sticky Note7

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

Block 9 - Fetch URL List from Google Sheets

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

Block 10 - Split URLs In Batches

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

Block 11 - Fetch HTML from URL

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - Extract Headings (H1-H6)

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 13 - Prepare Sheet Update

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

Block 14 - Update Sheet Row

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

Block 15 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 16 - Memory Buffer

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 17 - Structured JSON Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 18 - AI Agent - Extract Entities & Keywords

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

Block 19 - OpenAI Chat Model for Clustering

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 20 - Memory Buffer for Clustering

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 21 - Cluster JSON Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 22 - AI Agent - Assign Topic Clusters

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

Block 23 - Format Extracted Data

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

Block 24 - Format Cluster Data

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

Showing the first 24 of 29 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Cluster webpage topics from Google Sheets to Google Sheets for AI discovery
Complexity advanced
Nodes 29
Categories Market Research, AI Summarization
Author Rahul Joshi
Published 21 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11075/11075.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 Cluster webpage topics from Google Sheets to Google Sheets for AI discovery do?

Description Streamline AI focused SEO research by automatically analyzing URLs stored in Google Sheets, extracting semantic signals from each webpage, and generating high quality topic clusters ...

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.