π Scrape Google search rankings into Google Sheets with ScrapeUnblocker
β‘ 10 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.
Description
Quick Overview
This workflow manually runs a Google SERP scraper that reads keywords from Google Sheets, fetches Google search result pages via ScrapeUnblocker, extracts the top organic results, and writes the parsed ranks, titles, and snippets back to Google Sheets.
How it works
- Starts when you manually trigger the workflow.
- Reads the list of keywords from a Google Sheets worksheet.
- Processes the keywords in batches and builds a Google Search URL (with
num=10) for each keyword. - Uses ScrapeUnblocker to fetch the HTML for each Google search results page.
- Parses the HTML to extract organic result rank, title, URL, meta description snippet, an optional published date, and the scrape date.
- Updates the Google Sheets worksheet with the extracted SERP data and continues until all keywords are processed.
Setup
- Add a Google Sheets credential and update the spreadsheet ID, worksheet/tab, and input column name (expects a
Keywordfield) to match your sheet. - Add your ScrapeUnblocker credentials and confirm the workflow can access
https://www.google.com/searchfrom your environment. - Ensure the target Google Sheet has columns that match the fields being written (at least
Keyword,Rank,Title,Meta Description, andDate, and optionallyURL).
π Nodes Used
Google Sheets
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File