ビング・データとGoogle Geminiを使ってYelpの店舗口コミを抽出し、要約
中級
これはAI, Marketing分野の自動化ワークフローで、12個のノードを含みます。主にSet, Merge, HttpRequest, ManualTrigger, ChainLlmなどのノードを使用、AI技術を活用したスマート自動化を実現。 Bright DataとGoogle Geminiを使ってYelpの商家レビューを抽出し、要約する
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
- •Google Gemini API Key
使用ノード (12)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "cKFPrgXstN3JgdJs",
"meta": {
"instanceId": "885b4fb4a6a9c2cb5621429a7b972df0d05bb724c20ac7dac7171b62f1c7ef40",
"templateCredsSetupCompleted": true
},
"name": "Extract & Summarize Yelp Business Review with Bright Data and Google Gemini",
"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": "b7847e5b-1855-4bce-a9ba-123053085f99",
"name": "「Test workflow」をクリックしたとき",
"type": "n8n-nodes-base.manualTrigger",
"position": [
340,
-535
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9bee5052-3aeb-4a76-a688-3128c20877ec",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
780,
-820
],
"parameters": {
"width": 420,
"height": 220,
"content": "## LLM Usages\n\nGoogle Gemini Flash Exp model is being used.\n\nBasic LLM Chain with the Output parser for building the structured data.\n\nSummarization Chain to summarize the structured response."
},
"typeVersion": 1
},
{
"id": "ee05bcc3-0971-4e8c-9e2d-89708fc4ecf4",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
320,
-820
],
"parameters": {
"width": 400,
"height": 220,
"content": "## Note\n\nDeals with the Yelp Business Review data extraction using the Bright Data and LLM for structured data extraction and summarization.\n\n**Please make sure to update the \"Set Yelp URL with the Bright Data Zone\" and the Webhook Notification URL**"
},
"typeVersion": 1
},
{
"id": "8917dd4e-75aa-4c51-ba80-577be3573578",
"name": "Bright Data ZoneでYelp URLを設定",
"type": "n8n-nodes-base.set",
"notes": "Set the URL which you are interested to scrap the data",
"position": [
560,
-535
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "1c132dd6-31e4-453b-a8cf-cad9845fe55b",
"name": "url",
"type": "string",
"value": "https://www.yelp.com/search?find_desc=Restaurants&find_loc=San+Francisco%2C+CA&sortby=rating?product=unlocker&method=api"
},
{
"id": "0fa387df-2511-4228-b6aa-237cceb3e9c7",
"name": "zone",
"type": "string",
"value": "web_unlocker1"
}
]
}
},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "4cccab05-2584-4557-a58a-f92cbd67c67e",
"name": "HTTP Yelpビジネスレビュー取得リクエスト",
"type": "n8n-nodes-base.httpRequest",
"position": [
780,
-535
],
"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": "={{ $json.url }}"
},
{
"name": "format",
"value": "raw"
}
]
},
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "kdbqXuxIR8qIxF7y",
"name": "Header Auth account"
}
},
"typeVersion": 4.2
},
{
"id": "5b39a992-1902-4afe-9cbb-2fca524a5272",
"name": "Google Gemini チャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1000,
-320
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.0-flash-exp"
},
"credentials": {
"googlePalmApi": {
"id": "YeO7dHZnuGBVQKVZ",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "dba8b9f8-0739-4f34-9c3a-41ad447c1dd3",
"name": "構造化出力パーサー",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1160,
-320
],
"parameters": {
"jsonSchemaExample": "[\n {\n \"restaurant_name\": \"string\",\n \"location\": \"string\",\n \"average_rating\": \"float\",\n \"review_count\": \"int\",\n \"reviews\": [\n {\n \"reviewer\": \"string\",\n \"rating\": \"float\",\n \"date\": \"YYYY-MM-DD\",\n \"text\": \"string\"\n }\n ]\n }\n]"
},
"typeVersion": 1.2
},
{
"id": "375dc3e5-02f4-499d-922d-31070188b864",
"name": "要約チェーン",
"type": "@n8n/n8n-nodes-langchain.chainSummarization",
"position": [
1376,
-660
],
"parameters": {
"options": {
"summarizationMethodAndPrompts": {
"values": {
"prompt": "Write a concise summary of the following:\n\n\n\"{text}\"\n\n",
"combineMapPrompt": "=Write a concise summary of the following:\n\n\n\n\n\nCONCISE SUMMARY: {{ $json.output }}"
}
}
}
},
"typeVersion": 2
},
{
"id": "3846b2a2-a670-4264-9028-11c5f76770e8",
"name": "マージ",
"type": "n8n-nodes-base.merge",
"position": [
1760,
-520
],
"parameters": {},
"typeVersion": 3.1
},
{
"id": "5f617e4c-17c2-437b-8a7a-1cdab587c5dd",
"name": "Webhook マージレスポンス用通知器",
"type": "n8n-nodes-base.httpRequest",
"position": [
1972,
-535
],
"parameters": {
"url": "https://webhook.site/daf9d591-a130-4010-b1d3-0c66f8fcf467",
"options": {},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "reviews",
"value": "={{ $json.output }}"
},
{
"name": "summary",
"value": "={{ $json.response.text }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "66bd58de-a235-43b3-bb3e-491644aaabd8",
"name": "Google Gemini 要約用チャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1464,
-440
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.0-flash-exp"
},
"credentials": {
"googlePalmApi": {
"id": "YeO7dHZnuGBVQKVZ",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "4bd63e0d-5f58-4232-b638-cede71a50f0f",
"name": "構造化データ抽出器",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1000,
-535
],
"parameters": {
"text": "=Summarize and analyze Yelp reviews {{ $json.data }}",
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.6
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "32c41687-2a9b-4ab8-b7fb-a34e5111548a",
"connections": {
"3846b2a2-a670-4264-9028-11c5f76770e8": {
"main": [
[
{
"node": "5f617e4c-17c2-437b-8a7a-1cdab587c5dd",
"type": "main",
"index": 0
}
]
]
},
"375dc3e5-02f4-499d-922d-31070188b864": {
"main": [
[
{
"node": "3846b2a2-a670-4264-9028-11c5f76770e8",
"type": "main",
"index": 1
}
]
]
},
"5b39a992-1902-4afe-9cbb-2fca524a5272": {
"ai_languageModel": [
[
{
"node": "4bd63e0d-5f58-4232-b638-cede71a50f0f",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"dba8b9f8-0739-4f34-9c3a-41ad447c1dd3": {
"ai_outputParser": [
[
{
"node": "4bd63e0d-5f58-4232-b638-cede71a50f0f",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"4bd63e0d-5f58-4232-b638-cede71a50f0f": {
"main": [
[
{
"node": "375dc3e5-02f4-499d-922d-31070188b864",
"type": "main",
"index": 0
},
{
"node": "3846b2a2-a670-4264-9028-11c5f76770e8",
"type": "main",
"index": 0
}
]
]
},
"b7847e5b-1855-4bce-a9ba-123053085f99": {
"main": [
[
{
"node": "8917dd4e-75aa-4c51-ba80-577be3573578",
"type": "main",
"index": 0
}
]
]
},
"8917dd4e-75aa-4c51-ba80-577be3573578": {
"main": [
[
{
"node": "4cccab05-2584-4557-a58a-f92cbd67c67e",
"type": "main",
"index": 0
}
]
]
},
"5f617e4c-17c2-437b-8a7a-1cdab587c5dd": {
"main": [
[]
]
},
"66bd58de-a235-43b3-bb3e-491644aaabd8": {
"ai_languageModel": [
[
{
"node": "375dc3e5-02f4-499d-922d-31070188b864",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"4cccab05-2584-4557-a58a-f92cbd67c67e": {
"main": [
[
{
"node": "4bd63e0d-5f58-4232-b638-cede71a50f0f",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - 人工知能, マーケティング
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Amazon製品の価格下落をBright Dataで抽出・要約・分析
Bright DataとGoogle GeminiでAmazonの価格下落情報を抽出・要約・分析
Set
Wait
Merge
+
Set
Wait
Merge
26 ノードRanjan Dailata
人工知能
Bright Dataを使用したブランドコンテンツの抽出・要約・感情分析
Bright DataとGoogle Geminiを使用してブランドコンテンツを抽出および分析
Set
Function
Http Request
+
Set
Function
Http Request
23 ノードRanjan Dailata
人工知能
AIアゲント駆動のProduct Huntデータ抽出と検索(Bright DataとGoogle Geminiを使用)
Bright Data MCPとGoogle Gemini AIを使ってProduct Huntデータをクロールして検索
Set
Function
Mcp Client
+
Set
Function
Mcp Client
21 ノードRanjan Dailata
人工知能
ビング・データとGoogle Geminiを使ってIndeedの企業情報を抽出し、集約
Bright DataとGoogle Geminiを使ってIndeedの企業情報を抽出し、集約する
Set
Markdown
Http Request
+
Set
Markdown
Http Request
15 ノードRanjan Dailata
人事
Brave検索による構造化データ抽出(Bright Data MCP + Google Gemini)
Bright Data MCPとGoogle Geminiを使用してBrave検索から構造化されたデータを抽出
Set
Switch
Function
+
Set
Switch
Function
24 ノードRanjan Dailata
人工知能
Google SERPトラッカー+トレンドと推奨事項(Bright DataとGoogle Geminiを使用)
Bright DataとGoogle Geminiを利用したGoogle検索結果ページの追跡、トレンド分析、レコメンデーション
Set
Code
Http Request
+
Set
Code
Http Request
23 ノードRanjan Dailata
人工知能