Skip to main content

Track Google rankings daily with Decodo and Google Sheets

Workflow preview

Workflow preview
100%
Track Google rankings daily with Decodo and Google Sheets preview
Open on n8n.io

1. Workflow Overview

Automatically monitor your keyword positions on Google every day. This workflow uses Decodo to pull live search results and logs them straight into Google Sheets, no manual checking needed. Why Thi...

Best for

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

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, @decodo/n8n-nodes-decodo.decodo, n8n-nodes-base.if, n8n-nodes-base.splitout, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Track Google rankings daily with Decodo and Google Sheets
Workflow name
Track Google rankings daily with Decodo and Google Sheets

Automatically monitor your keyword positions on Google every day. This workflow uses Decodo to pull live search results and logs them straight into Google Sheets, no manual checking needed.

Why This Workflow?

Save Time: No more spending an hour every morning checking rankings by hand. Everything runs on autopilot. Save Money: Skip expensive SEO tools that charge per keyword for basic rank tracking. Accurate Data: Every result — including meta descriptions and URLs — gets recorded without copy-paste mistakes. Easy to Scale: Want to add more keywords, switch countries, or change devices? Just tweak one config node.

Who Is This For?

  • SEO Specialists: Keep tabs on daily keyword movements for clients or internal projects.
  • Content Marketers: See how your latest content stacks up against competitors for target keywords.
  • Digital Agencies: Deliver automated ranking reports to clients without touching a spreadsheet manually.

How It Works

  1. Scheduled Start: The workflow kicks off every morning at 9:00 AM using the Schedule Trigger.
  2. Set Parameters: Keyword, country code (e.g., "id"), language ("en"), and device type are defined upfront.
  3. Fetch Results: The Decodo node runs a live Google search based on your settings.
  4. Filter & Validate: The workflow strips out ads, maps, and snippets — keeping only organic results with valid URLs.
  5. Store Rankings: Top results (e.g., Top 5) get appended to a "SERP_Results" tab in Google Sheets.
  6. Log Issues: If something goes wrong (API timeout, empty results), errors are recorded in a separate "SERP_Errors" tab.

What You Need

Requirement Purpose
n8n instance Platform to run the workflow
Decodo API Pulls live Google Search data
Google Sheets Stores ranking data and error logs

Setup Steps

  1. Import the JSON file into your n8n instance.
  2. Add your credentials:
  • Decodo API: Sign up at Decodo, grab your API key, and paste it into the Decodo Search node.
  • Google Sheets: Connect your Google account via OAuth2. Make sure your spreadsheet has two tabs: SERP_Results and SERP_Errors.
  1. Select your spreadsheet: In the Write SERP Results and Write SERP Errors nodes, pick the spreadsheet you prepared.
  2. Adjust your settings: Open the Set Search Input node to change the keyword, country code, and how many results to track (top_n).
  3. Run a test: Click "Test Workflow" and confirm the data shows up in your Google Sheet.

How the Logic Works

The workflow uses a Split Out + Extract Organic approach. Even when Google returns mixed results like ads, map packs, or featured snippets, this setup specifically targets organic blue links. The "Valid Row" check keeps your spreadsheet clean by only saving results that fall within your Top N threshold.

Customization

Quick Changes:

  • Run Frequency: Switch the Schedule Trigger to hourly, weekly, or whatever fits your needs.
  • Rank Depth: Change the top_n value in the input node to track the Top 10, 20, or 50.

Going Further:

  • Slack Alerts: Add a Slack node to notify your team when a keyword drops out of the Top 3.
  • Multiple Keywords: Swap the "Set" node with a Google Sheet "Read" node to loop through hundreds of keywords at once.

Real-World Examples

Competitor Tracking for E-commerce

Problem: A retail brand needs to know who's ranking for "best running shoes" every day. Solution: This workflow checks the Top 5 results each morning, making it easy to spot when a competitor's blog post overtakes their product page. Outcome: The marketing team catches ranking drops within 24 hours and updates content right away.

Local SEO Monitoring

Problem: A service business wants to track rankings specifically in Indonesia ("id") using English ("en") search settings. Solution: By setting the country and language parameters in the Set node, the workflow captures localized search data accurately. Outcome: The business gets a clear view of their local visibility without needing a VPN.


Created by: Khairul Muhtadin Category: Marketing | Tags: SEO, SERP, Google Sheets, Decodo Need custom workflows? Contact us

Connect with the creator: PortfolioStoreLinkedInMediumThreads

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 - Schedule Run

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

Block 2 - Input Defaults

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

Block 3 - Fetch Google SERP

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

Block 4 - Check Results

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 5 - Split Payload Results

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

Block 6 - Map Result Row

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

Block 7 - Check Row Valid

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 8 - Save SERP Results

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

Block 9 - Build Empty Error

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

Block 10 - Build Row Error

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

Block 11 - Save SERP Errors

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

Block 12 - Extract Organic List

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

Block 13 - Split Organic Items

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

Block 14 - Flow Summary

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

Block 15 - Results Mapping Note

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

Block 16 - Error Mapping Note

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

Block 17 - Input Example Note

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

3. Summary Table

Workflow Track Google rankings daily with Decodo and Google Sheets
Complexity advanced
Nodes 17
Categories Market Research, AI Summarization
Author Khairul Muhtadin
Published 26 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13736/13736.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 Track Google rankings daily with Decodo and Google Sheets do?

Automatically monitor your keyword positions on Google every day. This workflow uses Decodo to pull live search results and logs them straight into Google Sheets, no manual checking needed. Why Thi...

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.