| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 
 | {"name": "飞书多维表 & RSS 智能总结",
 "nodes": [
 {
 "parameters": {
 "resource": "bitable",
 "operation": "bitable:table:record:search",
 "app_toke": "EEqtbliicaf3qRsgGPFcAxUtn1c",
 "table_id": "tbldTrKw4NsMY7Ix",
 "body": "={\n  \"field_names\": [\n    \"feed_url\",\n    \"feed_desc\"\n  ],\n  \"filter\": {\n    \"conjunction\": \"and\",\n    \"conditions\": []\n  }\n}"
 },
 "type": "n8n-nodes-feishu-lite.feishuNode",
 "typeVersion": 1,
 "position": [
 260,
 770
 ],
 "id": "dca798dd-51ec-41c5-8691-20f7868ea9d0",
 "name": "读取多维表记录,获取 RSS 订阅列表",
 "credentials": {
 "feishuCredentialsApi": {
 "id": "9zcGg2DbgzaOg0HP",
 "name": "Feishu Credentials n8n"
 }
 }
 },
 {
 "parameters": {
 "batchSize": "={{ 1 }}",
 "options": {}
 },
 "type": "n8n-nodes-base.splitInBatches",
 "typeVersion": 3,
 "position": [
 700,
 770
 ],
 "id": "d7cf0429-fb00-4a18-b2c6-3733a32b24f6",
 "name": "Loop Over Items1",
 "alwaysOutputData": true,
 "retryOnFail": false,
 "waitBetweenTries": 5000,
 "onError": "continueRegularOutput"
 },
 {
 "parameters": {
 "model": {
 "__rl": true,
 "value": "qwen3-235b-a22b",
 "mode": "list",
 "cachedResultName": "qwen3-235b-a22b"
 },
 "options": {}
 },
 "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
 "typeVersion": 1.2,
 "position": [
 2020,
 740
 ],
 "id": "5f53e2c8-29d5-4a46-8e30-3bcec7c0563a",
 "name": "OpenAI Chat Model",
 "credentials": {
 "openAiApi": {
 "id": "7Eg9oNn5wpKXU7FP",
 "name": "Alibaba Qwen"
 }
 }
 },
 {
 "parameters": {
 "jsCode": "return $input.first().json.data.items;"
 },
 "type": "n8n-nodes-base.code",
 "typeVersion": 2,
 "position": [
 480,
 770
 ],
 "id": "77cb1f74-a1fb-4f6c-97f9-c2dd04da8379",
 "name": "提取所有订阅链接"
 },
 {
 "parameters": {
 "url": "={{ $json.fields.feed_url.link }}",
 "options": {}
 },
 "type": "n8n-nodes-base.rssFeedRead",
 "typeVersion": 1.2,
 "position": [
 920,
 520
 ],
 "id": "959e31f1-7d9d-4018-9b9d-a27154c69aac",
 "name": "获取 RSS 订阅发布的文章",
 "notesInFlow": true,
 "retryOnFail": true,
 "waitBetweenTries": 5000,
 "onError": "continueRegularOutput",
 "notes": "如何判断是否有最新的 RSS Feed"
 },
 {
 "parameters": {
 "resource": "bitable",
 "operation": "bitable:table:record:search",
 "app_toke": "EEqtbliicaf3qRsgGPFcAxUtn1c",
 "table_id": "tbln3Bh6A6CTtuzv",
 "body": "={\n  \"filter\": {\n    \"conjunction\": \"and\",\n    \"conditions\": []\n  }\n}"
 },
 "type": "n8n-nodes-feishu-lite.feishuNode",
 "typeVersion": 1,
 "position": [
 1360,
 520
 ],
 "id": "7667ee26-4686-4854-9489-924668af2e14",
 "name": "查询已经整理过的 RSS 文章",
 "credentials": {
 "feishuCredentialsApi": {
 "id": "9zcGg2DbgzaOg0HP",
 "name": "Feishu Credentials n8n"
 }
 }
 },
 {
 "parameters": {
 "jsCode": "\n// 默认认为第一篇即最新的一篇文章\nreturn {\n  \"feed_link\": $input.first().json.link,\n  \"title\": $input.first().json.title,\n  \"pub_date\": new Date($input.first().json.pubDate).getTime()\n};"
 },
 "type": "n8n-nodes-base.code",
 "typeVersion": 2,
 "position": [
 1140,
 520
 ],
 "id": "deed99e9-0a50-4a90-8013-12856c546116",
 "name": "获取最新发布的文章"
 },
 {
 "parameters": {
 "jsCode": "let urls = $input.first().json.data.items.map(item => item.fields.url.link)\n\nreturn [\n  {\n    json: {\n      sent_urs: urls,\n      send_url: $('获取最新发布的文章').first().json.feed_link,\n      title: $('获取最新发布的文章').first().json.title,\n      pub_date: $('获取最新发布的文章').first().json.pub_date\n    }\n  }\n];"
 },
 "type": "n8n-nodes-base.code",
 "typeVersion": 2,
 "position": [
 1580,
 520
 ],
 "id": "2b6078c2-95b9-491e-87c6-b79da64c657d",
 "name": "聚合代发送信息和已发送信息"
 },
 {
 "parameters": {
 "conditions": {
 "options": {
 "caseSensitive": true,
 "leftValue": "",
 "typeValidation": "strict",
 "version": 2
 },
 "conditions": [
 {
 "id": "c931be49-c9c9-42e8-a97a-2758e06cb519",
 "leftValue": "={{ $json.pub_date }}",
 "rightValue": "={{ Date.now() - 3 * 24 * 60 * 60 * 1000 }}",
 "operator": {
 "type": "number",
 "operation": "gt"
 }
 },
 {
 "id": "2e58720d-c671-4eda-b1b4-968556db1bc2",
 "leftValue": "={{ $json.sent_urs }}",
 "rightValue": "={{ $json.send_url }}",
 "operator": {
 "type": "array",
 "operation": "notContains",
 "rightType": "any"
 }
 }
 ],
 "combinator": "and"
 },
 "options": {}
 },
 "type": "n8n-nodes-base.if",
 "typeVersion": 2.2,
 "position": [
 1800,
 520
 ],
 "id": "7957932e-bc1a-4d2a-8c10-888452d45371",
 "name": "过滤最近 3 天发布 & 并且没有整理过的文章"
 },
 {
 "parameters": {
 "chatId": "-1002056221907",
 "text": "=<strong>{{ $('过滤最近 3 天发布 & 并且没有整理过的文章').item.json.title }}</strong>\n\n{{ $('过滤最近 3 天发布 & 并且没有整理过的文章').item.json.send_url }}\n\nSummary:\n\n{{ $json.output }}",
 "additionalFields": {
 "parse_mode": "HTML"
 }
 },
 "type": "n8n-nodes-base.telegram",
 "typeVersion": 1.2,
 "position": [
 2460,
 520
 ],
 "id": "196939c8-5d46-4a03-9a86-95f755ff34ea",
 "name": "发送最新文章到 TG 频道",
 "webhookId": "ea5f5231-946a-4847-ab40-73caeba82e38",
 "credentials": {
 "telegramApi": {
 "id": "ryEUflPWvRynMmig",
 "name": "Telegram account"
 }
 }
 },
 {
 "parameters": {
 "sseEndpoint": "https://mcp.api-inference.modelscope.net/521f5eb00f1d4d/sse"
 },
 "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
 "typeVersion": 1,
 "position": [
 2260,
 740
 ],
 "id": "3ed34103-cb9f-4edf-9ab8-0fb96535ba5b",
 "name": "fetch tool"
 },
 {
 "parameters": {
 "resource": "bitable",
 "operation": "bitable:table:record:add",
 "app_toke": "EEqtbliicaf3qRsgGPFcAxUtn1c",
 "table_id": "tbln3Bh6A6CTtuzv",
 "body": "={\n  \"fields\": {\n    \"title\": \"{{ $('过滤最近 3 天发布 & 并且没有整理过的文章').item.json.title }}\",\n    \"url\": {\n      \"link\": \"{{ $('过滤最近 3 天发布 & 并且没有整理过的文章').item.json.send_url }}\",\n      \"text\": \"{{ $('过滤最近 3 天发布 & 并且没有整理过的文章').item.json.send_url }}\"\n    },\n    \"pubDate\": {{ $('过滤最近 3 天发布 & 并且没有整理过的文章').item.json.pub_date }}\n  }\n}"
 },
 "type": "n8n-nodes-feishu-lite.feishuNode",
 "typeVersion": 1,
 "position": [
 2680,
 640
 ],
 "id": "42d2aca4-5570-4c3e-96d8-79b4d731f5eb",
 "name": "记录文章已经被整理",
 "credentials": {
 "feishuCredentialsApi": {
 "id": "9zcGg2DbgzaOg0HP",
 "name": "Feishu Credentials n8n"
 }
 }
 },
 {
 "parameters": {
 "rule": {
 "interval": [
 {
 "field": "hours"
 }
 ]
 }
 },
 "type": "n8n-nodes-base.scheduleTrigger",
 "typeVersion": 1.2,
 "position": [
 40,
 780
 ],
 "id": "1533c646-66e2-4db5-a33b-20e0a25f5969",
 "name": "Schedule Trigger"
 },
 {
 "parameters": {
 "promptType": "define",
 "text": "=要提炼的 url 如下:\n\n{{ $json.send_url }}\n",
 "options": {
 "systemMessage": "你是一个专业的内容总结助手,可以根据我提供给的 url 使用 fetch 工具获取 url 的网页内容,然后提炼出要点精华,并且要保证内容完整,不丢失文章信息。语言务必使用中文。最后输出的文本格式为 Telegram 支持的 HTML 格式,不要出现不支持的 HTML 标签。\n\n要求:使用 fetch 工具获取的网页内容要完整。最终总结输出格式不能出现 Telegram 不支持的 HTML 标签。\n\n在总结文章时,请遵循以下指南:\n1. 通读全文,理解文章的主旨和核心观点。\n2. 找出文章中的关键信息,如主要事件、重要数据、核心论点等。\n3. 用简洁明了的语言将关键信息组织起来,形成一篇连贯的总结。\n4. 避免包含文章中的细节和例子,除非它们对理解核心观点至关重要。\n5. 确保总结涵盖了文章的所有重要方面,不遗漏关键信息。\n\nTelegram 支持的 HTML 标签如下:\n<b>bold</b>, <strong>bold</strong>\n<i>italic</i>, <em>italic</em>\n<u>underline</u>, <ins>underline</ins>\n<s>strikethrough</s>, <strike>strikethrough</strike>, <del>strikethrough</del>\n<span class=\"tg-spoiler\">spoiler</span>, <tg-spoiler>spoiler</tg-spoiler>\n<b>bold <i>italic bold <s>italic bold strikethrough <span class=\"tg-spoiler\">italic bold strikethrough spoiler</span></s> <u>underline italic bold</u></i> bold</b>\n<a href=\"http://www.example.com/\">inline URL</a>\n<a href=\"tg://user?id=123456789\">inline mention of a user</a>\n<tg-emoji emoji-id=\"5368324170671202286\">👍</tg-emoji>\n<code>inline fixed-width code</code>\n<pre>pre-formatted fixed-width code block</pre>\n<pre><code class=\"language-python\">pre-formatted fixed-width code block written in the Python programming language</code></pre>\n<blockquote>Block quotation started\\nBlock quotation continued\\nThe last line of the block quotation</blockquote>\n<blockquote expandable>Expandable block quotation started\\nExpandable block quotation continued\\nExpandable block quotation continued\\nHidden by default part of the block quotation started\\nExpandable block quotation continued\\nThe last line of the block quotation</blockquote>\n\n严禁是使用 HTML 标签: <ul>、<li>、<br>、<p>"
 }
 },
 "type": "@n8n/n8n-nodes-langchain.agent",
 "typeVersion": 2,
 "position": [
 2060,
 520
 ],
 "id": "99c120dd-baec-469d-8315-709488188464",
 "name": "Summary AI Agent",
 "onError": "continueRegularOutput"
 }
 ],
 "pinData": {
 "Schedule Trigger": [
 {
 "json": {
 "timestamp": "2025-07-06T11:00:58.007-04:00",
 "Readable date": "July 6th 2025, 11:00:58 am",
 "Readable time": "11:00:58 am",
 "Day of week": "Sunday",
 "Year": "2025",
 "Month": "July",
 "Day of month": "06",
 "Hour": "11",
 "Minute": "00",
 "Second": "58",
 "Timezone": "America/New_York (UTC-04:00)"
 }
 }
 ]
 },
 "connections": {
 "Loop Over Items1": {
 "main": [
 [],
 [
 {
 "node": "获取 RSS 订阅发布的文章",
 "type": "main",
 "index": 0
 }
 ]
 ]
 },
 "OpenAI Chat Model": {
 "ai_languageModel": [
 [
 {
 "node": "Summary AI Agent",
 "type": "ai_languageModel",
 "index": 0
 }
 ]
 ]
 },
 "读取多维表记录,获取 RSS 订阅列表": {
 "main": [
 [
 {
 "node": "提取所有订阅链接",
 "type": "main",
 "index": 0
 }
 ]
 ]
 },
 "提取所有订阅链接": {
 "main": [
 [
 {
 "node": "Loop Over Items1",
 "type": "main",
 "index": 0
 }
 ]
 ]
 },
 "获取 RSS 订阅发布的文章": {
 "main": [
 [
 {
 "node": "获取最新发布的文章",
 "type": "main",
 "index": 0
 }
 ]
 ]
 },
 "查询已经整理过的 RSS 文章": {
 "main": [
 [
 {
 "node": "聚合代发送信息和已发送信息",
 "type": "main",
 "index": 0
 }
 ]
 ]
 },
 "获取最新发布的文章": {
 "main": [
 [
 {
 "node": "查询已经整理过的 RSS 文章",
 "type": "main",
 "index": 0
 }
 ]
 ]
 },
 "聚合代发送信息和已发送信息": {
 "main": [
 [
 {
 "node": "过滤最近 3 天发布 & 并且没有整理过的文章",
 "type": "main",
 "index": 0
 }
 ]
 ]
 },
 "过滤最近 3 天发布 & 并且没有整理过的文章": {
 "main": [
 [
 {
 "node": "Summary AI Agent",
 "type": "main",
 "index": 0
 }
 ],
 [
 {
 "node": "Loop Over Items1",
 "type": "main",
 "index": 0
 }
 ]
 ]
 },
 "发送最新文章到 TG 频道": {
 "main": [
 [
 {
 "node": "记录文章已经被整理",
 "type": "main",
 "index": 0
 }
 ]
 ]
 },
 "fetch tool": {
 "ai_tool": [
 [
 {
 "node": "Summary AI Agent",
 "type": "ai_tool",
 "index": 0
 }
 ]
 ]
 },
 "记录文章已经被整理": {
 "main": [
 [
 {
 "node": "Loop Over Items1",
 "type": "main",
 "index": 0
 }
 ]
 ]
 },
 "Schedule Trigger": {
 "main": [
 [
 {
 "node": "读取多维表记录,获取 RSS 订阅列表",
 "type": "main",
 "index": 0
 }
 ]
 ]
 },
 "Summary AI Agent": {
 "main": [
 [
 {
 "node": "发送最新文章到 TG 频道",
 "type": "main",
 "index": 0
 }
 ]
 ]
 }
 },
 "active": false,
 "settings": {
 "executionOrder": "v1"
 },
 "versionId": "bcb9ad0a-6964-473c-9b5e-c1d03e2fb850",
 "meta": {
 "templateId": "self-building-ai-agent",
 "templateCredsSetupCompleted": true,
 "instanceId": "1c9ed367917141e075921fdbc6cbe734bce9dde165b1e3a672c9dd236366be6c"
 },
 "id": "Sz06Yz8CTSIkC0ji",
 "tags": []
 }
 
 |