RSS源新闻处理与分发工作流
中级
这是一个Marketing领域的自动化工作流,包含 15 个节点。主要使用 Set, Code, Sort, Gmail, Limit 等节点。 RSS源新闻处理与分发工作流
前置要求
- •Google 账号和 Gmail API 凭证
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "AjD7Xo4vjbBvBb93",
"meta": {
"instanceId": "172d50be57a0a76a25e8cdb8e29b27309a5342fa93c6c159fcaa693db9d4d218"
},
"tags": [
{
"id": "XrsuA1YXyGXhbMOC",
"name": "Pollup Automation",
"createdAt": "2024-12-26T13:41:03.811Z",
"updatedAt": "2024-12-26T13:41:03.811Z"
}
],
"nodes": [
{
"id": "446b17f4-2e1f-4155-8b36-1c063f738176",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-420,
0
],
"parameters": {
"rule": {
"interval": [
{
"field": "weeks",
"triggerAtDay": [
1
],
"triggerAtHour": 7
}
]
}
},
"typeVersion": 1.2
},
{
"id": "51cfb529-c09e-4afc-8279-67145317bfb7",
"name": "RSS 阅读测试目录",
"type": "n8n-nodes-base.rssFeedRead",
"position": [
-100,
160
],
"parameters": {
"url": "https://www.testingcatalog.com/rss/",
"options": {
"ignoreSSL": true
}
},
"typeVersion": 1.1
},
{
"id": "2b6dc055-6877-4070-9fb3-4547ecf5ca15",
"name": "转换日期",
"type": "n8n-nodes-base.set",
"position": [
400,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "9aec0a09-4b6f-4fca-98e6-789abd5fdc51",
"name": "title",
"type": "string",
"value": "={{ $json.title }}"
},
{
"id": "56277e54-31a0-4804-ad23-c9ee6d244641",
"name": "content",
"type": "string",
"value": "={{ $json.contentSnippet }}"
},
{
"id": "a3586a80-588e-42d1-9780-370a956ddf6b",
"name": "link",
"type": "string",
"value": "={{ $json.link }}"
},
{
"id": "58f01618-8014-4685-9192-d15d596ffcd9",
"name": "isoDate",
"type": "number",
"value": "={{ new Date($json.isoDate).getTime() }}"
},
{
"id": "716bb078-8df3-4d96-8a1b-4aec4f8cf206",
"name": "categories",
"type": "array",
"value": "={{ $json.categories }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "d66d19c6-96f1-4ae5-8295-de65809ba517",
"name": "按日期过滤(超过 7 天)",
"type": "n8n-nodes-base.filter",
"position": [
620,
0
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "e7cf09fb-af35-495d-a840-341f8d0ddcd8",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $json.isoDate }}",
"rightValue": "={{ Date.now() - 7 * 24 * 60 * 60 * 1000 }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "a5d651b8-6c66-40c9-9d56-84b7265bdef8",
"name": "按日期排序",
"type": "n8n-nodes-base.sort",
"position": [
840,
0
],
"parameters": {
"options": {},
"sortFieldsUi": {
"sortField": [
{
"order": "descending",
"fieldName": "isoDate"
}
]
}
},
"typeVersion": 1
},
{
"id": "ba15be96-5173-4ea5-9792-b52af467ba16",
"name": "限制新闻数量为 x",
"type": "n8n-nodes-base.limit",
"position": [
1060,
0
],
"parameters": {
"maxItems": 10
},
"typeVersion": 1
},
{
"id": "f290a6c6-7135-4eaf-83dc-03eab6073e93",
"name": "将新闻转换为 MD",
"type": "n8n-nodes-base.code",
"position": [
1280,
0
],
"parameters": {
"jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\nlet ret = \"\"\nfor (const item of $input.all()) {\n ret = ret + '- [' + item.json.title + '](' + item.json.link + ' \"\"): \\n' + item.json.content + \"\\n\\n\"\n}\n\nreturn {data: ret}"
},
"typeVersion": 2
},
{
"id": "4ecc9388-504b-450c-b79c-ca455dd38afb",
"name": "发布评论",
"type": "n8n-nodes-base.trello",
"position": [
1480,
0
],
"parameters": {
"text": "={{ $json.data }}",
"cardId": {
"__rl": true,
"mode": "id",
"value": "dFtYLRXv"
},
"resource": "cardComment"
},
"credentials": {
"trelloApi": {
"id": "44ijLUdXcqQSGDs3",
"name": "Trello account"
}
},
"typeVersion": 1
},
{
"id": "96a42e03-0114-4098-9645-ce5bc29544e7",
"name": "发送修订邮件",
"type": "n8n-nodes-base.gmail",
"position": [
1700,
0
],
"webhookId": "8afe9499-f75c-4bd2-91cc-1d581133cc5a",
"parameters": {
"sendTo": "thomas@pollup.net",
"message": "The Trello comment for https://trello.com/c/dFtYLRXv has been update. \nPlease check.",
"options": {},
"subject": "Update for Trello done",
"emailType": "text"
},
"credentials": {
"gmailOAuth2": {
"id": "Q3VYwvyoywYrkHOI",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "d2199794-61c9-4e62-9a7a-e71733ed01a8",
"name": "合并",
"type": "n8n-nodes-base.merge",
"position": [
180,
0
],
"parameters": {
"numberInputs": 3
},
"typeVersion": 3
},
{
"id": "d8f1413b-6d29-4d11-a9cc-cf42ac1dca6d",
"name": "RSS 阅读 marktechpost",
"type": "n8n-nodes-base.rssFeedRead",
"position": [
-100,
0
],
"parameters": {
"url": "https://www.marktechpost.com/feed/",
"options": {}
},
"typeVersion": 1.1
},
{
"id": "9a165edb-6e92-41ff-8f8a-af1bfab92d86",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-180,
-280
],
"parameters": {
"color": 4,
"width": 500,
"height": 620,
"content": "## RSS 源"
},
"typeVersion": 1
},
{
"id": "780c4737-1776-4340-b23d-bd2a52ee9f96",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
-160
],
"parameters": {
"color": 5,
"width": 640,
"height": 360,
"content": "## 新闻的时效性和数量"
},
"typeVersion": 1
},
{
"id": "36819879-d53e-4730-ae0e-bd0a105d54fb",
"name": "RSS 读取",
"type": "n8n-nodes-base.rssFeedRead",
"position": [
-100,
-160
],
"parameters": {
"url": "https://www.artificial-intelligence.blog/ai-news?format=rss",
"options": {}
},
"typeVersion": 1.1
},
{
"id": "2b089f64-5bbb-4357-86f7-21cea7cb8e60",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-980,
-780
],
"parameters": {
"color": 7,
"width": 500,
"height": 1120,
"content": "## RSS 源新闻处理与分发工作流"
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "14af0ee8-487d-426a-9674-b49d5b34512d",
"connections": {
"Merge": {
"main": [
[
{
"node": "Transform date",
"type": "main",
"index": 0
}
]
]
},
"RSS Read": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Sort by date": {
"main": [
[
{
"node": "Limit news to x",
"type": "main",
"index": 0
}
]
]
},
"Transform date": {
"main": [
[
{
"node": "Filter by date (more than 7 days)",
"type": "main",
"index": 0
}
]
]
},
"Limit news to x": {
"main": [
[
{
"node": "Transform new to MD",
"type": "main",
"index": 0
}
]
]
},
"Publish comment": {
"main": [
[
{
"node": "Send revision email",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "RSS Read Testing Catalog",
"type": "main",
"index": 0
},
{
"node": "RSS Read marktechpost",
"type": "main",
"index": 0
},
{
"node": "RSS Read",
"type": "main",
"index": 0
}
]
]
},
"Send revision email": {
"main": [
[]
]
},
"Transform new to MD": {
"main": [
[
{
"node": "Publish comment",
"type": "main",
"index": 0
}
]
]
},
"RSS Read marktechpost": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"RSS Read Testing Catalog": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 2
}
]
]
},
"Filter by date (more than 7 days)": {
"main": [
[
{
"node": "Sort by date",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用AI处理LinkedIn的RSS
使用Gemini AI和RSS源自动化LinkedIn新闻发布
If
Set
Code
+14
43 节点Club de Inteligencia Artificial Politécnico CIAP
人工智能
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
使用GPT-4o、WordPress和LinkedIn发布自动化RSS内容到博客文章
使用GPT-4o、WordPress和LinkedIn发布自动化RSS内容到博客文章
If
Set
Code
+21
40 节点Immanuel
人工智能
系列高清Olimpo与TorrentLand
合并筛选多个RSS源并发送至Telegram
Set
Code
Sort
+6
13 节点Sherlockes
营销
您喜爱频道的高级YouTube RSS Feed伙伴
通过RSS源监控喜爱的YouTube频道并接收通知
Set
Code
Gmail
+13
41 节点Joseph LePage
其他
使用 Browserflow 和 Google Sheets 自动化 LinkedIn 请求与破冰消息
使用 Browserflow 和 Google Sheets 自动化 LinkedIn 请求与破冰消息
If
Set
Sort
+15
44 节点PollupAI
销售
工作流信息
难度等级
中级
节点数量15
分类1
节点类型11
作者
PollupAI
@zeerobugWe create bespoke AI solutions, automations and agents that help your business as it scales.
外部链接
在 n8n.io 查看 →
分享此工作流