Automate your SEO competitive analysis with this daily SERP tracker. This workflow uses Decodo to scrape Google Search results for specific keywords and logs rankings directly into Google Sheets, saving SEO teams hours of manual reporting.
Time Savings: Reduces manual rank checking from 60 minutes daily to 0 minutes through full automation.
Cost Reduction: Eliminates the need for expensive "per-keyword" SEO tracking software for basic monitoring needs.
Error Prevention: Captures 100% of search data accurately, including meta descriptions and URLs, without human copy-paste errors.
Scalability: Easily monitor dozens of keywords across different countries and devices by adjusting a single configuration node.
| Requirement | Type | Purpose |
|---|---|---|
| n8n instance | Essential | Workflow execution platform |
| Decodo API | Essential | Scrapes live Google Search results |
| Google Sheets | Essential | Destination for ranking data and error logs |
SERP_Results and SERP_Errors.| Node | Purpose | Key Configuration |
|---|---|---|
| Set Search Input | Configuration | Defines keyword, geo-location, and rank limit |
| Decodo Search | Data Acquisition | Performs localized Google Search via API |
| Split Out | Data Structuring | Converts the API array into individual rows for processing |
| IF Nodes | Validation | Filters for top-N ranks and ensures data integrity |
| Google Sheets | Storage | Appends successful data or logs failures |
The workflow uses a Split Out and Extract Organic strategy. This ensures that even if Google returns various SERP features (ads, maps, snippets), the workflow specifically targets the organic blue links. The "Valid Row" logic ensures your spreadsheet stays clean by only recording results that meet your "Top N" criteria (e.g., only store the top 5 results).
Basic Adjustments:
top_n value in the input node to track the Top 10, 20, or 50 results.Advanced Enhancements:
Common Issues:
| Problem | Cause | Solution |
|---|---|---|
| Empty Google Sheet | No results found for keyword | Check the SERP_Errors sheet for the raw API response. |
| Permission Error | Google Sheets node not authorized | Re-connect your Google Sheets OAuth2 credentials. |
| Decodo 401 Error | Invalid API Key | Verify your Decodo API key is active and has remaining credits. |
Challenge: A retail brand needs to know who is winning the "best running shoes" keyword daily.
Solution: This workflow tracks the Top 5 results every morning, allowing the brand to see when a competitor's blog post overtakes their product page.
Result: The marketing team identifies a ranking drop within 24 hours and updates their content immediately.
Challenge: A service business wants to monitor rankings specifically in Indonesia ("id") using English ("en") search settings.
Solution: By configuring the country and language parameters in the Set node, the workflow captures localized SERP data accurately.
Result: The business gets an accurate picture of their local visibility without using a VPN.
Created by: Khairul Muhtadin
Category: Marketing | Tags: SEO, SERP, Google Sheets, Decodo
Need custom workflows? Contact us
Connect with the creator:
Portfolio • Store • LinkedIn • Medium • Threads