Skip to main content

Extract and analyze Google AI overviews with LLM for SEO recommendations

Workflow preview

Workflow preview
100%
Extract and analyze Google AI overviews with LLM for SEO recommendations preview
Open on n8n.io

Important notice

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

1. Workflow Overview

How it works • Extract AI Overviews from Google Search Receives data from browser extension via webhook • Convert HTML to Markdown Automatically processes and cleans AI Overview content • Store in ...

Best for

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

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.filter, n8n-nodes-base.html, n8n-nodes-base.merge, n8n-nodes-base.httprequest, n8n-nodes-base.splitinbatches

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Extract and analyze Google AI overviews with LLM for SEO recommendations
Workflow name
Extract and analyze Google AI overviews with LLM for SEO recommendations

How it works

Extract AI Overviews from Google Search - Receives data from browser extension via webhook • Convert HTML to Markdown - Automatically processes and cleans AI Overview content
Store in Google Sheets - Archives all extracted AI Overviews with metadata and sources • Generate SEO Guidelines - AI analyzes page content vs AI Overview to suggest improvements • Automate Analysis - Batch process multiple URLs and schedule regular checks

Set up steps

Import workflow - Load the JSON template into your n8n instance (2 minutes) • Configure Google Sheets - Set up OAuth connection and create spreadsheet with required columns (5 minutes)
Set up AI provider - Add OpenRouter API credentials for Gemini 2.5 Pro (3 minutes) • Install browser extension - Deploy the companion Chrome/Firefox extension for data extraction (5 minutes) • Test webhook endpoint - Verify the connection between extension and n8n workflow (2 minutes)

Total setup time: ~15 minutes

What you'll need:

Use cases:

  • SEO agencies - Monitor AI Overview presence for client keywords
  • Content marketers - Analyze what content gets featured in AI Overviews
  • E-commerce - Track AI Overview coverage for product-related searches
  • Research - Build datasets of AI Overview content across different topics

The workflow comes with a free browser extension (Chrome | Firefox) that automatically extracts AI Overview content from Google Search and sends it via webhook to your n8n workflow for processing and analysis.

GitHub Repository: https://github.com/romek-rozen/ai-overview-extractor/

Detailed Setup Instructions - AI Overview Extractor

Prerequisites

  • n8n instance (local or cloud) - version 1.95.3+
  • Google account for Sheets integration
  • OpenRouter API account for Gemini 2.5 Pro access
  • Browser (Chrome/Firefox) for the extension

Step 1: Import the Workflow

  1. Open n8n and navigate to Workflows
  2. Click "Add workflow" → "Import from JSON"
  3. Upload the AI_OVERVIES_EXTRACTOR_TEMPLATE.json file
  4. Save the workflow

Step 2: Configure Google Sheets

Create Google Sheets Document

  1. Create new Google Sheet with these columns:
    extractedAt | searchQuery | sources | markdown | myURL | task | guidelines | key 
    

Here is public google sheet template: https://docs.google.com/spreadsheets/d/15xqZ2dTiLMoyICYnnnRV-HPvXfdgVeXowr8a7kU4uHk/edit?gid=0#gid=0

  1. Copy the Google Sheets URL (you'll need it for the workflow)

Set up Google Sheets Credentials

  1. In n8n, go to SettingsCredentials
  2. Click "Add credential" → "Google Sheets OAuth2 API"
  3. Follow the OAuth setup to authorize n8n access to Google Sheets
  4. Name the credential (e.g., "Google Sheets AI Overview")

Configure Google Sheets Nodes

Update these nodes with your Google Sheets URL:

  • Get URLs to Analyze
  • Save AI Overview to Sheets
  • Save SEO Guidelines to Sheets

In each node:

  1. Set documentId to your Google Sheets URL
  2. Set sheetName to your Google Sheets URL
  3. Select your Google Sheets credential

Step 3: Configure AI Provider (OpenRouter)

Get OpenRouter API Key

  1. Sign up at https://openrouter.ai/
  2. Generate API key in your account settings
  3. Add credits to your account

Set up OpenRouter Credentials

  1. In n8n, go to SettingsCredentials
  2. Click "Add credential" → "OpenRouter API"
  3. Enter your API key
  4. Name the credential (e.g., "OpenRouter AI Overview")

Configure OpenRouter Node

  1. Select the Gemini 2.5 Pro Model node
  2. Choose your credential from the dropdown
  3. Verify the model (default: google/gemini-2.5-pro-preview)

Step 4: Install Browser Extension

Install in Chrome

Official Extension (Recommended)

  1. Visit: https://chromewebstore.google.com/detail/ai-overview-extractor/cbkdfibgmhicgnmmdanlhnebbgonhjje
  2. Click "Add to Chrome"

Install in Firefox

Official Add-on

  1. Visit: https://addons.mozilla.org/en-US/firefox/addon/ai-overview-extractor/
  2. Click "Add to Firefox"

Step 5: Configure Webhook Connection

Get Webhook URL

  1. In n8n workflow, click on the Webhook node
  2. Copy the webhook URL (should be like: http://localhost:5678/webhook/ai-overview-extractor-template-123456789)

Configure Extension

  1. Go to Google Search and perform any search with AI Overview
  2. Click the browser extension button (AI Overview Extractor)
  3. In webhook configuration section, paste your webhook URL
  4. Click "Test" - should show ✅ Test successful
  5. Click "Save" to store the configuration

Step 6: Activate and Test

Activate Workflow

  1. In n8n, toggle the workflow to "Active" (top right switch)
  2. Verify all nodes are properly configured

Test End-to-End

  1. Go to Google Search
  2. Search for something that shows AI Overview
  3. Use the extension to extract AI Overview
  4. Send via webhook - check your Google Sheets for the data
  5. Verify the markdown conversion worked correctly

Optional: Batch Analysis Setup

For SEO Analysis Features

  1. In your Google Sheets, add URLs in the myURL column
  2. Set task column to "create guidelines"
  3. Run the workflow manually or wait for the 15-minute scheduler
  4. Check guidelines column for AI-generated SEO recommendations

Troubleshooting

Webhook Issues

  • Ensure n8n is running on port 5678
  • Check if workflow is activated
  • Verify webhook URL format

Google Sheets Errors

  • Confirm OAuth credentials are working
  • Check sheet URL format
  • Verify column names match exactly
  • Ensure nodes Get URLs to Analyze, Save AI Overview to Sheets, and Save SEO Guidelines to Sheets are properly configured

OpenRouter Issues

  • Check API key validity
  • Ensure sufficient account credits
  • Try different models if Gemini 2.5 Pro fails
  • Verify the Gemini 2.5 Pro Model node is properly connected

Extension Problems

  • Check browser console for errors
  • Verify extension is properly installed
  • Ensure you're on google.com/search pages
  • Confirm webhook URL is correctly configured in extension

Next Steps

  • Customize AI prompts in the Generate SEO Recommendations node for your specific needs
  • Adjust scheduler frequency (default: 15 minutes)
  • Add more URL analysis by populating Google Sheets
  • Monitor usage and API costs

Support

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 - Webhook

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

Block 2 - When clicking 'Execute workflow'

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

Block 3 - Save AI Overview to Sheets

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

Block 4 - myURL Exists

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

Block 5 - Extract Page Title and H1

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

Block 6 - Merge

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

Block 7 - Fetch Page Content

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

Block 8 - Process URLs in Batches

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

Block 9 - Get Current URL Data

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

Block 10 - Save SEO Guidelines to Sheets

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

Block 11 - Schedule Trigger

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

Block 12 - Wait

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

Block 13 - Limit

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

Block 14 - Get URLs to Analyze

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

Block 15 - Gemini 2.5 Pro Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 16 - Convert AI Overview to Markdown

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

Block 17 - Sticky Note

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

Block 18 - Generate SEO Recommendations

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 19 - Sticky Note1

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

Block 20 - Extract Webhook Data

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

Block 21 - Convert Page Content to Markdown

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

3. Summary Table

Workflow Extract and analyze Google AI overviews with LLM for SEO recommendations
Complexity advanced
Nodes 21
Categories Market Research, AI Summarization
Author Roman Rozenberger
Published 09 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4822/4822.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 Extract and analyze Google AI overviews with LLM for SEO recommendations do?

How it works • Extract AI Overviews from Google Search Receives data from browser extension via webhook • Convert HTML to Markdown Automatically processes and cleans AI Overview content • Store in ...

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.