Google-Suchergebnisseiten mit Bright Data extrahieren
Dies ist ein AI-Bereich Automatisierungsworkflow mit 12 Nodes. Hauptsächlich werden Set, HttpRequest, ManualTrigger, Agent, ToolHttpRequest und andere Nodes verwendet, kombiniert mit KI-Technologie für intelligente Automatisierung. Extraktion und Zusammenfassung von Google-Suchergebnisseiten mit Bright Data
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
- •Google Gemini API Key
Verwendete Nodes (12)
Kategorie
{
"id": "GcSlNHOnN39cPhRA",
"meta": {
"instanceId": "885b4fb4a6a9c2cb5621429a7b972df0d05bb724c20ac7dac7171b62f1c7ef40",
"templateCredsSetupCompleted": true
},
"name": "Google Search Engine Results Page Extraction with Bright Data",
"tags": [
{
"id": "Kujft2FOjmOVQAmJ",
"name": "Engineering",
"createdAt": "2025-04-09T01:31:00.558Z",
"updatedAt": "2025-04-09T01:31:00.558Z"
},
{
"id": "ddPkw7Hg5dZhQu2w",
"name": "AI",
"createdAt": "2025-04-13T05:38:08.053Z",
"updatedAt": "2025-04-13T05:38:08.053Z"
}
],
"nodes": [
{
"id": "c40156b9-b7ba-449b-8362-f8b8cd27a36d",
"name": "Bei Klick auf 'Workflow testen'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
200,
-440
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d98ae28e-a94f-43a1-9bfe-362adbc61c69",
"name": "Google Gemini Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
960,
-240
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.0-flash-exp"
},
"credentials": {
"googlePalmApi": {
"id": "YeO7dHZnuGBVQKVZ",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "984acfe6-acd7-4817-b2d5-6d2aab511bae",
"name": "Zusammenfassungskette",
"type": "@n8n/n8n-nodes-langchain.chainSummarization",
"position": [
1320,
-440
],
"parameters": {
"options": {}
},
"typeVersion": 2
},
{
"id": "6b5e26bf-8802-40d4-bc44-62c086c00f7c",
"name": "Google Gemini Chat Model für Zusammenfassung",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1320,
-260
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.0-flash-exp"
},
"credentials": {
"googlePalmApi": {
"id": "YeO7dHZnuGBVQKVZ",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "1669f59a-eff8-41ad-a6eb-758eec7ed74a",
"name": "Google Gemini Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1620,
-200
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.0-flash-exp"
},
"credentials": {
"googlePalmApi": {
"id": "YeO7dHZnuGBVQKVZ",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "ad6c4a15-13e0-49fa-9048-bc1838ba0ef9",
"name": "Webhook HTTP Request",
"type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
"position": [
1960,
-200
],
"parameters": {
"url": "https://webhook.site/ce41e056-c097-48c8-a096-9b876d3abbf7",
"method": "POST",
"sendBody": true,
"parametersBody": {
"values": [
{
"name": "search_summary",
"value": "={{ $json.response.text }}",
"valueProvider": "fieldValue"
},
{
"name": "search_result"
}
]
},
"toolDescription": "Extract the response and format a structured JSON response"
},
"typeVersion": 1.1
},
{
"id": "dc5985c2-02cd-47d0-b518-8dc9d8302998",
"name": "Haftnotiz",
"type": "n8n-nodes-base.stickyNote",
"position": [
220,
-780
],
"parameters": {
"width": 400,
"height": 300,
"content": "## Bright Data Google Search SERP (Search Engine Results Page)\n\nDeals with the Google Search using the Bright Data Web Scraper API.\n\nThe Information Extraction, Summarization and AI Agent are being used to demonstrate the usage of the N8N AI capabilities.\n\n**Please make sure to Set the Google Search Query and update the Webhook Notification URL**"
},
"typeVersion": 1
},
{
"id": "38b1a20b-9d62-45d9-9399-0b927a6e882a",
"name": "Haftnotiz1",
"type": "n8n-nodes-base.stickyNote",
"position": [
720,
-780
],
"parameters": {
"width": 480,
"height": 300,
"content": "## LLM Usages\n\nGoogle Gemini Flash Exp model is being used.\n\nGoogle Search Data Extractor using the n8n Infromation Extractor node.\n\nSummarization Chain is being used for the summarization of search results.\n\nThe AI Agent formats the search result and pushes it to the Webhook via HTTP Request"
},
"typeVersion": 1
},
{
"id": "3019d6eb-cf84-43fd-bb98-f7eed6c9c75f",
"name": "Google Search Data Extractor",
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
"position": [
960,
-440
],
"parameters": {
"text": "={{ $json.data }}",
"options": {
"systemPromptTemplate": "You are an expert HTML extractor. Your job is to analyze the search result and \nstrip out the html, css, scripts and produce a textual data."
},
"attributes": {
"attributes": [
{
"name": "textual_response",
"description": "Textual Response"
}
]
}
},
"typeVersion": 1
},
{
"id": "e82e62cf-6618-405a-943f-d2933771e051",
"name": "Google Suchanfrage ausführen",
"type": "n8n-nodes-base.httpRequest",
"position": [
720,
-440
],
"parameters": {
"url": "https://api.brightdata.com/request",
"method": "POST",
"options": {},
"sendBody": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "zone",
"value": "={{ $json.zone }}"
},
{
"name": "url",
"value": "=https://www.google.com/search?q={{ encodeURI($json.search_query) }}"
},
{
"name": "format",
"value": "raw"
}
]
},
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "kdbqXuxIR8qIxF7y",
"name": "Header Auth account"
}
},
"typeVersion": 4.2
},
{
"id": "0d4baa4c-4f6d-4bb2-8964-73d9cf2a391c",
"name": "Google Search Expert AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1680,
-440
],
"parameters": {
"text": "=You are an expert Google Search Expert. You need to format the search result and push it to the Webhook via HTTP Request. Here is the search result - {{ $('Google Search Data Extractor').item.json.output.textual_response }}",
"options": {},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "433d4369-f750-40bd-8e46-8368f535e99f",
"name": "Google Suchabfrage setzen",
"type": "n8n-nodes-base.set",
"position": [
440,
-440
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "3aedba66-f447-4d7a-93c0-8158c5e795f9",
"name": "search_query",
"type": "string",
"value": "Bright Data"
},
{
"id": "4e7ee31d-da89-422f-8079-2ff2d357a0ba",
"name": "zone",
"type": "string",
"value": "serp_api1"
}
]
}
},
"typeVersion": 3.4
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "3573d57f-de02-4ce6-bfdf-5e83a8a5d7d0",
"connections": {
"984acfe6-acd7-4817-b2d5-6d2aab511bae": {
"main": [
[
{
"node": "0d4baa4c-4f6d-4bb2-8964-73d9cf2a391c",
"type": "main",
"index": 0
}
]
]
},
"ad6c4a15-13e0-49fa-9048-bc1838ba0ef9": {
"ai_tool": [
[
{
"node": "0d4baa4c-4f6d-4bb2-8964-73d9cf2a391c",
"type": "ai_tool",
"index": 0
}
]
]
},
"433d4369-f750-40bd-8e46-8368f535e99f": {
"main": [
[
{
"node": "e82e62cf-6618-405a-943f-d2933771e051",
"type": "main",
"index": 0
}
]
]
},
"d98ae28e-a94f-43a1-9bfe-362adbc61c69": {
"ai_languageModel": [
[
{
"node": "3019d6eb-cf84-43fd-bb98-f7eed6c9c75f",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"1669f59a-eff8-41ad-a6eb-758eec7ed74a": {
"ai_languageModel": [
[
{
"node": "0d4baa4c-4f6d-4bb2-8964-73d9cf2a391c",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"3019d6eb-cf84-43fd-bb98-f7eed6c9c75f": {
"main": [
[
{
"node": "984acfe6-acd7-4817-b2d5-6d2aab511bae",
"type": "main",
"index": 0
}
]
]
},
"0d4baa4c-4f6d-4bb2-8964-73d9cf2a391c": {
"main": [
[]
]
},
"e82e62cf-6618-405a-943f-d2933771e051": {
"main": [
[
{
"node": "3019d6eb-cf84-43fd-bb98-f7eed6c9c75f",
"type": "main",
"index": 0
}
]
]
},
"c40156b9-b7ba-449b-8362-f8b8cd27a36d": {
"main": [
[
{
"node": "433d4369-f750-40bd-8e46-8368f535e99f",
"type": "main",
"index": 0
}
]
]
},
"6b5e26bf-8802-40d4-bc44-62c086c00f7c": {
"ai_languageModel": [
[
{
"node": "984acfe6-acd7-4817-b2d5-6d2aab511bae",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Künstliche Intelligenz
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
Ranjan Dailata
@ranjancseDiesen Workflow teilen