多平台价格查找器:使用 Bright Data 和 Telegram 抓取价格
高级
这是一个Market Research、Multimodal AI领域的自动化工作流,包含 85 个节点。主要使用 If、Code、Wait、Merge、Filter 等节点。 多平台价格查找器:使用 Bright Data、Claude AI 和 Telegram 抓取价格
前置要求
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
- •Anthropic API Key
使用的节点 (85 个)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "jEzXWXBlK6er9cmO",
"meta": {
"instanceId": "bc8ca75c203589705ae2e446cad7181d6f2a7cc1766f958ef9f34810e53b8cb2",
"templateCredsSetupCompleted": true
},
"name": "多平台价格查找器:使用 Bright Data 和 Telegram 抓取价格",
"tags": [],
"nodes": [
{
"id": "93f13c44-78f9-4f2b-b7c4-91a3700e4092",
"name": "表单提交时",
"type": "n8n-nodes-base.formTrigger",
"position": [
-2176,
1568
],
"webhookId": "35f008d4-f628-4582-aa8d-97b87943a7d8",
"parameters": {
"options": {},
"formTitle": "Keywords",
"formFields": {
"values": [
{
"fieldLabel": "SearchHere"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "f558466f-5839-4111-b3e0-6d9e49901c40",
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
1264,
928
],
"parameters": {
"columns": {
"value": {
"URL": "={{ $json.url }}",
"Title": "={{ $json.title }}",
"price": "={{ $json.price }}"
},
"schema": [
{
"id": "URL",
"type": "string",
"display": true,
"required": false,
"displayName": "URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Title",
"type": "string",
"display": true,
"required": false,
"displayName": "Title",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "price",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "price",
"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?usp=drivesdk",
"cachedResultName": "eBay Feedback Monitor & Auto-Responder"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets-demo@example.com"
}
},
"typeVersion": 4.6
},
{
"id": "7557f99e-7083-4842-93ab-9c61704d5ab7",
"name": "从快照中提取数据",
"type": "n8n-nodes-base.httpRequest",
"position": [
464,
944
],
"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": "21de9957-364c-4c91-92d0-d0b54f5b5097",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2640,
1712
],
"parameters": {
"text": "=Using the product details below — title, price, and URL — write a short and engaging promotional message. The message should make it sound like a great deal and encourage the user to click the link. Keep the tone exciting and a little urgent, but not overhyped.\n\nProduct details:\n- Title: {{ $json.title }}\n- Price: ${{ $json.price }}\n- URL: {{ $json.url }}\n\nThe message should be 1-2 sentences long and sound natural. End with \"Check it out:\" followed by the URL.\n",
"options": {},
"promptType": "define"
},
"typeVersion": 2
},
{
"id": "6f7fd8f8-1cf8-4cdd-ab34-a70edd99cdbc",
"name": "Anthropic 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"position": [
2688,
1904
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "claude-sonnet-4-20250514",
"cachedResultName": "Claude 4 Sonnet"
},
"options": {}
},
"credentials": {
"anthropicApi": {
"id": "ipIAoB1BlqWHYhi2",
"name": "Anthropic account 5"
}
},
"typeVersion": 1.3
},
{
"id": "066c5099-7fba-409b-9363-4077ba729c4d",
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
3488,
1712
],
"webhookId": "d7190374-fdad-4ccd-ab58-77794a247fb1",
"parameters": {
"text": "={{ $json.body }}",
"chatId": "telegramChatId",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "XooOmRiZf5caiIzY",
"name": "demo@example.com"
}
},
"typeVersion": 1.2
},
{
"id": "f35f0ee5-073b-42dc-9bd2-3f5a8b3711c5",
"name": "清理 AI 输出",
"type": "n8n-nodes-base.code",
"position": [
3104,
1712
],
"parameters": {
"jsCode": "const raw = $json.output || '';\n\nconst cleaned = raw\n .replace(/\\*\\*/g, '') // Remove bold (**)\n .replace(/\\\\n/g, '<br>') // Convert \\n to <br>\n .replace(/</g, '<') // Escape <\n .replace(/>/g, '>'); // Escape >\n\nreturn [\n {\n json: {\n body: cleaned\n }\n }\n];\n"
},
"typeVersion": 2
},
{
"id": "03d9d368-7adf-4918-8783-6f1c049aeb72",
"name": "条件判断",
"type": "n8n-nodes-base.if",
"position": [
-496,
688
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "b9213a26-9b0d-4742-8b38-5b839da95875",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "ready"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "ce26a724-eb75-4d47-a1ee-d5b084731339",
"name": "如果 1",
"type": "n8n-nodes-base.if",
"position": [
-576,
992
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "e47f79d5-2ed2-401d-b2a3-3539f7f35d80",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "ready"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "b717d25b-bb26-4fc2-ad39-85d53e2a2a97",
"name": "代码1",
"type": "n8n-nodes-base.code",
"position": [
2352,
1712
],
"parameters": {
"jsCode": "// Flexible Lowest Price Product Finder with Debugging\ntry {\n // STEP 1: Basic validation\n if (!items || !Array.isArray(items) || items.length === 0) {\n return [{\n json: {\n title: \"No Input Data\",\n price: 0,\n url: \"\",\n message: \"❌ No items array provided or items is empty\",\n debug_info: `Items type: ${typeof items}, Length: ${items ? items.length : 'N/A'}`\n }\n }];\n }\n\n // STEP 2: Debug - let's see what data structure we're getting\n console.log(\"Total items received:\", items.length);\n console.log(\"First item structure:\", JSON.stringify(items[0], null, 2));\n\n // STEP 3: Try multiple ways to extract products\n const products = [];\n \n for (let i = 0; i < items.length; i++) {\n const item = items[i];\n let productData = null;\n \n // Method 1: Check if item.json exists\n if (item && item.json) {\n productData = item.json;\n }\n // Method 2: Check if item itself is the product\n else if (item) {\n productData = item;\n }\n \n if (productData) {\n // Try different field name variations\n const title = productData.title || productData.Title || productData.name || productData.Name || productData.product_name || \"\";\n const url = productData.url || productData.URL || productData.link || productData.Link || \"\";\n \n // Try different price field variations\n let price = productData.price || productData.Price || productData.cost || productData.Cost || productData.amount || 0;\n \n // Clean and convert price\n if (typeof price === 'string') {\n // Remove currency symbols and convert to number\n price = parseFloat(price.replace(/[₹$,\\s]/g, '')) || 0;\n }\n \n // Check if we have valid data\n if (title && url && price > 0) {\n products.push({\n title: title.toString().trim(),\n price: parseFloat(price),\n url: url.toString().trim(),\n original_index: i\n });\n }\n }\n }\n\n // STEP 4: If no products found, return debug information\n if (products.length === 0) {\n // Let's create debug info about what we found\n const debugInfo = items.slice(0, 3).map((item, index) => {\n if (item && item.json) {\n return `Item ${index}: ${JSON.stringify(Object.keys(item.json))}`;\n } else if (item) {\n return `Item ${index}: ${JSON.stringify(Object.keys(item))}`;\n }\n return `Item ${index}: null/undefined`;\n }).join(', ');\n\n return [{\n json: {\n title: \"No Valid Products Found\",\n price: 0,\n url: \"\",\n message: `❌ Could not find products with title, price, and URL\\n\\n🔍 Debug Info:\\n- Total items: ${items.length}\\n- Sample structures: ${debugInfo}\\n\\n💡 Make sure your data has 'title', 'price', and 'url' fields`,\n debug_items_count: items.length,\n debug_sample_keys: debugInfo\n }\n }];\n }\n\n // STEP 5: Find the cheapest product\n let cheapestProduct = products[0];\n \n for (let i = 1; i < products.length; i++) {\n if (products[i].price < cheapestProduct.price) {\n cheapestProduct = products[i];\n }\n }\n\n // STEP 6: Return the result\n return [{\n json: {\n title: cheapestProduct.title,\n price: cheapestProduct.price,\n url: cheapestProduct.url,\n message: `🏆 Lowest Price Product!\\n\\n🛍️ ${cheapestProduct.title}\\n💰 ₹${cheapestProduct.price}\\n🔗 ${cheapestProduct.url}\\n\\n📊 Found from ${products.length} valid products`\n }\n }];\n\n} catch (error) {\n return [{\n json: {\n title: \"Error Occurred\",\n price: 0,\n url: \"\",\n message: `❌ Error: ${error.message}\\n\\n🔧 Stack: ${error.stack}`,\n error_type: error.name\n }\n }];\n}"
},
"typeVersion": 2
},
{
"id": "ef5e536e-d534-434d-a11b-51445ee64e50",
"name": "Google Sheets1",
"type": "n8n-nodes-base.googleSheets",
"position": [
1264,
624
],
"parameters": {
"columns": {
"value": {
"URL": "={{ $json.url }}",
"Title": "={{ $json.title }}",
"price": "={{ $json.initial_price }}"
},
"schema": [
{
"id": "URL",
"type": "string",
"display": true,
"required": false,
"displayName": "URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Title",
"type": "string",
"display": true,
"required": false,
"displayName": "Title",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "price",
"type": "string",
"display": true,
"required": false,
"displayName": "price",
"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?usp=drivesdk",
"cachedResultName": "eBay Feedback Monitor & Auto-Responder"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets-demo@example.com"
}
},
"typeVersion": 4.6
},
{
"id": "a5c45179-20f9-47e5-b1c8-17d2601d713e",
"name": "合并",
"type": "n8n-nodes-base.merge",
"position": [
1968,
1600
],
"parameters": {
"numberInputs": 8
},
"typeVersion": 3.2
},
{
"id": "97b1dc71-6715-41ae-a3a4-06c7bb15b94e",
"name": "过滤器1",
"type": "n8n-nodes-base.filter",
"position": [
720,
640
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "50b8c92c-c011-4b5a-96a1-1a605b7bf996",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.title.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}",
"rightValue": "={{ $('On form submission').item.json.SearchHere.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "800a9003-543e-49fa-a593-c02cbf6fba48",
"name": "条件判断3",
"type": "n8n-nodes-base.if",
"position": [
-480,
1248
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "789b011a-4a0f-46fc-8014-e6c057fbd1f6",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "ready"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "6e71032d-2606-42d8-a515-3b6c4f4a73de",
"name": "Google Sheets2",
"type": "n8n-nodes-base.googleSheets",
"position": [
1248,
1184
],
"parameters": {
"columns": {
"value": {
"URL": "={{ $json.url }}",
"Title": "={{ $json.title }}",
"price": "={{ $json.price }}"
},
"schema": [
{
"id": "URL",
"type": "string",
"display": true,
"required": false,
"displayName": "URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Title",
"type": "string",
"display": true,
"required": false,
"displayName": "Title",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "price",
"type": "string",
"display": true,
"required": false,
"displayName": "price",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "appendOrUpdate",
"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?usp=drivesdk",
"cachedResultName": "eBay Feedback Monitor & Auto-Responder"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets-demo@example.com"
}
},
"typeVersion": 4.6
},
{
"id": "1963794a-2b4b-4a6f-99d3-045daea95c4c",
"name": "条件判断4",
"type": "n8n-nodes-base.if",
"position": [
-480,
1504
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "e94645e8-55b8-44db-af04-b80eef13c434",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "ready"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "03f2ce44-9d5c-4d3a-8b38-9d82175dfbcf",
"name": "Google Sheets3",
"type": "n8n-nodes-base.googleSheets",
"position": [
1232,
1440
],
"parameters": {
"columns": {
"value": {
"URL": "={{ $json.url }}",
"Title": "={{ $json.title }}",
"price": "={{ $json.price }}"
},
"schema": [
{
"id": "URL",
"type": "string",
"display": true,
"required": false,
"displayName": "URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Title",
"type": "string",
"display": true,
"required": false,
"displayName": "Title",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "price",
"type": "string",
"display": true,
"required": false,
"displayName": "price",
"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?usp=drivesdk",
"cachedResultName": "eBay Feedback Monitor & Auto-Responder"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets-demo@example.com"
}
},
"typeVersion": 4.6
},
{
"id": "b9e79c6e-f4af-4351-af81-d55461cfbf7a",
"name": "条件判断5",
"type": "n8n-nodes-base.if",
"position": [
-464,
1792
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "8ce43e98-062c-4b9a-b0d7-5c43cd7e2ab7",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "ready"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "9570682b-014b-4ab0-8adc-2ab3a95f5efd",
"name": "Google Sheets4",
"type": "n8n-nodes-base.googleSheets",
"position": [
1200,
1728
],
"parameters": {
"columns": {
"value": {
"URL": "={{ $json.url }}",
"Title": "={{ $json.title }}",
"price": "={{ $json.price }}"
},
"schema": [
{
"id": "URL",
"type": "string",
"display": true,
"required": false,
"displayName": "URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Title",
"type": "string",
"display": true,
"required": false,
"displayName": "Title",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "price",
"type": "string",
"display": true,
"required": false,
"displayName": "price",
"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?usp=drivesdk",
"cachedResultName": "eBay Feedback Monitor & Auto-Responder"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets-demo@example.com"
}
},
"typeVersion": 4.6
},
{
"id": "33aec097-56cf-43bc-b52f-ff38a61699f7",
"name": "条件判断6",
"type": "n8n-nodes-base.if",
"position": [
-464,
2064
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "d0502f92-8f7a-432f-a2a9-27adad0f8459",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "ready"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "5a6c8a4f-4fea-49b2-90fb-523bc3eb42de",
"name": "Google Sheets5",
"type": "n8n-nodes-base.googleSheets",
"position": [
1232,
2000
],
"parameters": {
"columns": {
"value": {
"URL": "={{ $json.url }}",
"Title": "={{ $json.title }}",
"price": "={{ $json.price }}"
},
"schema": [
{
"id": "URL",
"type": "string",
"display": true,
"required": false,
"displayName": "URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Title",
"type": "string",
"display": true,
"required": false,
"displayName": "Title",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "price",
"type": "string",
"display": true,
"required": false,
"displayName": "price",
"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?usp=drivesdk",
"cachedResultName": "eBay Feedback Monitor & Auto-Responder"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets-demo@example.com"
}
},
"typeVersion": 4.6
},
{
"id": "31e96959-ce70-4843-b896-92b47df08631",
"name": "HTTP 请求14",
"type": "n8n-nodes-base.httpRequest",
"position": [
-896,
2384
],
"parameters": {
"url": "=https://api.brightdata.com/datasets/v3/progress/{{ $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": "98627c8c-41f1-428a-aa6e-fb909c943e11",
"name": "条件判断7",
"type": "n8n-nodes-base.if",
"position": [
-448,
2384
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "8bfe0927-e095-411a-9889-9d636b0304ce",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "ready"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "007d7ee1-8060-4abd-ae36-21e957612416",
"name": "HTTP 请求15",
"type": "n8n-nodes-base.httpRequest",
"position": [
400,
2352
],
"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": "5f66e6d7-7180-4d79-a3f2-289c0aef9250",
"name": "Google Sheets6",
"type": "n8n-nodes-base.googleSheets",
"position": [
1232,
2320
],
"parameters": {
"columns": {
"value": {
"URL": "={{ $json.url }}",
"Title": "={{ $json.title }}",
"price": "={{ $json.price }}"
},
"schema": [
{
"id": "URL",
"type": "string",
"display": true,
"required": false,
"displayName": "URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Title",
"type": "string",
"display": true,
"required": false,
"displayName": "Title",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "price",
"type": "string",
"display": true,
"required": false,
"displayName": "price",
"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?usp=drivesdk",
"cachedResultName": "eBay Feedback Monitor & Auto-Responder"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets-demo@example.com"
}
},
"typeVersion": 4.6
},
{
"id": "f267416f-db45-40ca-b09e-e36bb861b8d4",
"name": "HTTP 请求16",
"type": "n8n-nodes-base.httpRequest",
"position": [
-928,
2720
],
"parameters": {
"url": "=https://api.brightdata.com/datasets/v3/progress/{{ $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": "524acc79-57b9-4b76-89d9-d301c8768795",
"name": "条件判断8",
"type": "n8n-nodes-base.if",
"position": [
-416,
2720
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "7da9c7c9-e564-405f-b5d1-3bb3f378b36f",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "ready"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "db8fb047-6052-4cb3-920a-180927c4237a",
"name": "HTTP 请求17",
"type": "n8n-nodes-base.httpRequest",
"position": [
400,
2688
],
"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": "dd4e8224-21e7-4bd6-8a6e-a7bf062198da",
"name": "Google Sheets7",
"type": "n8n-nodes-base.googleSheets",
"position": [
1248,
2672
],
"parameters": {
"columns": {
"value": {
"URL": "={{ $json.url }}",
"Title": "={{ $json.title }}",
"price": "={{ $json.price }}"
},
"schema": [
{
"id": "URL",
"type": "string",
"display": true,
"required": false,
"displayName": "URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Title",
"type": "string",
"display": true,
"required": false,
"displayName": "Title",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "price",
"type": "string",
"display": true,
"required": false,
"displayName": "price",
"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?usp=drivesdk",
"cachedResultName": "eBay Feedback Monitor & Auto-Responder"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets-demo@example.com"
}
},
"typeVersion": 4.6
},
{
"id": "dd04e648-a233-4f65-be0f-3c615a51fbac",
"name": "劳氏",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1168,
2720
],
"parameters": {
"url": "https://api.brightdata.com/datasets/v3/trigger",
"method": "POST",
"options": {},
"jsonBody": "{\n \"input\": [\n \n {\n \"keywords\": \"{{ $json.SearchHere }}\"\n }\n ],\n \"custom_output_fields\": [\n \"url\",\n \"domain\",\n \"marketplace_pn\",\n \"sku\",\n \"other_pn\",\n \"model_number\",\n \"gtin_ean_pn\",\n \"product_name\",\n \"brand\",\n \"description\",\n \"date_first_available\",\n \"badges\",\n \"initial_price\",\n \"final_price\",\n \"discount\",\n \"currency\",\n \"delivery_offers\",\n \"in_stock\",\n \"availability\",\n \"delivery\",\n \"seller_name\",\n \"seller_id\",\n \"seller_url\",\n \"root_category\",\n \"breadcrumbs \",\n \"main_image\",\n \"image_urls\",\n \"videos\",\n \"rating\",\n \"reviews_count\",\n \"top_reviews\",\n \"color\",\n \"other_attribute\",\n \"features\",\n \"dimensions\",\n \"weight\",\n \"category_tree\",\n \"variations\",\n \"related_searches\",\n \"Specifications\",\n \"customers_also_viewed\",\n \"better_together\",\n \"available_to_delivery\",\n \"location\",\n \"store_name\",\n \"timestamp\",\n \"input\",\n \"discovery_input\",\n \"error\",\n \"error_code\",\n \"warning\",\n \"warning_code\"\n ]\n}",
"sendBody": true,
"sendQuery": true,
"sendHeaders": true,
"specifyBody": "json",
"queryParameters": {
"parameters": [
{
"name": "dataset_id",
"value": "gd_lnvl79pfftqh18u2o"
},
{
"name": "include_errors",
"value": "true"
},
{
"name": "type",
"value": "discover_new"
},
{
"name": "discover_by",
"value": "keywords"
},
{
"name": "limit_per_input",
"value": "4"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "418da50f-b8a7-43bb-a8e5-36183e885ade",
"name": "Wayfair",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1168,
2384
],
"parameters": {
"url": "https://api.brightdata.com/datasets/v3/trigger",
"method": "POST",
"options": {},
"jsonBody": "{\n \"input\": [\n {\n \"keywords\": \"{{ $json.SearchHere }}\"\n }\n ],\n \"custom_output_fields\": [\n \"url\",\n \"product_id\",\n \"title\",\n \"rating\",\n \"reviews_count\",\n \"initial_price\",\n \"discount\",\n \"final_price\",\n \"currency\",\n \"shipping\",\n \"breadcrumbs\",\n \"product_specifications\",\n \"images\",\n \"seller_offer\",\n \"product_details\",\n \"variations\",\n \"description\",\n \"features\",\n \"features_detailes\",\n \"assembly\",\n \"warranty\",\n \"most_relevant_reviews\",\n \"piid\",\n \"manufacturer_name\",\n \"at_a_glance\",\n \"other_dimensions\",\n \"other_dimensions_array\",\n \"brand\",\n \"description_full\",\n \"description_short\",\n \"extras\",\n \"primary_image\",\n \"is_price_discounted\",\n \"is_out_of_stock\",\n \"timestamp\",\n \"input\",\n \"discovery_input\",\n \"error\",\n \"error_code\",\n \"warning\",\n \"warning_code\"\n ]\n}",
"sendBody": true,
"sendQuery": true,
"sendHeaders": true,
"specifyBody": "json",
"queryParameters": {
"parameters": [
{
"name": "dataset_id",
"value": "gd_ltr9ne3p24zrhrbu28"
},
{
"name": "include_errors",
"value": "true"
},
{
"name": "type",
"value": "discover_new"
},
{
"name": "discover_by",
"value": "keywords"
},
{
"name": "limit_per_input",
"value": "4"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "6c76b2b3-c4e1-4d15-b728-06b778b0c3ae",
"name": "条件判断9",
"type": "n8n-nodes-base.if",
"position": [
960,
640
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "53871116-b12a-4be1-a246-44e7b2769dc9",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $items.length }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "69c31b5a-fc31-4269-b8cd-15f32f78da29",
"name": "条件判断10",
"type": "n8n-nodes-base.if",
"position": [
944,
944
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "53871116-b12a-4be1-a246-44e7b2769dc9",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $items.length }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "611fa666-ecdb-4cb3-a23a-dfa52cfbd242",
"name": "条件判断11",
"type": "n8n-nodes-base.if",
"position": [
928,
1200
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "53871116-b12a-4be1-a246-44e7b2769dc9",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $items.length }}",
"rightValue": 0
},
{
"id": "dd363311-b631-4920-84a3-4ef7f66f45af",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "c2c5ac10-d1df-4a9d-9643-9631a02891cb",
"name": "条件判断12",
"type": "n8n-nodes-base.if",
"position": [
912,
1472
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "53871116-b12a-4be1-a246-44e7b2769dc9",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $items.length }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "4932cc14-4775-442e-9abd-79f75e6e758d",
"name": "条件判断13",
"type": "n8n-nodes-base.if",
"position": [
880,
1744
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "53871116-b12a-4be1-a246-44e7b2769dc9",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $items.length }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "fec65467-f716-431a-9b00-94792ff4daac",
"name": "条件判断14",
"type": "n8n-nodes-base.if",
"position": [
912,
2032
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "53871116-b12a-4be1-a246-44e7b2769dc9",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $items.length }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "1af513e0-d304-4662-b730-301289653086",
"name": "条件判断15",
"type": "n8n-nodes-base.if",
"position": [
944,
2688
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "53871116-b12a-4be1-a246-44e7b2769dc9",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $items.length }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "37cab016-8c2a-42a5-89e9-75e96584ba50",
"name": "条件判断16",
"type": "n8n-nodes-base.if",
"position": [
928,
2352
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "53871116-b12a-4be1-a246-44e7b2769dc9",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $items.length }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "b319da11-83df-47c2-88f7-47346d88c4d7",
"name": "条件判断18",
"type": "n8n-nodes-base.if",
"position": [
80,
1488
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "80b55138-4007-47ce-9e4a-bf001c875047",
"operator": {
"type": "number",
"operation": "notEquals"
},
"leftValue": "={{ $json.records }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "28ec1ae9-1c04-46d5-820e-2c77fdcafbc5",
"name": "条件判断19",
"type": "n8n-nodes-base.if",
"position": [
80,
1760
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "80b55138-4007-47ce-9e4a-bf001c875047",
"operator": {
"type": "number",
"operation": "notEquals"
},
"leftValue": "={{ $json.records }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "f47f9300-c7b5-41f1-aa4e-898935a8efd2",
"name": "条件判断20",
"type": "n8n-nodes-base.if",
"position": [
80,
2048
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "80b55138-4007-47ce-9e4a-bf001c875047",
"operator": {
"type": "number",
"operation": "notEquals"
},
"leftValue": "={{ $json.records }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "f0d53d13-c173-48ae-8abd-3593c55d9d54",
"name": "条件判断21",
"type": "n8n-nodes-base.if",
"position": [
80,
2368
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "80b55138-4007-47ce-9e4a-bf001c875047",
"operator": {
"type": "number",
"operation": "notEquals"
},
"leftValue": "={{ $json.records }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "ab52f2c1-2f97-4338-8063-23d27de578d8",
"name": "条件判断22",
"type": "n8n-nodes-base.if",
"position": [
80,
2704
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "80b55138-4007-47ce-9e4a-bf001c875047",
"operator": {
"type": "number",
"operation": "notEquals"
},
"leftValue": "={{ $json.records }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "3cc758ba-d59a-454d-bf3e-405d8fe1d283",
"name": "条件判断24",
"type": "n8n-nodes-base.if",
"position": [
80,
1232
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "80b55138-4007-47ce-9e4a-bf001c875047",
"operator": {
"type": "number",
"operation": "notEquals"
},
"leftValue": "={{ $json.records }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "39e56704-5401-43ec-a636-e716d4dea427",
"name": "条件判断25",
"type": "n8n-nodes-base.if",
"position": [
80,
960
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "80b55138-4007-47ce-9e4a-bf001c875047",
"operator": {
"type": "number",
"operation": "notEquals"
},
"leftValue": "={{ $json.records }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "8dfbd643-806d-4f29-94f2-fd1c0e835434",
"name": "条件判断26",
"type": "n8n-nodes-base.if",
"position": [
80,
672
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "80b55138-4007-47ce-9e4a-bf001c875047",
"operator": {
"type": "number",
"operation": "notEquals"
},
"leftValue": "={{ $json.records }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "e5a618cb-c96c-4948-80d0-08f827f9702c",
"name": "过滤器8",
"type": "n8n-nodes-base.filter",
"position": [
720,
944
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "50b8c92c-c011-4b5a-96a1-1a605b7bf996",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.title.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}",
"rightValue": "={{ $('On form submission').item.json.SearchHere.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "85e740db-b887-4362-a355-e938d0d9b53e",
"name": "过滤器",
"type": "n8n-nodes-base.filter",
"position": [
704,
1200
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "50b8c92c-c011-4b5a-96a1-1a605b7bf996",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.title.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}",
"rightValue": "={{ $('On form submission').item.json.SearchHere.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "f6c7fef5-97cd-4a0c-83f0-268a55ea160e",
"name": "过滤器2",
"type": "n8n-nodes-base.filter",
"position": [
688,
1472
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "50b8c92c-c011-4b5a-96a1-1a605b7bf996",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.title.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}",
"rightValue": "={{ $('On form submission').item.json.SearchHere.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "e311107b-92fc-4e67-a778-8f5a6409ded0",
"name": "过滤器3",
"type": "n8n-nodes-base.filter",
"position": [
672,
1744
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "50b8c92c-c011-4b5a-96a1-1a605b7bf996",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.title.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}",
"rightValue": "={{ $('On form submission').item.json.SearchHere.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "0dd1a12d-dcd2-48e5-a23d-37daa6623a5b",
"name": "过滤器4",
"type": "n8n-nodes-base.filter",
"position": [
672,
2032
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "50b8c92c-c011-4b5a-96a1-1a605b7bf996",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.title.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}",
"rightValue": "={{ $('On form submission').item.json.SearchHere.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "570d46f1-b13a-4919-812b-ac076ec7a4a7",
"name": "过滤器5",
"type": "n8n-nodes-base.filter",
"position": [
688,
2352
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "50b8c92c-c011-4b5a-96a1-1a605b7bf996",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.title.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}",
"rightValue": "={{ $('On form submission').item.json.SearchHere.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "04bc1397-8ffb-4092-bf7a-45826a609b28",
"name": "过滤器6",
"type": "n8n-nodes-base.filter",
"position": [
688,
2688
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "50b8c92c-c011-4b5a-96a1-1a605b7bf996",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.title.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}",
"rightValue": "={{ $('On form submission').item.json.SearchHere.toLowerCase().replace(/[^\\w\\s]/g, '').replace(/\\s+/g, ' ').trim() }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "e1341d36-4a16-4da2-ae05-bdce7c15648f",
"name": "等待",
"type": "n8n-nodes-base.wait",
"position": [
-176,
720
],
"webhookId": "9fb830b0-40a1-4039-9c79-5e673c0d1fed",
"parameters": {
"unit": "minutes",
"amount": 1
},
"typeVersion": 1.1
},
{
"id": "586f52be-4f8a-4b60-99ee-4388c566d6f2",
"name": "等待1",
"type": "n8n-nodes-base.wait",
"position": [
-208,
1024
],
"webhookId": "79839ed0-2898-46ea-b1d0-ee5283a6624d",
"parameters": {
"unit": "minutes",
"amount": 1
},
"typeVersion": 1.1
},
{
"id": "282b99dd-0360-45ad-b946-aed421d1e7c5",
"name": "等待 2",
"type": "n8n-nodes-base.wait",
"position": [
-160,
1312
],
"webhookId": "aac4a517-3244-4bfb-aea1-a21a78f01f00",
"parameters": {
"unit": "minutes",
"amount": 1
},
"typeVersion": 1.1
},
{
"id": "f20b5830-9708-4aaa-97de-ace16df86be4",
"name": "等待3",
"type": "n8n-nodes-base.wait",
"position": [
-160,
1568
],
"webhookId": "11a960bf-9d43-4cf6-b34f-28c37ffba846",
"parameters": {
"unit": "minutes",
"amount": 1
},
"typeVersion": 1.1
},
{
"id": "fe25909c-d6f9-4824-81a2-842685dd5414",
"name": "等待4",
"type": "n8n-nodes-base.wait",
"position": [
-160,
1840
],
"webhookId": "df97a2aa-973b-45fd-a1a0-ae1870b66afe",
"parameters": {
"unit": "minutes",
"amount": 1
},
"typeVersion": 1.1
},
{
"id": "c7ec5787-5403-4f13-a095-3953933f3834",
"name": "等待5",
"type": "n8n-nodes-base.wait",
"position": [
-144,
2144
],
"webhookId": "81acb770-e4bc-40a6-a587-177905a95c78",
"parameters": {
"unit": "minutes",
"amount": 1
},
"typeVersion": 1.1
},
{
"id": "b54bc907-7ea0-4997-956b-99b715d1ee60",
"name": "等待6",
"type": "n8n-nodes-base.wait",
"position": [
-144,
2448
],
"webhookId": "db583ab5-6458-444e-80a7-c20102cd973f",
"parameters": {
"unit": "minutes",
"amount": 1
},
"typeVersion": 1.1
},
{
"id": "e1f4d70c-27f1-4395-a05c-2e555345a3ba",
"name": "等待7",
"type": "n8n-nodes-base.wait",
"position": [
-144,
2784
],
"webhookId": "a8afc44a-06c5-46b5-b640-3df19f77211f",
"parameters": {
"unit": "minutes",
"amount": 1
},
"typeVersion": 1.1
},
{
"id": "d4d373e7-3f2d-45e9-b347-fa79edd01a52",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1280,
320
],
"parameters": {
"color": 4,
"width": 2940,
"height": 2740,
"content": "🔎 多平台产品价格抓取器(Amazon、eBay、Etsy、Target、BestBuy、Home Depot)"
},
"typeVersion": 1
},
{
"id": "fcb0e341-6146-4744-bdba-eca6593e566c",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1872,
1520
],
"parameters": {
"color": 3,
"width": 320,
"height": 460,
"content": "将所有来自不同平台的结果合并为一个流以便进一步处理。"
},
"typeVersion": 1
},
{
"id": "1aef4c7c-facf-4372-aa9a-2af431888e65",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
2272,
1520
],
"parameters": {
"color": 5,
"width": 260,
"height": 460,
"content": "扫描所有合并的产品数据并识别价格最低的产品。返回标题、价格和 URL,并附带格式化消息。"
},
"typeVersion": 1
},
{
"id": "bd98bfef-7018-4764-82b2-3693a0f8961e",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
2560,
1520
],
"parameters": {
"color": 6,
"width": 420,
"height": 500,
"content": "使用 Anthropic Chat Model 根据最低价产品撰写简短促销信息。保持兴奋和紧迫的语气。"
},
"typeVersion": 1
},
{
"id": "8314d1d3-59a1-4661-85c3-1415bcebcb98",
"name": "便签说明4",
"type": "n8n-nodes-base.stickyNote",
"position": [
3024,
1520
],
"parameters": {
"color": 2,
"width": 320,
"height": 500,
"content": "清理 Claude 的回复:移除如**粗体**等格式,修复 < >,并添加 HTML 换行符。"
},
"typeVersion": 1
},
{
"id": "63b98d64-008e-4a9a-ac01-933b8f25e3a5",
"name": "便签说明5",
"type": "n8n-nodes-base.stickyNote",
"position": [
3408,
1520
],
"parameters": {
"color": 3,
"width": 300,
"height": 480,
"content": "将促销信息(最低价产品)发送到您的 Telegram 频道或联系人。"
},
"typeVersion": 1
},
{
"id": "5ced50d3-b86a-41ba-925a-71860d9c08df",
"name": "使用关键词触发 Bright Data 对 Amazon 的抓取",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1168,
688
],
"parameters": {
"url": "https://api.brightdata.com/datasets/v3/trigger",
"method": "POST",
"options": {},
"jsonBody": "={\n \"input\": [\n {\n \"keyword\": \"{{ $json.SearchHere }}\"\n }\n ],\n \"custom_output_fields\": [\n \"title\",\n \"seller_name\",\n \"brand\",\n \"description\",\n \"initial_price\",\n \"currency\",\n \"availability\",\n \"reviews_count\",\n \"categories\",\n \"parent_asin\",\n \"asin\",\n \"buybox_seller\",\n \"number_of_sellers\",\n \"root_bs_rank\",\n \n \"answered_questions\",\n \"domain\",\n \"images_count\",\n \"url\",\n \"video_count\",\n \"image_url\",\n \"item_weight\",\n \"rating\",\n \"product_dimensions\",\n \"seller_id\",\n \n \"date_first_available\",\n \"discount\",\n \"model_number\",\n \"manufacturer\",\n \"department\",\n \"plus_content\",\n \n \"video\",\n \"top_review\",\n \"final_price_high\",\n \"final_price\",\n \"variations\",\n \"delivery\",\n \"features\",\n \"format\",\n \"buybox_prices\",\n \"input_asin\",\n \"ingredients\",\n \"origin_url\",\n \"bought_past_month\",\n \"is_available\",\n \"root_bs_category\",\n \"bs_category\",\n \"bs_rank\",\n \"badge\",\n \"subcategory_rank\",\n \"amazon_choice\",\n \"images\",\n \"product_details\",\n \"prices_breakdown\",\n \"country_of_origin\",\n \"from_the_brand\",\n \"product_description\",\n \"seller_url\",\n \"customer_says\",\n \"sustainability_features\",\n \"climate_pledge_friendly\",\n \"videos\",\n \"other_sellers_prices\",\n \"downloadable_videos\",\n \"editorial_reviews\",\n \"about_the_author\",\n \"zipcode\",\n \"sponsered\",\n \"store_url\",\n \"ships_from\",\n \"customers_say\",\n \"max_quantity_available\"\n ]\n}",
"sendBody": true,
"sendQuery": true,
"sendHeaders": true,
"specifyBody": "json",
"queryParameters": {
"parameters": [
{
"name": "dataset_id",
"value": "gd_l7q7dkf244hwjntr0"
},
{
"name": "include_errors",
"value": "true"
},
{
"name": "type",
"value": "discover_new"
},
{
"name": "discover_by",
"value": "keyword"
},
{
"name": "limit_per_input",
"value": "4"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "2b0a31ba-9d18-4b12-b2ac-91914ac0a0d1",
"name": "检查 Amazon 抓取状态(状态:就绪)",
"type": "n8n-nodes-base.httpRequest",
"position": [
-896,
688
],
"parameters": {
"url": "=https://api.brightdata.com/datasets/v3/progress/{{ $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": "d8b0cbe2-3ba1-4c31-a079-69f4b6ef44f4",
"name": "从 Amazon 快照获取最终抓取数据",
"type": "n8n-nodes-base.httpRequest",
"position": [
480,
640
],
"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": "326543d7-6020-483d-be22-adc443550b53",
"name": "触发 Bright Data 对 eBay 的抓取",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1168,
992
],
"parameters": {
"url": "https://api.brightdata.com/datasets/v3/trigger",
"method": "POST",
"options": {},
"jsonBody": "={\n \"input\": [\n {\n \"keywords\": \"{{ $json.SearchHere }}\"\n }\n ],\n \"custom_output_fields\": [\n \"url\",\n \"product_id\",\n \"title\",\n \"seller_name\",\n \"seller_rating\",\n \"seller_reviews\",\n \"breadcrumbs\",\n \"root_category\",\n \"images\",\n \"price\",\n \"currency\",\n \"condition\",\n \"available_count\",\n \"sold_count\",\n \"item_location\",\n \"ships_to\",\n \"excludes_shipping\",\n \"shipping\",\n \"service_shipping\",\n \"return_policy\",\n \"payment_details\",\n \"related_items\",\n \"product_specifications\",\n \"seller_total_reviews\",\n \"item_reviews\",\n \"seller_ratings\",\n \"popular_categories\",\n \"product_ratings\",\n \"amount_of_stars\",\n \"what_customers_said\",\n \"reviews_count\",\n \"most_relevant_reviews\",\n \"you_may_also_like\",\n \"related_sponsored_items\",\n \"tags\",\n \"description_from_the_seller\",\n \"description_from_the_seller_parsed\",\n \"compatibility\",\n \"timestamp\",\n \"input\",\n \"discovery_input\",\n \"error\",\n \"error_code\"\n ]\n}",
"sendBody": true,
"sendQuery": true,
"sendHeaders": true,
"specifyBody": "json",
"queryParameters": {
"parameters": [
{
"name": "dataset_id",
"value": "gd_ltr9mjt81n0zzdk1fb"
},
{
"name": "include_errors",
"value": "true"
},
{
"name": "type",
"value": "discover_new"
},
{
"name": "discover_by",
"value": "keywords"
},
{
"name": "limit_per_input",
"value": "4"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "94105ada-a9a2-4ce9-b151-6d816f9aa75e",
"name": "检查 eBay 抓取状态",
"type": "n8n-nodes-base.httpRequest",
"position": [
-896,
992
],
"parameters": {
"url": "=https://api.brightdata.com/datasets/v3/progress/{{ $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": "a563c318-c13c-4492-9d70-e90cf9082845",
"name": "触发 Bright Data 对 Etsy 的抓取",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1168,
1248
],
"parameters": {
"url": "https://api.brightdata.com/datasets/v3/trigger",
"method": "POST",
"options": {},
"jsonBody": "{\n \"input\": [\n {\n \"keywords\": \"{{$json.SearchHere }}\"\n }\n \n ],\n \"custom_output_fields\": [\n \"url\",\n \"product_id\",\n \"listing_inventory_id\",\n \"title\",\n \"rating\",\n \"reviews_count_shop\",\n \"reviews_count_item\",\n \"initial_price\",\n \"discount_percentage\",\n \"final_price\",\n \"currency\",\n \"images\",\n \"breadcrumbs\",\n \"root_category\",\n \"seller_name\",\n \"seller_shop_name\",\n \"seller_response\",\n \"item_details\",\n \"shipping_return_policies\",\n \"product_specifications\",\n \"related_searches\",\n \"faqs\",\n \"category_tree\",\n \"top_reviews\",\n \"photos_from_reviews\",\n \"liisted_date\",\n \"seller_shop_url\",\n \"variation\",\n \"variations\",\n \n \n \"highlights\",\n \"item_details_html\",\n \"highlights_lines\",\n \n \"timestamp\",\n \"input\",\n \"discovery_input\",\n \"error\",\n \"error_code\",\n \"warning\",\n \"warning_code\"\n ]\n}",
"sendBody": true,
"sendQuery": true,
"sendHeaders": true,
"specifyBody": "json",
"queryParameters": {
"parameters": [
{
"name": "dataset_id",
"value": "gd_ltppk0jdv1jqz25mz"
},
{
"name": "include_errors",
"value": "true"
},
{
"name": "type",
"value": "discover_new"
},
{
"name": "discover_by",
"value": "keywords"
},
{
"name": "limit_per_input",
"value": "4"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "ad4c4b32-46c6-440a-84d0-ee0c710f68c6",
"name": "检查 Etsy 抓取状态",
"type": "n8n-nodes-base.httpRequest",
"position": [
-896,
1248
],
"parameters": {
"url": "=https://api.brightdata.com/datasets/v3/progress/{{ $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": "613a7f91-c419-436e-b6fc-57af90424282",
"name": "从 Etsy 快照获取最终抓取数据",
"type": "n8n-nodes-base.httpRequest",
"position": [
448,
1200
],
"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": "856e48ac-18da-4cee-bc11-41531145bc89",
"name": "触发 Bright Data 对 BestBuy 的抓取",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1168,
1504
],
"parameters": {
"url": "https://api.brightdata.com/datasets/v3/trigger",
"method": "POST",
"options": {},
"jsonBody": "{\n \"input\": [\n {\n \"keywords\": \"{{ $json.SearchHere }}\"\n }\n ],\n \"custom_output_fields\": [\n \"url\",\n \"product_id\",\n \"title\",\n \"images\",\n \"final_price\",\n \"currency\",\n \"discount\",\n \"initial_price\",\n \"offer_price\",\n \"root_category\",\n \"breadcrumbs\",\n \"release_date\",\n \"esrb_rating\",\n \"rating\",\n \"reviews_count\",\n \"questions_count\",\n \"hot_offer\",\n \"open_box\",\n \"availability\",\n \"you_maight_also_need\",\n \"variations\",\n \"highlights\",\n \"product_description\",\n \"features_summary\",\n \"features\",\n \"whats_included\",\n \"q_a\",\n \"product_specifications\",\n \"amount_of_stars\",\n \"customer_images\",\n \"customers_ultimately_bought\",\n \"deals_on_realated_items\",\n \"frequently_bought_with\",\n \"recommend_percentage\",\n \"model\",\n \"sku\",\n \"upc\",\n \"timestamp\",\n \"input\",\n \"discovery_input\",\n \"error\",\n \"error_code\",\n \"warning\",\n \"warning_code\"\n ]\n}",
"sendBody": true,
"sendQuery": true,
"sendHeaders": true,
"specifyBody": "json",
"queryParameters": {
"parameters": [
{
"name": "dataset_id",
"value": "gd_ltre1jqe1jfr7cccf"
},
{
"name": "include_errors",
"value": "true"
},
{
"name": "type",
"value": "discover_new"
},
{
"name": "discover_by",
"value": "keywords"
},
{
"name": "limit_per_input",
"value": "4"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "6842ebf4-5a50-4888-96bb-f5986760ef85",
"name": "检查 BestBuy 抓取状态",
"type": "n8n-nodes-base.httpRequest",
"position": [
-896,
1504
],
"parameters": {
"url": "=https://api.brightdata.com/datasets/v3/progress/{{ $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": "6f44a49e-e20e-4810-b43a-1efa4d99c23d",
"name": "从 BestBuy 快照获取最终抓取数据",
"type": "n8n-nodes-base.httpRequest",
"position": [
432,
1472
],
"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": "80463159-dc61-41e5-9f7a-194e18a8cd68",
"name": "触发 Bright Data 对 Target 的抓取",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1168,
1792
],
"parameters": {
"url": "https://api.brightdata.com/datasets/v3/trigger",
"method": "POST",
"options": {},
"jsonBody": "{\n \"input\": [\n {\n \"keywords\": \"{{ $json.SearchHere }}\"\n }\n ],\n \"custom_output_fields\": [\n \"url\",\n \"product_id\",\n \"title\",\n \"product_description\",\n \"rating\",\n \"reviews_count\",\n \"initial_price\",\n \"discount\",\n \"final_price\",\n \"currency\",\n \"images\",\n \"breadcrumbs\",\n \"seller_name\",\n \"find_alternative\",\n \"fit_and_sytle\",\n \"offers\",\n \"product_specifications\",\n \"shipping_returns_policy\",\n \"q&a\",\n \"related_categories\",\n \"amount_of_stars\",\n \"recommendations\",\n \"variations\",\n \"what_customers_said\",\n \"summary_of_reviews\",\n \"review_images\",\n \"reviews_related\",\n \"upc\",\n \"product_brand\",\n \"item_number\",\n \"retailer\",\n \"price_range\",\n \"is_available\",\n \"availability_text\",\n \"promotion_fulltext\",\n \n \n \n \"tcin_id\",\n \"timestamp\",\n \"input\",\n \"discovery_input\",\n \"error\",\n \"error_code\",\n \"warning\",\n \"warning_code\"\n ]\n}",
"sendBody": true,
"sendQuery": true,
"sendHeaders": true,
"specifyBody": "json",
"queryParameters": {
"parameters": [
{
"name": "dataset_id",
"value": "gd_ltppk5mx2lp0v1k0vo"
},
{
"name": "include_errors",
"value": "true"
},
{
"name": "type",
"value": "discover_new"
},
{
"name": "discover_by",
"value": "keywords"
},
{
"name": "limit_per_input",
"value": "4"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "dc46d1e6-3233-4ddc-b518-80ab60f1e178",
"name": "检查 Target 抓取状态",
"type": "n8n-nodes-base.httpRequest",
"position": [
-896,
1792
],
"parameters": {
"url": "=https://api.brightdata.com/datasets/v3/progress/{{ $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": "fd44152e-c983-4fa4-9d18-3dae86590d76",
"name": "从 Target 快照获取最终抓取数据",
"type": "n8n-nodes-base.httpRequest",
"position": [
400,
1744
],
"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": "ec6c36c8-6437-43dc-84ad-f37fc5dba508",
"name": "触发 Bright Data 对 Home Depot 的抓取",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1168,
2064
],
"parameters": {
"url": "https://api.brightdata.com/datasets/v3/trigger",
"method": "POST",
"options": {},
"jsonBody": "{\n \"input\": [\n {\n \"keyword\": \"{{ $json.SearchHere }}\"\n }\n ],\n \"custom_output_fields\": [\n \"url\",\n \"domain\",\n \"country_code\",\n \"model_number\",\n \"sku\",\n \"product_id\",\n \"product_name\",\n \"manufacturer\",\n \"final_price\",\n \"initial_price\",\n \"currency\",\n \"in_stock\",\n \"root_category\",\n \"category\",\n \"category_tree\",\n \"rating\",\n \"reviews_count\",\n \"answered_questions_count\",\n \"main_image\",\n \"image_urls\",\n \"features\",\n \"dimensions\",\n \"weight\",\n \"details\",\n \"warranty\",\n \"related_documents\",\n \"top_reviews\",\n \"answered_questions\",\n \"upc\",\n \"upcgtin13\",\n \"price_range\",\n \"availability_text\",\n \"promotion_fulltext\",\n \"available_to_delivery\",\n \"zipcode\",\n \"store_name\",\n \"timestamp\",\n \"input\",\n \"discovery_input\",\n \"error\",\n \"error_code\",\n \"warning\",\n \"warning_code\"\n ]\n}",
"sendBody": true,
"sendQuery": true,
"sendHeaders": true,
"specifyBody": "json",
"queryParameters": {
"parameters": [
{
"name": "dataset_id",
"value": "gd_lmusivh019i7g97q2n"
},
{
"name": "include_errors",
"value": "true"
},
{
"name": "type",
"value": "discover_new"
},
{
"name": "discover_by",
"value": "keyword"
},
{
"name": "limit_per_input",
"value": "4"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "7d30d2e1-932b-47ec-9152-cfe09996de4f",
"name": "检查 Home Depot 抓取状态",
"type": "n8n-nodes-base.httpRequest",
"position": [
-896,
2064
],
"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
},
{
"id": "5f45301e-2105-4e8a-95b6-285aec9975fd",
"name": "从 Target 快照1获取最终抓取数据",
"type": "n8n-nodes-base.httpRequest",
"position": [
400,
2032
],
"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
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "42f2cfa0-354c-4321-847b-24426aea9ac0",
"connections": {
"If": {
"main": [
[
{
"node": "If26",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"If1": {
"main": [
[
{
"node": "If25",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait1",
"type": "main",
"index": 0
}
]
]
},
"If3": {
"main": [
[
{
"node": "If24",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait2",
"type": "main",
"index": 0
}
]
]
},
"If4": {
"main": [
[
{
"node": "If18",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait3",
"type": "main",
"index": 0
}
]
]
},
"If5": {
"main": [
[
{
"node": "If19",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait4",
"type": "main",
"index": 0
}
]
]
},
"If6": {
"main": [
[
{
"node": "If20",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait5",
"type": "main",
"index": 0
}
]
]
},
"If7": {
"main": [
[
{
"node": "If21",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait6",
"type": "main",
"index": 0
}
]
]
},
"If8": {
"main": [
[
{
"node": "If22",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait7",
"type": "main",
"index": 0
}
]
]
},
"If9": {
"main": [
[
{
"node": "Google Sheets1",
"type": "main",
"index": 0
}
],
[]
]
},
"If10": {
"main": [
[
{
"node": "Google Sheets",
"type": "main",
"index": 0
}
],
[]
]
},
"If11": {
"main": [
[
{
"node": "Google Sheets2",
"type": "main",
"index": 0
}
],
[]
]
},
"If12": {
"main": [
[
{
"node": "Google Sheets3",
"type": "main",
"index": 0
}
],
[]
]
},
"If13": {
"main": [
[
{
"node": "Google Sheets4",
"type": "main",
"index": 0
}
],
[]
]
},
"If14": {
"main": [
[
{
"node": "Google Sheets5",
"type": "main",
"index": 0
}
],
[]
]
},
"If15": {
"main": [
[
{
"node": "Google Sheets7",
"type": "main",
"index": 0
}
],
[]
]
},
"If16": {
"main": [
[
{
"node": "Google Sheets6",
"type": "main",
"index": 0
}
],
[]
]
},
"If18": {
"main": [
[
{
"node": "Fetches final scraped data from BestBuy snapshot",
"type": "main",
"index": 0
}
],
[]
]
},
"If19": {
"main": [
[
{
"node": "Fetches final scraped data from Target snapshot",
"type": "main",
"index": 0
}
]
]
},
"If20": {
"main": [
[
{
"node": "Fetches final scraped data from Target snapshot1",
"type": "main",
"index": 0
}
]
]
},
"If21": {
"main": [
[
{
"node": "HTTP Request15",
"type": "main",
"index": 0
}
]
]
},
"If22": {
"main": [
[
{
"node": "HTTP Request17",
"type": "main",
"index": 0
}
]
]
},
"If24": {
"main": [
[
{
"node": "Fetches final scraped data from Etsy snapshot",
"type": "main",
"index": 0
}
]
]
},
"If25": {
"main": [
[
{
"node": "Extracting Data from snapshort",
"type": "main",
"index": 0
}
]
]
},
"If26": {
"main": [
[
{
"node": "Fetches final scraped data from Amazon snapshot",
"type": "main",
"index": 0
}
]
]
},
"Wait": {
"main": [
[
{
"node": "Checks scrape status for Amazon (status: ready)",
"type": "main",
"index": 0
}
]
]
},
"Code1": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Code1",
"type": "main",
"index": 0
}
]
]
},
"Wait1": {
"main": [
[
{
"node": "Checks scrape status for eBay",
"type": "main",
"index": 0
}
]
]
},
"Wait2": {
"main": [
[
{
"node": "Checks scrape status for Etsy",
"type": "main",
"index": 0
}
]
]
},
"Wait3": {
"main": [
[
{
"node": "Checks scrape status for BestBuy",
"type": "main",
"index": 0
}
]
]
},
"Wait4": {
"main": [
[
{
"node": "Checks scrape status for Target",
"type": "main",
"index": 0
}
]
]
},
"Wait5": {
"main": [
[
{
"node": "Checks scrape status for Home Depot",
"type": "main",
"index": 0
}
]
]
},
"Wait6": {
"main": [
[
{
"node": "HTTP Request14",
"type": "main",
"index": 0
}
]
]
},
"Wait7": {
"main": [
[
{
"node": "HTTP Request16",
"type": "main",
"index": 0
}
]
]
},
"lowes": {
"main": [
[
{
"node": "HTTP Request16",
"type": "main",
"index": 0
}
]
]
},
"Filter": {
"main": [
[
{
"node": "If11",
"type": "main",
"index": 0
}
]
]
},
"Filter1": {
"main": [
[
{
"node": "If9",
"type": "main",
"index": 0
}
]
]
},
"Filter2": {
"main": [
[
{
"node": "If12",
"type": "main",
"index": 0
}
]
]
},
"Filter3": {
"main": [
[
{
"node": "If13",
"type": "main",
"index": 0
}
]
]
},
"Filter4": {
"main": [
[
{
"node": "If14",
"type": "main",
"index": 0
}
]
]
},
"Filter5": {
"main": [
[
{
"node": "If16",
"type": "main",
"index": 0
}
]
]
},
"Filter6": {
"main": [
[
{
"node": "If15",
"type": "main",
"index": 0
}
]
]
},
"Filter8": {
"main": [
[
{
"node": "If10",
"type": "main",
"index": 0
}
]
]
},
"wayfair": {
"main": [
[
{
"node": "HTTP Request14",
"type": "main",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Clean AI Output",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Google Sheets1": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets2": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 2
}
]
]
},
"Google Sheets3": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 3
}
]
]
},
"Google Sheets4": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 4
}
]
]
},
"Google Sheets5": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 5
}
]
]
},
"Google Sheets6": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 6
}
]
]
},
"Google Sheets7": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 7
}
]
]
},
"HTTP Request14": {
"main": [
[
{
"node": "If7",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request15": {
"main": [
[
{
"node": "Filter5",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request16": {
"main": [
[
{
"node": "If8",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request17": {
"main": [
[
{
"node": "Filter6",
"type": "main",
"index": 0
}
]
]
},
"Clean AI Output": {
"main": [
[
{
"node": "Telegram",
"type": "main",
"index": 0
}
]
]
},
"On form submission": {
"main": [
[
{
"node": "Triggers Bright Data scraping for Amazon using keyword",
"type": "main",
"index": 0
},
{
"node": "Triggers Bright Data scraping for eBay",
"type": "main",
"index": 0
},
{
"node": "Triggers Bright Data scraping for Etsy",
"type": "main",
"index": 0
},
{
"node": "Triggers Bright Data scraping for BestBuy",
"type": "main",
"index": 0
},
{
"node": "Triggers Bright Data scraping for Target",
"type": "main",
"index": 0
},
{
"node": "Triggers Bright Data scraping for Home Depot",
"type": "main",
"index": 0
},
{
"node": "wayfair",
"type": "main",
"index": 0
},
{
"node": "lowes",
"type": "main",
"index": 0
}
]
]
},
"Anthropic Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Checks scrape status for Etsy": {
"main": [
[
{
"node": "If3",
"type": "main",
"index": 0
}
]
]
},
"Checks scrape status for eBay": {
"main": [
[
{
"node": "If1",
"type": "main",
"index": 0
}
]
]
},
"Extracting Data from snapshort": {
"main": [
[
{
"node": "Filter8",
"type": "main",
"index": 0
}
]
]
},
"Checks scrape status for Target": {
"main": [
[
{
"node": "If5",
"type": "main",
"index": 0
}
]
]
},
"Checks scrape status for BestBuy": {
"main": [
[
{
"node": "If4",
"type": "main",
"index": 0
}
]
]
},
"Checks scrape status for Home Depot": {
"main": [
[
{
"node": "If6",
"type": "main",
"index": 0
}
]
]
},
"Triggers Bright Data scraping for Etsy": {
"main": [
[
{
"node": "Checks scrape status for Etsy",
"type": "main",
"index": 0
}
]
]
},
"Triggers Bright Data scraping for eBay": {
"main": [
[
{
"node": "Checks scrape status for eBay",
"type": "main",
"index": 0
}
]
]
},
"Triggers Bright Data scraping for Target": {
"main": [
[
{
"node": "Checks scrape status for Target",
"type": "main",
"index": 0
}
]
]
},
"Triggers Bright Data scraping for BestBuy": {
"main": [
[
{
"node": "Checks scrape status for BestBuy",
"type": "main",
"index": 0
}
]
]
},
"Triggers Bright Data scraping for Home Depot": {
"main": [
[
{
"node": "Checks scrape status for Home Depot",
"type": "main",
"index": 0
}
]
]
},
"Fetches final scraped data from Etsy snapshot": {
"main": [
[
{
"node": "Filter",
"type": "main",
"index": 0
}
]
]
},
"Checks scrape status for Amazon (status: ready)": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Fetches final scraped data from Amazon snapshot": {
"main": [
[
{
"node": "Filter1",
"type": "main",
"index": 0
}
]
]
},
"Fetches final scraped data from Target snapshot": {
"main": [
[
{
"node": "Filter3",
"type": "main",
"index": 0
}
]
]
},
"Fetches final scraped data from BestBuy snapshot": {
"main": [
[
{
"node": "Filter2",
"type": "main",
"index": 0
}
]
]
},
"Fetches final scraped data from Target snapshot1": {
"main": [
[
{
"node": "Filter4",
"type": "main",
"index": 0
}
]
]
},
"Triggers Bright Data scraping for Amazon using keyword": {
"main": [
[
{
"node": "Checks scrape status for Amazon (status: ready)",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个高级难度的工作流,适用于Market Research、Multimodal AI等场景。适合高级用户,包含 16+ 个节点的复杂工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
网站地图页面提取器
网站地图页面提取器:发现、清理并将网站 URL 保存至 Google Sheets
If
Set
Code
+6
19 节点Incrementors
Market Research
通过 Bright Data 将维基百科内容转为带图的 LinkedIn AI 内容发布器
使用GPT-4摘要和Ideogram图片从维基百科生成LinkedIn帖子
If
Code
Wait
+9
19 节点Incrementors
Social Media
WordPress博客自动化专业版(深度研究)v2.1市场
使用GPT-4o、Perplexity AI和多语言支持自动化SEO优化的博客创建
If
Set
Xml
+27
125 节点Daniel Ng
Content Creation
潜在客户工作流:通过 BrightData 进行 Yelp 和 Trustpilot 抓取 + OpenAI 分析
通过 Yelp 和 Trustpilot 抓取 + AI 驱动的邮件外联生成销售线索
If
Code
Wait
+9
32 节点Incrementors
Sales
使用GPT-4o和Google Search Console检测关键词蚕食
使用GPT-4o和Google Search Console检测关键词蚕食
If
Code
Merge
+7
27 节点Incrementors
Content Creation
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
Other