π Scrape structured Google search results with CoreClaw and a webhook
β‘ 20 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 exposes a webhook that accepts a Google search query, runs the CoreClaw Google Search Scraper Worker via HTTP, and returns normalized organic results (title, URL, snippet, and position) as a structured JSON response.
How it works
- Receives a POST request on a webhook with a search query and optional country, language, and max_results values.
- Validates and formats the incoming payload, applying defaults for country (us), language (en), and max_results (10).
- Calls the CoreClaw Google Search Scraper Worker API with the formatted parameters using an API key from the CORECLAW_API_KEY environment variable.
- Extracts the organic results from the CoreClaw response and normalizes each item to position, title, url, displayed_url, and snippet.
- Returns a JSON webhook response containing the original query context, result count, and the normalized results array.
Setup
- Create a CoreClaw account and add your API key to n8n as an environment variable named CORECLAW_API_KEY.
- Activate the workflow and copy the production webhook URL for the βgoogle-search-scraperβ endpoint.
- Send a POST request to the webhook with a JSON body containing query (or q/keyword) and optionally country, language, and max_results.
Additional info
Retrieve public web page data using the CoreClaw production-grade Web Data API: https://www.coreclaw.com/?utm_source=google&utm_medium=cpc&utm_campaign=n8&utm_term=&utm_id=n8
π Nodes Used
HTTP Request, Webhook
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File