📊 Audit competitor SEO content with Decodo, Gemini, and Google Sheets

22 views · 📊 Market Research & Insights

💡 Pro Tip — HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it — it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Never guess your SEO strategy again.

This advanced workflow automates the most time-consuming part of SEO: auditing competitor articles and identifying exactly where your brand can outshine them. It extracts deep content from top-ranking URLs, compares it against your specific brand identity, and generates a ready-to-use “Action Plan” for your content team.

The workflow uses Decodo for high-fidelity scraping, Gemini 2.5 Flash for strategic gap analysis, and Google Sheets as a dynamic “Brand Brain” and reporting dashboard.


✨ Key Features


⚙️ How it Works

  1. Data Foundation: The workflow triggers (Manual or Scheduled) and pulls your Global Config (e.g., result limits) and Brand Identity from a dedicated Google Sheet.
  2. Market Discovery: It retrieves your target keywords and uses the Decodo Google Search node to identify the top competitors. A Code Node then “itemizes” these results into individual URLs.
  3. Intelligence Harvesting: Decodo Universal scrapes each URL, and an HTML 5 node extracts the body content into Markdown format to minimize token noise for the AI.
  4. Strategic Audit: The AI Content Auditor (powered by Gemini) receives the competitor’s text and your Brand Identity. It identifies what the competitor missed that your brand excels at.
  5. Reporting Deck: The final Strategy Master Writer node appends the analysis—including the “Content Gap” and “Action Plan”—into a master Google Sheet for your marketing team.

📥 Component Installation

This workflow relies on the Decodo node for search and scraping precision.

  1. Install Node: Click the + button in n8n, search for “Decodo,” and add it to your canvas.
  2. Credentials: Use your Decodo API key. (Tip: Use a residential proxy setting for difficult sites like Reddit or Stripe).
  3. Gemini: Ensure you have the Google Gemini Chat Model node connected to the AI Agent.

🎁 Get a free Web Scraping API subscription here 👉🏻 https://visit.decodo.com/X4YBmy


🛠️ Setup Instructions

1. Google Sheets Configuration

Create a spreadsheet with the following three tabs:

Clone the spreadsheet here.

2. Global Configuration

In the Config (Set) node, define your serp_results_amount (e.g., 10). This controls how many competitors are analyzed per keyword.


➕ How to Adapt the Template

🔗 Nodes Used

Google Sheets, Schedule Trigger, AI Agent, Structured Output Parser, Google Gemini Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup