Scrape structured Google search results with CoreClaw and a webhook

Go to Workflow
0 views
Built by coreclaw coreclaw
Created on August 08, 2026

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 (2)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest