Block 1 - Respond to Webhook
- Type / Role
- n8n-nodes-base.respondToWebhook - respondToWebhook
- Config choices
- Version 1.4
This workflow is provided as-is. Please review and test before using in production.
AI Powered Web Research in Google Sheets with Bright Data Overview Transform any Google Sheets cell into an intelligent web scraper! Type and get AI filtered result from every website in 20 s...
n8n-nodes-base.respondtowebhook, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.mcpclienttool, n8n-nodes-base.webhook, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.datatable, @n8n/n8n-nodes-langchain.outputparserstructured
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Elay Guez.
Original n8n.io sourceTransform any Google Sheets cell into an intelligent web scraper! Type =BRIGHTDATA("cell", "search prompt") and get AI-filtered result from every website in ~20 seconds.
What happens automatically:
Cost: ~$0.02-0.05 per search | Time saved: 3-5 minutes per search
Time to deploy: 20 minutes
https://n8n.yourdomain.com/webhook/brightdata-search12312346 (or create your own)function BRIGHTDATA(prompt, source) {
if (!prompt || prompt === "") {
return "❌ Must enter prompt";
}
source = source || "google";
// Update with YOUR webhook URL
const N8N_WEBHOOK_URL = "https://your-n8n-domain.com/webhook/brightdata-search";
// Update with YOUR password
const API_KEY = "12312346";
let spreadsheetId, sheetName, cellAddress;
try {
const sheet = SpreadsheetApp.getActiveSheet();
const activeCell = sheet.getActiveCell();
spreadsheetId = SpreadsheetApp.getActiveSpreadsheet().getId();
sheetName = sheet.getName();
cellAddress = activeCell.getA1Notation();
} catch (e) {
return "❌ Cannot identify cell";
}
const payload = {
prompt: prompt,
source: source.toLowerCase(),
context: {
spreadsheetId: spreadsheetId,
sheetName: sheetName,
cellAddress: cellAddress,
timestamp: new Date().toISOString()
}
};
const options = {
method: "post",
contentType: "application/json",
payload: JSON.stringify(payload),
muteHttpExceptions: true,
headers: {
"Accept": "text/plain",
"key": API_KEY
}
};
try {
const response = UrlFetchApp.fetch(N8N_WEBHOOK_URL, options);
const responseCode = response.getResponseCode();
if (responseCode !== 200) {
Logger.log("Error response: " + response.getContentText());
return "❌ Error " + responseCode;
}
return response.getContentText();
} catch (error) {
Logger.log("Exception: " + error.toString());
return "❌ Connection error: " + error.toString();
}
}
function doGet(e) {
return ContentService.createTextOutput(JSON.stringify({
status: "alive",
message: "Apps Script is running",
timestamp: new Date().toISOString()
})).setMimeType(ContentService.MimeType.JSON);
}
N8N_WEBHOOK_URL with your webhookAPI_KEY with your password=BRIGHTDATA("C3", "What is the current price of the product?")
=BRIGHTDATA("D30", "What is the size of this company?")
=BRIGHTDATA("A4", "Do this comapny is hiring Developers?")
| Error | Solution |
|---|---|
| "Exceeded maximum execution time" | Optimize AI prompts or use async mode |
| "Could not fetch data" | Verify Bright Data credentials |
| Empty cell | Check n8n logs for AI parsing issues |
| Broken characters | Verify UTF-8 encoding in webhook node |
Built with ❤️ by Elay Guez
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.
| Workflow | AI-powered web research in Google Sheets with GPT and Bright Data |
|---|---|
| Complexity | advanced |
| Nodes | 22 |
| Categories | Market Research, AI RAG |
| Author | Elay Guez |
| Published | 24 Oct 2025 |
Use the JSON export at /data/workflows/10119/10119.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
AI Powered Web Research in Google Sheets with Bright Data Overview Transform any Google Sheets cell into an intelligent web scraper! Type and get AI filtered result from every website in 20 s...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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 RAG use case.