Skip to main content

Automated SEO SERP analysis with Decodo & Google Gemini

Workflow preview

Workflow preview
100%
Automated SEO SERP analysis with Decodo & Google Gemini preview
Open on n8n.io

Important notice

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

1. Workflow Overview

What Problem Does It Solve? SEO professionals and marketers spend hours manually searching keywords to analyze competitor content. Copying and pasting SERP results into spreadsheets is tedious and ...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.splitinbatches, @decodo/n8n-nodes-decodo.decodo, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.gmail

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automated SEO SERP analysis with Decodo & Google Gemini
Workflow name
Automated SEO SERP analysis with Decodo & Google Gemini

What Problem Does It Solve?

  • SEO professionals and marketers spend hours manually searching keywords to analyze competitor content.
  • Copying and pasting SERP results into spreadsheets is tedious and prone to formatting errors.
  • Analyzing "why" a page ranks requires significant mental effort and time for every single keyword.
  • This workflow solves these by:
    • Automatically fetching live Google search results for a list of keywords.
    • Using AI to instantly analyze the top ranking pages for Intent, Strengths, and Weaknesses.
    • Delivering a consolidated, strategic SEO report directly to your email inbox.

How to Configure It

  • API Setup:
    • Connect your Decodo credentials (for scraping Google results).-
    • Connect your Google Gemini credentials (for the AI analysis).
    • Connect your Gmail account (to send the final report).
  • Keyword Input:
    • Open the "Edit Fields" node and replace the placeholder items (keyword_1, etc.) with the actual search terms you want to track.
  • Email Recipient:
    • Update the "Send a message" node with your email address.

How It Works

  • The workflow triggers manually (or can be scheduled).
  • It loops through your defined list of keywords one by one.
  • Decodo performs a real-time Google search for each term and extracts organic results.
  • A JavaScript node cleans the data, removing ads and irrelevant snippets.
  • The AI Agent acts as an expert SEO analyst, processing the top results to generate a concise audit.
  • Finally, the workflow compiles all insights into a single email report and sends it to you.

Customization Ideas

  • Change the output: Save the analysis to a Google Sheet or Notion database instead of Email.
  • Adjust the AI Persona: Modify the system prompt to focus on specific metrics (e.g., content gaps or backlink opportunities).
  • Automate the Input: Connect a Google Sheet to dynamically pull new keywords every week.
  • Schedule It: Replace the Manual Trigger with a Cron node to run this report automatically every Monday morning.

If you need any help Get in Touch

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 - When clicking ‘Execute workflow’

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

Block 2 - Edit Fields

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

Block 3 - Code in JavaScript

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

Block 4 - Loop Over Items

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

Block 5 - Decodo

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

Block 6 - Code in JavaScript1

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

Block 7 - Google Gemini Chat Model

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

Block 8 - Code in JavaScript2

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

Block 9 - AI Agent

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

Block 10 - Send a message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 11 - Sticky Note

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

Block 12 - Sticky Note1

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

Block 13 - Sticky Note2

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

Block 14 - Sticky Note15

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

3. Summary Table

Workflow Automated SEO SERP analysis with Decodo & Google Gemini
Complexity intermediate
Nodes 14
Categories Market Research, AI Summarization
Author Abdullah Alshiekh
Published 02 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11436/11436.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 Automated SEO SERP analysis with Decodo & Google Gemini do?

What Problem Does It Solve? SEO professionals and marketers spend hours manually searching keywords to analyze competitor content. Copying and pasting SERP results into spreadsheets is tedious and ...

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.