我的工作流
中级
这是一个Other, AI领域的自动化工作流,包含 15 个节点。主要使用 Set, EmailSend, McpClientTool, Agent, ScheduleTrigger 等节点,结合人工智能技术实现智能自动化。 使用Bright Data网络爬取和GPT-4.1生成个人新闻源
前置要求
- •OpenAI API Key
使用的节点 (15)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "f522bd3e82a9be5011b84c3deff84f2e93451434373759221902fe3a8467fd95"
},
"name": "我的工作流",
"tags": [],
"nodes": [
{
"id": "b52ee9e9-f809-4c42-bb5c-b27df72b4695",
"name": "当收到聊天消息时",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-60,
160
],
"webhookId": "a9025576-8ac0-47e2-ba4a-f3e433b7730e",
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "344b64aa-683b-43dd-9f10-2d3c67dae753",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
460,
20
],
"parameters": {
"options": {
"systemMessage": "You are an expert web scraping assistant with access to Bright Data's Web Unlocker API. This gives you the ability to execute a specific set of actions. When using tools, you must share across the exact name of the tool for it to be executed.\n\nFor example, \"Search Engine Scraping\" should be \"search_engine\""
}
},
"retryOnFail": true,
"typeVersion": 1.9
},
{
"id": "9c998783-2477-4131-a1e6-a7a8fa09229f",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
220,
220
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1",
"cachedResultName": "gpt-4.1"
},
"options": {}
},
"typeVersion": 1.2
},
{
"id": "bc8e349a-ab20-446c-9fbe-e6d46c9db60e",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
360,
200
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "e3d838ca-9a85-46cc-b2bd-664d12711ff1",
"name": "列出 MCP 工具",
"type": "n8n-nodes-mcp.mcpClientTool",
"position": [
480,
220
],
"parameters": {},
"credentials": {},
"typeVersion": 1
},
{
"id": "eec892f3-a008-4328-b0e0-914bf80068b5",
"name": "抓取 SERP 结果",
"type": "n8n-nodes-mcp.mcpClientTool",
"position": [
620,
200
],
"parameters": {},
"credentials": {},
"typeVersion": 1
},
{
"id": "9cf2ccee-fe17-4997-87f0-7686a3194e14",
"name": "抓取网页",
"type": "n8n-nodes-mcp.mcpClientTool",
"position": [
760,
220
],
"parameters": {},
"credentials": {},
"typeVersion": 1
},
{
"id": "a681c0f5-3dfe-43c1-88a8-4b9ccf348e50",
"name": "通过电子邮件发送自定义新闻通讯",
"type": "n8n-nodes-base.emailSend",
"position": [
820,
20
],
"webhookId": "4b12642c-ef49-4c1d-b4ed-15a959beb437",
"parameters": {
"html": "={{ $json.output }}",
"options": {},
"subject": "Today's Headlines",
"toEmail": "<email-you-are-sending-to@something.com>",
"fromEmail": "<your-from-email@something.com>"
},
"typeVersion": 2.1
},
{
"id": "2615c5b3-41fd-474b-8e7e-7b1d1ae31f35",
"name": "AI 新闻收集提示",
"type": "n8n-nodes-base.set",
"position": [
160,
-40
],
"parameters": {
"mode": "raw",
"options": {},
"jsonOutput": "{\n \"sessionId\": \"google\",\n \"chatInput\": \"get the latest news from https://www.brightdata.com/blog and https://www.theguardian.com/us with your scrape_as_markdown and Google News with your search engine tool to find the latest global headlines--pull actual headlines, not just the site description.\"\n}\n"
},
"typeVersion": 3.4
},
{
"id": "3ad29ec6-0b3a-437d-a386-4867bdc1197e",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
140,
-160
],
"parameters": {
"width": 150,
"height": 100,
"content": "为 GPT-4.1 注入 AI 新闻收集提示"
},
"typeVersion": 1
},
{
"id": "6475bd91-134b-47c6-805d-758f1569e132",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
180,
340
],
"parameters": {
"width": 150,
"height": 80,
"content": "使用你的 OpenAI 凭据连接"
},
"typeVersion": 1
},
{
"id": "8cb0c078-c891-45f8-98d3-5114d08bf887",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
800,
-80
],
"parameters": {
"width": 150,
"height": 80,
"content": "设置收件人和 SMTP 信息"
},
"typeVersion": 1
},
{
"id": "6f6f3497-2d26-4cd3-a442-b087f642a09f",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
500,
-100
],
"parameters": {
"width": 160,
"height": 100,
"content": "连接到 Bright Data 的 MCP 和你的带记忆的 GPT 模型"
},
"typeVersion": 1
},
{
"id": "8954f050-7a5e-4abe-a478-65092b726efe",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-60,
-40
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 9
}
]
}
},
"typeVersion": 1.2
},
{
"id": "adf00b09-e9fe-464f-bf76-cf34f4866760",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-80,
-140
],
"parameters": {
"width": 150,
"height": 80,
"content": "选择最适合你的时间间隔"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "",
"connections": {
"AI Agent": {
"main": [
[
{
"node": "Send the custom newsletter via email",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "AI news collection prompt",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"AI news collection prompt": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 其他, 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
BrightData每周对比
使用Bright Data、GPT-4.1和Google Workspace的自动化网站变更监控
If
Set
Code
+15
35 节点Daniel Shashko
人工智能
构建自定义n8n工作流MCP服务器
构建自定义n8n工作流MCP服务器
If
N8n
Set
+15
46 节点Jimleuk
其他
使用AI SQL代理查询n8n凭据
使用AI SQL代理查询n8n凭据
N8n
Set
Code
+7
13 节点Jimleuk
其他
🔥📈🤖 适用于n8n创作者排行榜的AI代理 - 查找热门工作流
🔥📈🤖 n8n创作者排行榜AI代理 - 查找热门工作流
Set
Sort
Limit
+15
43 节点Joseph LePage
其他
基于AI的MIS代理
基于AI的管理信息系统代理
If
Set
Code
+29
129 节点Kumar Shivam
客户支持
在Braze中更新现有邮件模板
使用AI为Instagram、Facebook、LinkedIn和X自动化社交媒体内容
Set
Gmail
Merge
+22
73 节点LukaszB
设计
工作流信息
难度等级
中级
节点数量15
分类2
节点类型9
作者
Daniel Shashko
@tomaxAI automation specialist and a marketing enthusiast. More than 6 years of experience in SEO/GEO. Senior SEO at Bright Data.
外部链接
在 n8n.io 查看 →
分享此工作流