使用Bright Data和Google Gemini提取名言
初级
这是一个Other, AI领域的自动化工作流,包含 5 个节点。主要使用 Set, HttpRequest, ManualTrigger, LmChatGoogleGemini, InformationExtractor 等节点,结合人工智能技术实现智能自动化。 使用Bright Data和Gemini的Goodreads名言提取
前置要求
- •可能需要目标 API 的认证凭证
- •Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "lpCfR0fpgqHfgTDW",
"meta": {
"instanceId": "885b4fb4a6a9c2cb5621429a7b972df0d05bb724c20ac7dac7171b62f1c7ef40",
"templateCredsSetupCompleted": true
},
"name": "使用 Bright Data 和 Google Gemini 提取名言",
"tags": [
{
"id": "ddPkw7Hg5dZhQu2w",
"name": "AI",
"createdAt": "2025-04-13T05:38:08.053Z",
"updatedAt": "2025-04-13T05:38:08.053Z"
}
],
"nodes": [
{
"id": "f24eddf0-1bbf-46fd-be31-a72019a92af3",
"name": "当点击\"测试工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-700,
-160
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d61df43f-b017-4beb-b83c-5d1d4043dc59",
"name": "设置字段",
"type": "n8n-nodes-base.set",
"position": [
-460,
-160
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "df8d8553-5db1-4d40-b602-abde5cbc8acb",
"name": "url",
"type": "string",
"value": "https://www.goodreads.com/quotes/tag/free"
},
{
"id": "e304247f-6ec9-4081-8245-3298af252c9a",
"name": "zone",
"type": "string",
"value": "web_unlocker1"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "0ecc04bf-cafa-4c99-9895-f94aa25fdedc",
"name": "Google Gemini 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
0,
20
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.0-flash-exp"
},
"credentials": {
"googlePalmApi": {
"id": "YeO7dHZnuGBVQKVZ",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "cf048d4e-34e7-4d8d-8d44-5845a2cb5578",
"name": "名言提取器",
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
"position": [
-20,
-160
],
"parameters": {
"text": "=Extract the quotes from {{ $json.data }}",
"options": {},
"schemaType": "manual",
"inputSchema": "{\n\t\"type\": \"array\",\n\t\"properties\": {\n\t\t\"quote\": {\n\t\t\t\"type\": \"string\"\n\t\t}\n\t}\n}"
},
"typeVersion": 1
},
{
"id": "4c7e58f4-3fae-42c6-96fb-d2d08f554077",
"name": "执行Bright Data Web请求",
"type": "n8n-nodes-base.httpRequest",
"position": [
-240,
-160
],
"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"
},
{
"name": "data_format",
"value": "markdown"
}
]
},
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "kdbqXuxIR8qIxF7y",
"name": "Header Auth account"
}
},
"typeVersion": 4.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "fcd551b3-a6b6-4689-bc32-afc3dcebff10",
"connections": {
"Set the fields": {
"main": [
[
{
"node": "Perform Bright Data Web Request",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "Quotes Extractor",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Perform Bright Data Web Request": {
"main": [
[
{
"node": "Quotes Extractor",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "Set the fields",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
初级 - 其他, 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
YouTube章节生成器
使用Gemini AI和YouTube Data API v3自动生成YouTube章节
Set
You Tube
Http Request
+6
13 节点irfan saeed
其他
使用Bright Data和Gemini AI提取并总结Wikipedia数据
使用Bright Data和Gemini AI提取和总结Wikipedia数据
Set
Http Request
Manual Trigger
+4
12 节点Ranjan Dailata
其他
为您的电子邮件生成可视化摘要和知识图谱洞察
为您的电子邮件生成可视化摘要和知识图谱洞察
If
Set
Code
+13
38 节点InfraNodus
其他
API架构提取器
API架构提取器
If
Set
Code
+22
88 节点Polina Medvedieva
工程
使用 Bright Data 抓取和 Google Gemini 自动化 Etsy 数据挖掘
使用 Bright Data 抓取和 Google Gemini 实现 Etsy 数据挖掘自动化
Set
Function
Split Out
+8
19 节点Ranjan Dailata
产品
使用 Bright Data、Gemini 和 Pinecone 为 LLM 创建 AI 就绪的向量数据集
使用 Bright Data、Gemini 和 Pinecone 为 LLM 创建 AI 就绪的向量数据集
Set
Http Request
Manual Trigger
+10
21 节点Ranjan Dailata
构建模块