科技新闻聚合器:The Verge和TechCrunch RSS到Notion,含GPT-4摘要
高级
这是一个Miscellaneous、AI Summarization、Multimodal AI领域的自动化工作流,包含 37 个节点。主要使用 If、Code、Html、Crypto、Notion 等节点。 科技新闻聚合器:The Verge和TechCrunch RSS到Notion,含GPT-4摘要
前置要求
- •Notion API Key
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
使用的节点 (37 个)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "5f3c5e6f777b2c7f976eff784f15d2e2501680193b55be3d2ceef10db21e51fb",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "df4944ab-b87c-4b95-a6d0-2f559b651459",
"name": "便签11",
"type": "n8n-nodes-base.stickyNote",
"position": [
1216,
-272
],
"parameters": {
"width": 166,
"height": 880,
"content": "## 清理数据"
},
"typeVersion": 1
},
{
"id": "b5afa888-60a1-4c0f-93e6-cb4bcf6dee34",
"name": "便签 10",
"type": "n8n-nodes-base.stickyNote",
"position": [
1792,
-160
],
"parameters": {
"color": 6,
"height": 944,
"content": "## 添加到Notion数据库页面"
},
"typeVersion": 1
},
{
"id": "deb6201c-6140-4754-9e9b-a32bee68955d",
"name": "便签9",
"type": "n8n-nodes-base.stickyNote",
"position": [
1440,
-320
],
"parameters": {
"width": 304,
"height": 1104,
"content": "## 使文章数量少于2000"
},
"typeVersion": 1
},
{
"id": "5b91b7db-9c43-434f-b23e-d11f1c76885d",
"name": "便签8",
"type": "n8n-nodes-base.stickyNote",
"position": [
992,
-336
],
"parameters": {
"width": 208,
"height": 912,
"content": "## 提取完整文章"
},
"typeVersion": 1
},
{
"id": "524f2861-f27e-452a-b601-fd16760e5822",
"name": "便签7",
"type": "n8n-nodes-base.stickyNote",
"position": [
768,
-352
],
"parameters": {
"width": 208,
"height": 912,
"content": "## 如果不存在则加载完整文章"
},
"typeVersion": 1
},
{
"id": "5aa06b85-5bb5-487c-a269-5c3162e582d7",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
544,
-336
],
"parameters": {
"width": 208,
"height": 896,
"content": "## 如果存在则跳过并返回循环"
},
"typeVersion": 1
},
{
"id": "4f158dea-d892-435d-8949-54d7e40ed3c1",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
304,
-320
],
"parameters": {
"width": 208,
"height": 944,
"content": "## 检查文章是否已存在"
},
"typeVersion": 1
},
{
"id": "f8de890e-d0e4-491e-bcc6-74dbe731ebfe",
"name": "便签 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-144,
304
],
"parameters": {
"width": 176,
"height": 192,
"content": "## 使用sha256"
},
"typeVersion": 1
},
{
"id": "5130f013-26ab-4459-92be-669edd23f1e0",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
64,
-32
],
"parameters": {
"width": 224,
"height": 752,
"content": "## 循环遍历文章"
},
"typeVersion": 1
},
{
"id": "b3d8032b-e19b-469c-928b-048c41154863",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-160,
-176
],
"parameters": {
"width": 208,
"height": 896,
"content": "## 从文章URL创建哈希以便消除重复项"
},
"typeVersion": 1
},
{
"id": "15ce99f9-3ef9-47e7-a4d1-e2c788523b87",
"name": "便签 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-352,
-48
],
"parameters": {
"width": 176,
"height": 768,
"content": "## 获取订阅源"
},
"typeVersion": 1
},
{
"id": "1c26f863-7550-4a74-b6e1-cd4f1ed5b39f",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-640,
-272
],
"parameters": {
"color": 6,
"width": 256,
"height": 1024,
"content": "## - 手动触发器用于测试"
},
"typeVersion": 1
},
{
"id": "849f8da3-e7ed-4f31-9cc7-257a3039fabc",
"name": "获取完成",
"type": "n8n-nodes-base.noOp",
"position": [
128,
288
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e0a59693-4981-46bd-a319-b58dd8d6f14e",
"name": "OpenAI 聊天模型1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1552,
640
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "UPa4nfYIMccI0da1",
"name": "n8n free OpenAI API credits"
}
},
"typeVersion": 1.2
},
{
"id": "55d525d4-4ca3-40bf-b58f-83a127a47f61",
"name": "基础LLM链1",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1472,
416
],
"parameters": {
"text": "={{ $json.fullArticle }}",
"batching": {},
"messages": {
"messageValues": [
{
"message": "=You are an assistant that summarizes long articles into clear, concise summaries.\n- Maximum length: 1500 characters (to fit Notion’s 2000 character limit).\n- Use plain text only (no links, no HTML, no markdown).\n- Focus on the main arguments, findings, or announcements.\n- Exclude minor details, filler text, and hyperlinks.\n- Write in a neutral, professional tone.\n- If the article is about products, events, or news, highlight only the most important updates.\n"
}
]
},
"promptType": "define"
},
"typeVersion": 1.7
},
{
"id": "ff3cc86d-e779-41a2-b10e-8f83578a8863",
"name": "创建数据库页面1",
"type": "n8n-nodes-base.notion",
"position": [
1824,
544
],
"parameters": {
"title": "={{ $('Crypto1').item.json.title }}",
"options": {},
"resource": "databasePage",
"databaseId": {
"__rl": true,
"mode": "list",
"value": "26f79f2b-1851-8054-a6af-e7106fc0ce40",
"cachedResultUrl": "https://www.notion.so/26f79f2b18518054a6afe7106fc0ce40",
"cachedResultName": "Tech & Startups rss feed"
},
"propertiesUi": {
"propertyValues": [
{
"key": "Summary|rich_text",
"textContent": "={{ $('Crypto1').item.json.content }}"
},
{
"key": "Date|date",
"date": "={{ $('Crypto1').item.json.isoDate }}"
},
{
"key": "Hash|rich_text",
"textContent": "={{ $('Crypto1').item.json.hash }}"
},
{
"key": "URL|url",
"urlValue": "={{ $('Crypto1').item.json.link }}"
},
{
"key": "Digest Status|status",
"statusValue": "Pending"
},
{
"key": "source|rich_text",
"textContent": "Tech Crunch"
},
{
"key": "Full Article|rich_text",
"textContent": "={{ $json.text }}"
}
]
}
},
"credentials": {
"notionApi": {
"id": "sRT9MWg4gspaOMaP",
"name": "Notion account"
}
},
"typeVersion": 2.2
},
{
"id": "6ed6299d-21ea-4a16-b2b5-fd4f8380125e",
"name": "JavaScript1 代码",
"type": "n8n-nodes-base.code",
"position": [
1248,
416
],
"parameters": {
"jsCode": "return [{\n fullArticle: $json[\"fullContent\"]\n .filter(p => p.trim() !== \"\") // remove empty <p>\n .map(p => p.replace(/\\[.*?\\]/g, \"\")) // remove [links]\n .map(p => p.replace(/\\s+/g, \" \").trim()) // clean spaces\n .join(\"\\n\\n\") // combine into full article\n}];\n"
},
"typeVersion": 2
},
{
"id": "555ca63c-5c6f-4d5a-8c0e-5f1f88e7e086",
"name": "HTML1",
"type": "n8n-nodes-base.html",
"position": [
1024,
416
],
"parameters": {
"options": {},
"operation": "extractHtmlContent",
"extractionValues": {
"values": [
{
"key": "fullContent",
"cssSelector": ".entry-content p",
"returnArray": true
}
]
}
},
"typeVersion": 1.2
},
{
"id": "601bfc14-e845-49e1-b049-510357ee0d79",
"name": "HTTP请求1",
"type": "n8n-nodes-base.httpRequest",
"position": [
800,
416
],
"parameters": {
"url": "={{ $('Crypto1').item.json.link }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "aaf7e61d-12b7-42a7-95cf-1a0953a11cd3",
"name": "获取多个数据库页面1",
"type": "n8n-nodes-base.notion",
"position": [
352,
416
],
"parameters": {
"filters": {
"conditions": [
{
"key": "Hash|rich_text",
"condition": "equals",
"richTextValue": "= {{ $json.hash }}"
}
]
},
"options": {},
"resource": "databasePage",
"matchType": "allFilters",
"operation": "getAll",
"databaseId": {
"__rl": true,
"mode": "list",
"value": "26f79f2b-1851-8054-a6af-e7106fc0ce40",
"cachedResultUrl": "https://www.notion.so/26f79f2b18518054a6afe7106fc0ce40",
"cachedResultName": "Tech & Startups rss feed"
},
"filterType": "manual"
},
"credentials": {
"notionApi": {
"id": "sRT9MWg4gspaOMaP",
"name": "Notion account"
}
},
"typeVersion": 2.2,
"alwaysOutputData": true
},
{
"id": "4afec59c-0115-40b8-a990-fa90aadaffe4",
"name": "条件判断1",
"type": "n8n-nodes-base.if",
"position": [
576,
416
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "236a9833-d8b9-46e2-b195-9592ff7b628d",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $item(\"0\").$node[\"Get many database pages1\"].json[\"id\"] }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "4b7f12ed-e010-4d11-b7b4-67883fc438b5",
"name": "遍历项目1循环",
"type": "n8n-nodes-base.splitInBatches",
"position": [
128,
544
],
"parameters": {
"options": {}
},
"typeVersion": 3
},
{
"id": "f7a564d3-a390-4230-8653-160fa378d14c",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1552,
16
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "UPa4nfYIMccI0da1",
"name": "n8n free OpenAI API credits"
}
},
"typeVersion": 1.2
},
{
"id": "4a48580e-bfb3-45a5-9d2a-dfc041f2e787",
"name": "基础LLM链",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1472,
-224
],
"parameters": {
"text": "={{ $json.fullArticle }}",
"batching": {},
"messages": {
"messageValues": [
{
"message": "=You are an assistant that summarizes long articles into clear, concise summaries.\n- Maximum length: 1500 characters (to fit Notion’s 2000 character limit).\n- Use plain text only (no links, no HTML, no markdown).\n- Focus on the main arguments, findings, or announcements.\n- Exclude minor details, filler text, and hyperlinks.\n- Write in a neutral, professional tone.\n- If the article is about products, events, or news, highlight only the most important updates.\n"
}
]
},
"promptType": "define"
},
"typeVersion": 1.7
},
{
"id": "d37ca62b-af54-4910-b48b-5c370160f083",
"name": "遍历项目",
"type": "n8n-nodes-base.splitInBatches",
"position": [
128,
48
],
"parameters": {
"options": {}
},
"typeVersion": 3
},
{
"id": "f8fcb2c0-c04e-425d-9828-5639fcd11330",
"name": "JavaScript 代码",
"type": "n8n-nodes-base.code",
"position": [
1248,
-224
],
"parameters": {
"jsCode": "return [{\n fullArticle: $json[\"fullContent\"]\n .filter(p => p.trim() !== \"\") // remove empty <p>\n .map(p => p.replace(/\\[.*?\\]/g, \"\")) // remove [links]\n .map(p => p.replace(/\\s+/g, \" \").trim()) // clean spaces\n .join(\"\\n\\n\") // combine into full article\n}];\n"
},
"typeVersion": 2
},
{
"id": "1fc4f636-ca95-4698-ab78-f65126859b75",
"name": "HTML",
"type": "n8n-nodes-base.html",
"position": [
1024,
-224
],
"parameters": {
"options": {},
"operation": "extractHtmlContent",
"extractionValues": {
"values": [
{
"key": "fullContent",
"cssSelector": ".duet--article--article-body-component p",
"returnArray": true
}
]
}
},
"typeVersion": 1.2
},
{
"id": "2cc6c5fe-097b-42ef-8f88-e13b7d02411e",
"name": "HTTP 请求",
"type": "n8n-nodes-base.httpRequest",
"position": [
800,
-224
],
"parameters": {
"url": "={{ $('Crypto').item.json.link }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "3f56078a-5e72-4d49-9249-ca7dc6448974",
"name": "获取多个数据库页面",
"type": "n8n-nodes-base.notion",
"position": [
352,
-224
],
"parameters": {
"filters": {
"conditions": [
{
"key": "Hash|rich_text",
"condition": "equals",
"richTextValue": "= {{ $json.hash }}"
}
]
},
"options": {},
"resource": "databasePage",
"matchType": "allFilters",
"operation": "getAll",
"databaseId": {
"__rl": true,
"mode": "list",
"value": "26f79f2b-1851-8054-a6af-e7106fc0ce40",
"cachedResultUrl": "https://www.notion.so/26f79f2b18518054a6afe7106fc0ce40",
"cachedResultName": "Tech & Startups rss feed"
},
"filterType": "manual"
},
"credentials": {
"notionApi": {
"id": "sRT9MWg4gspaOMaP",
"name": "Notion account"
}
},
"typeVersion": 2.2,
"alwaysOutputData": true
},
{
"id": "6c096a49-d105-4f6c-89fc-138e54a4e6ec",
"name": "条件判断",
"type": "n8n-nodes-base.if",
"position": [
576,
-224
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "236a9833-d8b9-46e2-b195-9592ff7b628d",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $item(\"0\").$node[\"Get many database pages\"].json[\"id\"] }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "37b5f641-6376-4ead-8f4b-d82317a01b76",
"name": "加密货币1",
"type": "n8n-nodes-base.crypto",
"position": [
-96,
544
],
"parameters": {
"type": "SHA256",
"value": "={{ $json.link }}",
"dataPropertyName": "hash"
},
"typeVersion": 1
},
{
"id": "3acd0ac9-5378-458a-902f-667a49b09d72",
"name": "加密货币",
"type": "n8n-nodes-base.crypto",
"position": [
-96,
48
],
"parameters": {
"type": "SHA256",
"value": "={{ $json.link }}",
"dataPropertyName": "hash"
},
"typeVersion": 1
},
{
"id": "622efac8-1f09-4236-94fc-5ac9e8f224a2",
"name": "创建数据库页面",
"type": "n8n-nodes-base.notion",
"position": [
1824,
-48
],
"parameters": {
"title": "={{ $('Crypto').item.json.title }}",
"options": {},
"resource": "databasePage",
"databaseId": {
"__rl": true,
"mode": "list",
"value": "26f79f2b-1851-8054-a6af-e7106fc0ce40",
"cachedResultUrl": "https://www.notion.so/26f79f2b18518054a6afe7106fc0ce40",
"cachedResultName": "Tech & Startups rss feed"
},
"propertiesUi": {
"propertyValues": [
{
"key": "Summary|rich_text",
"textContent": "={{ $('Crypto').item.json.summary }}"
},
{
"key": "Date|date",
"date": "={{ $('Crypto').item.json.isoDate }}"
},
{
"key": "Hash|rich_text",
"textContent": "={{ $('Crypto').item.json.hash }}"
},
{
"key": "URL|url",
"urlValue": "={{ $('Crypto').item.json.link }}"
},
{
"key": "Digest Status|status",
"statusValue": "Pending"
},
{
"key": "source|rich_text",
"textContent": "theVerge"
},
{
"key": "Full Article|rich_text",
"textContent": "={{ $json.text }}"
}
]
}
},
"credentials": {
"notionApi": {
"id": "sRT9MWg4gspaOMaP",
"name": "Notion account"
}
},
"typeVersion": 2.2
},
{
"id": "9c23267c-254f-4a73-9977-2f542c006c39",
"name": "TechCrunch",
"type": "n8n-nodes-base.rssFeedRead",
"position": [
-320,
544
],
"parameters": {
"url": "https://techcrunch.com/feed/",
"options": {}
},
"typeVersion": 1.2
},
{
"id": "b99de1ce-cb53-4e73-83dd-0cf9c135a6f3",
"name": "The Verge",
"type": "n8n-nodes-base.rssFeedRead",
"position": [
-320,
48
],
"parameters": {
"url": "https://www.theverge.com/rss/index.xml",
"options": {}
},
"typeVersion": 1.2
},
{
"id": "4e5090f1-eaa4-4dcd-b5ae-97576ee6f679",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"disabled": true,
"position": [
-544,
592
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 11
}
]
}
},
"typeVersion": 1.2
},
{
"id": "89d12591-384a-49f0-855d-83f12db8ba74",
"name": "当点击\"执行工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-544,
0
],
"parameters": {},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"If": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
],
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"If1": {
"main": [
[
{
"node": "Loop Over Items1",
"type": "main",
"index": 0
}
],
[
{
"node": "HTTP Request1",
"type": "main",
"index": 0
}
]
]
},
"HTML": {
"main": [
[
{
"node": "Code in JavaScript",
"type": "main",
"index": 0
}
]
]
},
"HTML1": {
"main": [
[
{
"node": "Code in JavaScript1",
"type": "main",
"index": 0
}
]
]
},
"Crypto": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Crypto1": {
"main": [
[
{
"node": "Loop Over Items1",
"type": "main",
"index": 0
}
]
]
},
"The Verge": {
"main": [
[
{
"node": "Crypto",
"type": "main",
"index": 0
}
]
]
},
"TechCrunch": {
"main": [
[
{
"node": "Crypto1",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "HTML",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request1": {
"main": [
[
{
"node": "HTML1",
"type": "main",
"index": 0
}
]
]
},
"Basic LLM Chain": {
"main": [
[
{
"node": "Create a database page",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "fetch finished",
"type": "main",
"index": 0
}
],
[
{
"node": "Get many database pages",
"type": "main",
"index": 0
}
]
]
},
"Basic LLM Chain1": {
"main": [
[
{
"node": "Create a database page1",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items1": {
"main": [
[
{
"node": "fetch finished",
"type": "main",
"index": 0
}
],
[
{
"node": "Get many database pages1",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "TechCrunch",
"type": "main",
"index": 0
},
{
"node": "The Verge",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Basic LLM Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Code in JavaScript": {
"main": [
[
{
"node": "Basic LLM Chain",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "Basic LLM Chain1",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Code in JavaScript1": {
"main": [
[
{
"node": "Basic LLM Chain1",
"type": "main",
"index": 0
}
]
]
},
"Create a database page": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Create a database page1": {
"main": [
[
{
"node": "Loop Over Items1",
"type": "main",
"index": 0
}
]
]
},
"Get many database pages": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Get many database pages1": {
"main": [
[
{
"node": "If1",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "The Verge",
"type": "main",
"index": 0
},
{
"node": "TechCrunch",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个高级难度的工作流,适用于Miscellaneous、AI Summarization、Multimodal AI等场景。适合高级用户,包含 16+ 个节点的复杂工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
新闻
使用Gemini AI总结RSS新闻并存储到Google Sheets
If
Set
Html
+12
22 节点Jayesh Kaithwas
AI Summarization
内容生成器 v3
AI驱动博客自动化:使用GPT-4生成并发布SEO文章至WordPress和Twitter
If
Set
Code
+25
144 节点Jay Emp0
Content Creation
每日 WhatsApp 群组智能分析:GPT-4.1 分析与语音消息转录
每日 WhatsApp 群组智能分析:GPT-4.1 分析与语音消息转录
If
Set
Code
+20
52 节点Daniel Lianes
Miscellaneous
使用Gemini AI视觉分析与Telegram警报监控X平台品牌提及
使用Gemini AI视觉分析与Telegram警报监控X平台品牌提及
If
Set
Code
+13
24 节点Atta
Miscellaneous
使用 GPT-4 和 Airtable 自动记录和备份工作流
使用 GPT-4 和 Airtable 自动记录和备份工作流
If
N8n
Set
+14
38 节点Guillaume Duvernay
AI Summarization
每日Gmail收件箱摘要转Discord(GPT-4.1-mini + PDF转换)
使用GPT-4.1-mini和PDF转换的每日Gmail收件箱摘要发送到Discord
Code
Gmail
Discord
+8
18 节点moosa
Miscellaneous