集成Bright Data与Telegram提醒的Google Play评论智能系统
高级
这是一个AI领域的自动化工作流,包含 18 个节点。主要使用 If, Wait, Telegram, FormTrigger, HttpRequest 等节点,结合人工智能技术实现智能自动化。 使用Bright Data和Telegram提醒的Google Play评论智能分析系统
前置要求
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "0Om9VswvKOf2cyjY",
"meta": {
"instanceId": "YOUR_N8N_INSTANCE_ID",
"templateCredsSetupCompleted": true
},
"name": "集成Bright Data与Telegram提醒的全面Google Play评论智能系统",
"tags": [],
"nodes": [
{
"id": "81566f57-58b6-4876-ad16-3b585bbf75d4",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-580,
60
],
"parameters": {
"color": 6,
"width": 360,
"height": 260,
"content": "评估数据集抓取过程是否完成(状态:\"ready\")。如果未完成则循环。"
},
"typeVersion": 1
},
{
"id": "5c6189f3-3e89-4dc0-84f6-6641c213bc8c",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-940,
20
],
"parameters": {
"color": 5,
"width": 300,
"height": 300,
"content": "在再次检查状态前暂停工作流45秒 — 用于轮询Bright Data API。"
},
"typeVersion": 1
},
{
"id": "82192678-1180-4491-a629-926a566f0c47",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1260,
20
],
"parameters": {
"color": 4,
"width": 280,
"height": 280,
"content": "使用快照ID检查数据集请求的当前处理状态。"
},
"typeVersion": 1
},
{
"id": "a39574eb-692e-45f9-ba8a-b18ca5b8bd6c",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1580,
20
],
"parameters": {
"width": 280,
"height": 280,
"content": "向Bright Data API发送POST请求,根据用户输入开始抓取评论和应用详情。"
},
"typeVersion": 1
},
{
"id": "9d64ea9a-bd63-4231-b459-90376f8b4eb6",
"name": "便签 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1900,
20
],
"parameters": {
"color": 3,
"width": 280,
"height": 280,
"content": "通过用户输入触发工作流 — 接收Google Play商店URL和要获取的评论数量。"
},
"typeVersion": 1
},
{
"id": "656204ee-b437-4e61-8a73-745365ec45c2",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-140,
40
],
"parameters": {
"color": 2,
"width": 320,
"height": 280,
"content": "在数据集准备就绪后检索最终抓取的数据(评论和应用信息)。"
},
"typeVersion": 1
},
{
"id": "8489a0c1-ff08-4293-b9a1-9d60840b2a5d",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
300,
-220
],
"parameters": {
"color": 6,
"width": 300,
"height": 280,
"content": "将选定的应用和评论数据追加到连接的Google Sheet中进行存储。"
},
"typeVersion": 1
},
{
"id": "c1cc4ad6-fd24-4198-ad99-e6cb15f038d8",
"name": "便签7",
"type": "n8n-nodes-base.stickyNote",
"position": [
280,
120
],
"parameters": {
"color": 4,
"width": 280,
"height": 320,
"content": "筛选出评分低于4的评论以标记低性能应用。"
},
"typeVersion": 1
},
{
"id": "1f8ee417-cef0-4496-aa6c-d89fd798dbb6",
"name": "便签8",
"type": "n8n-nodes-base.stickyNote",
"position": [
600,
120
],
"parameters": {
"color": 3,
"width": 300,
"height": 320,
"content": "如果应用评分较低,发送Telegram提醒,表明性能不佳。"
},
"typeVersion": 1
},
{
"id": "b275d814-2941-455e-b256-710e14569221",
"name": "✅ 触发器输入表单",
"type": "n8n-nodes-base.formTrigger",
"position": [
-1800,
120
],
"webhookId": "b32a8f46-3345-40a0-b500-7bec7aa1be49",
"parameters": {
"options": {},
"formTitle": "Google Play Store",
"formFields": {
"values": [
{
"fieldLabel": "URL"
},
{
"fieldType": "number",
"fieldLabel": "No of review"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "afcfa8b5-c5bb-4636-88dc-7c8ada2b7aa4",
"name": "🚀 开始抓取请求",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1500,
120
],
"parameters": {
"url": "https://api.brightdata.com/datasets/v3/trigger",
"method": "POST",
"options": {},
"jsonBody": "={\n \"input\": [\n {\n \"url\": \"{{ $json.URL }}\",\n \"num_of_reviews\": {{ $json[\"No of review\"] }},\n \"country\": \"US\"\n }\n ],\n \"custom_output_fields\": [\n \"url\",\n \"review_id\",\n \"reviewer_name\",\n \"review_date\",\n \"review_rating\",\n \"review\",\n \"app_url\",\n \"app_title\",\n \"app_developer\",\n \"app_images\",\n \"app_rating\",\n \"app_number_of_reviews\",\n \"app_what_new\",\n \"app_content_rating\",\n \"app_country\",\n \"num_of_reviews\"\n ]\n}\n",
"sendBody": true,
"sendQuery": true,
"sendHeaders": true,
"specifyBody": "json",
"queryParameters": {
"parameters": [
{
"name": "dataset_id",
"value": "gd_m6zagkt024uwvvwuyu"
},
{
"name": "include_errors",
"value": "true"
},
{
"name": "limit_multiple_results",
"value": "5"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "31fe5e15-7520-42a1-a818-0391b156ea16",
"name": "🔄 检查抓取状态",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1160,
120
],
"parameters": {
"url": "=https://api.brightdata.com/datasets/v3/progress/{{ $json.snapshot_id }}",
"options": {},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2,
"alwaysOutputData": true
},
{
"id": "de081ff7-c9a0-43e1-8748-976e7eff0490",
"name": "⏱️ 等待响应45秒",
"type": "n8n-nodes-base.wait",
"position": [
-840,
120
],
"webhookId": "10b45556-5e91-4387-abd0-f9078b220286",
"parameters": {
"amount": 45
},
"typeVersion": 1.1
},
{
"id": "68fcadf3-b117-4dd3-baf5-bc1c904c168a",
"name": "🧩 验证完成状态",
"type": "n8n-nodes-base.if",
"position": [
-460,
120
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "or",
"conditions": [
{
"id": "35ed620d-b5d5-4e97-bcc5-52b283d85616",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "ready"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "4adb27d2-b056-4a72-aefe-b7482f55d6ee",
"name": "📥 获取抓取数据",
"type": "n8n-nodes-base.httpRequest",
"position": [
-40,
120
],
"parameters": {
"url": "=https://api.brightdata.com/datasets/v3/snapshot/{{ $json.snapshot_id }}",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"queryParameters": {
"parameters": [
{
"name": "format",
"value": "json"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "b81d03b8-6d18-4539-be74-3beb853bdf35",
"name": "📊 保存到Google Sheet",
"type": "n8n-nodes-base.googleSheets",
"position": [
380,
-120
],
"parameters": {
"columns": {
"value": {
"url": "={{ $json.url }}",
"review": "={{ $json.review }}",
"review_id": "={{ $json.review_id }}",
"app_rating": "={{ $json.app_rating }}",
"app_country": "={{ $json.app_country }}",
"review_date": "={{ $json.review_date }}",
"app_what_new": "={{ $json.app_what_new }}",
"review_rating": "={{ $json.review_rating }}",
"reviewer_name": "={{ $json.reviewer_name }}",
"app_number_of_reviews": "={{ $json.app_number_of_reviews }}"
},
"schema": [
{
"id": "url",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "url",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "review_id",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "review_id",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "reviewer_name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "reviewer_name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "review_date",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "review_date",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "review_rating",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "review_rating",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "review",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "review",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "app_url",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "app_url",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "app_title",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "app_title",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "app_developer",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "app_developer",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "app_images",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "app_images",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "app_rating",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "app_rating",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "app_number_of_reviews",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "app_number_of_reviews",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "app_what_new",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "app_what_new",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "app_content_rating",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "app_content_rating",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "app_country",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "app_country",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "num_of_reviews",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "num_of_reviews",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/YOUR_GOOGLE_SHEET_ID/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "YOUR_GOOGLE_SHEET_ID",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/YOUR_GOOGLE_SHEET_ID/edit",
"cachedResultName": "Google Play Review Scraper"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "YOUR_GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets OAuth2"
}
},
"typeVersion": 4.6
},
{
"id": "0a0c0cbb-694d-47b8-80ee-235df0a9a426",
"name": "⚠️ 检查低评分",
"type": "n8n-nodes-base.if",
"position": [
360,
240
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "90bfec56-9510-4bc5-a4c6-aa155bfaf15a",
"operator": {
"type": "number",
"operation": "lt"
},
"leftValue": "={{ $json.review_rating }}",
"rightValue": 4
}
]
}
},
"typeVersion": 2.2
},
{
"id": "9508b6fa-f1d5-4ca9-8ca7-8e4a0a18f638",
"name": "📣 发送Telegram提醒",
"type": "n8n-nodes-base.telegram",
"position": [
680,
260
],
"webhookId": "3f2bb749-4267-49fa-8d69-7906504504e3",
"parameters": {
"text": "=⚠️ *Low App Performance Alert* 📱 *App:* {{ $json.app_title }} 🧑💻 *Developer:* {{ $json.app_developer }} ⭐ *Rating:* {{ $json.app_rating }} 📝 *Reviews:* {{ $json.app_number_of_reviews }} 🔗 [View on Play Store]({{ $json.url }})",
"chatId": "YOUR_TELEGRAM_CHAT_ID",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "YOUR_TELEGRAM_CREDENTIAL_ID",
"name": "Telegram Bot"
}
},
"typeVersion": 1.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "bea43585-0122-4277-8298-80674d93c326",
"connections": {
"✅ Trigger Input Form": {
"main": [
[
{
"node": "🚀 Start Scraping Request",
"type": "main",
"index": 0
}
]
]
},
"🧩 Verify Completion": {
"main": [
[
{
"node": "📥 Fetch Scraped Data",
"type": "main",
"index": 0
}
],
[
{
"node": "🔄 Check Scrape Status",
"type": "main",
"index": 0
}
]
]
},
"📥 Fetch Scraped Data": {
"main": [
[
{
"node": "📊 Save to Google Sheet",
"type": "main",
"index": 0
},
{
"node": "⚠️ Check Low Ratings",
"type": "main",
"index": 0
}
]
]
},
"⚠️ Check Low Ratings": {
"main": [
[],
[
{
"node": "📣 Send Alert to Telegram",
"type": "main",
"index": 0
}
]
]
},
"🔄 Check Scrape Status": {
"main": [
[
{
"node": "⏱️ Wait for Response 45 sec",
"type": "main",
"index": 0
}
]
]
},
"🚀 Start Scraping Request": {
"main": [
[
{
"node": "🔄 Check Scrape Status",
"type": "main",
"index": 0
}
]
]
},
"⏱️ Wait for Response 45 sec": {
"main": [
[
{
"node": "🧩 Verify Completion",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
潜在客户工作流:通过 BrightData 进行 Yelp 和 Trustpilot 抓取 + OpenAI 分析
通过 Yelp 和 Trustpilot 抓取 + AI 驱动的邮件外联生成销售线索
If
Code
Wait
+9
32 节点Incrementors
销售
使用 Bright Data API 和 Google Sheets 集成的 Zillow 房产列表按位置和类别抓取器
基于 Bright Data 和 Google Sheets 的 Zillow 房产抓取器,按位置筛选
If
Wait
Form Trigger
+3
16 节点Incrementors
人工智能
财务洞察自动化:通过Bright Data将市值发送到Telegram
使用Bright Data从Yahoo Finance提取市值数据并在Telegram中可视化
If
Code
Wait
+5
14 节点Incrementors
加密货币交易
多平台价格查找器:使用 Bright Data 和 Telegram 抓取价格
多平台价格查找器:使用 Bright Data、Claude AI 和 Telegram 抓取价格
If
Code
Wait
+9
85 节点Incrementors
市场调研
使用Bright Data API和Google Sheets集成的Google Maps商家电话抓取器
通过Bright Data API与Google Sheets同步的Google Maps电话抓取器
If
Wait
Form Trigger
+3
16 节点Incrementors
销售
通过Bright Data API的Twitter个人资料抓取器,输出到Google Sheets
使用Bright Data API抓取Twitter个人资料并导出到Google Sheets
If
Wait
Form Trigger
+3
15 节点Incrementors
市场调研