RSS到WhatsApp

高级

这是一个Other、AI领域的自动化工作流,包含 21 个节点。主要使用 Set、Limit、Merge、Filter、Aggregate 等节点,结合人工智能技术实现智能自动化。 每日新闻摘要:使用OpenAI汇总RSS源并发送到WhatsApp

前置要求
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key

分类

工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "xD6cGHJBF0QwUUc5",
  "meta": {
    "instanceId": "47132c409ea4cfc382a6c48656c8a35b5da4c1fa7ef892882b424c42ae8a05b2"
  },
  "name": "RSS - WhatsApp",
  "tags": [],
  "nodes": [
    {
      "id": "810a8040-2bfc-4125-9c5d-273e089a857c",
      "name": "过滤器",
      "type": "n8n-nodes-base.filter",
      "position": [
        2240,
        500
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "30d4f694-9378-42b4-b1d5-cbc38fb3e7fe",
              "operator": {
                "type": "dateTime",
                "operation": "after"
              },
              "leftValue": "={{ $json.pubDate }}",
              "rightValue": "={{ $today.minus({ days: 1 }) }}"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "ffe9e174-749f-4864-8402-629e5a850961",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        1820,
        420
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "e2ffe594-180d-4e1d-b869-8056ac67015d",
              "name": "title",
              "type": "string",
              "value": "={{ $json.title }}"
            },
            {
              "id": "87c5a171-9ab9-4043-a72a-32aec218fe63",
              "name": "pubDate",
              "type": "string",
              "value": "={{ $json.pubDate }}"
            },
            {
              "id": "978b05c9-6e6b-4a18-bc06-4de785b19413",
              "name": "conteudo",
              "type": "string",
              "value": "={{ $json['content:encoded'] }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "22d05f1c-7c65-4226-b842-e3a357994615",
      "name": "编辑字段1",
      "type": "n8n-nodes-base.set",
      "position": [
        1820,
        620
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "e2ffe594-180d-4e1d-b869-8056ac67015d",
              "name": "title",
              "type": "string",
              "value": "={{ $json.title }}"
            },
            {
              "id": "87c5a171-9ab9-4043-a72a-32aec218fe63",
              "name": "pubDate",
              "type": "string",
              "value": "={{ $json.pubDate }}"
            },
            {
              "id": "bae1b890-716b-442c-8714-b4ece09063d7",
              "name": "conteudo",
              "type": "string",
              "value": "={{ $json.contentSnippet }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "5ebcfd94-fa94-46cb-b4ff-a487af4520c2",
      "name": "编辑字段2",
      "type": "n8n-nodes-base.set",
      "position": [
        1820,
        840
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "e2ffe594-180d-4e1d-b869-8056ac67015d",
              "name": "title",
              "type": "string",
              "value": "={{ $json.title }}"
            },
            {
              "id": "87c5a171-9ab9-4043-a72a-32aec218fe63",
              "name": "pubDate",
              "type": "string",
              "value": "={{ $json.pubDate }}"
            },
            {
              "id": "978b05c9-6e6b-4a18-bc06-4de785b19413",
              "name": "conteudo",
              "type": "string",
              "value": "={{ $json.contentSnippet }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "5e2f2364-a0a0-4a93-99ec-d1c477c7e6bc",
      "name": "编辑字段3",
      "type": "n8n-nodes-base.set",
      "position": [
        1820,
        200
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "e2ffe594-180d-4e1d-b869-8056ac67015d",
              "name": "title",
              "type": "string",
              "value": "={{ $json.title }}"
            },
            {
              "id": "87c5a171-9ab9-4043-a72a-32aec218fe63",
              "name": "pubDate",
              "type": "string",
              "value": "={{ $json.pubDate }}"
            },
            {
              "id": "978b05c9-6e6b-4a18-bc06-4de785b19413",
              "name": "conteudo",
              "type": "string",
              "value": "={{ $json.content }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "a9600807-9562-4ddc-a830-b18b81daffe4",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        2040,
        480
      ],
      "parameters": {
        "numberInputs": 4
      },
      "typeVersion": 3.1
    },
    {
      "id": "39c8f94b-27ba-4676-9197-e87a493bcae6",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2820,
        500
      ],
      "parameters": {
        "text": "=I've received news articles via RSS. Please analyze them and provide a concise summary of the top 3 to 5 main highlights. My goal is to get a quick overview of what's most relevant in these articles.\n1.{{ $json.data[0].title }}{{ $json.data[0].conteudo }}\n2.{{ $json.data[1].title }}{{ $json.data[1].conteudo }}\n3.{{ $json.data[2].title }}{{ $json.data[2].conteudo }}\n4.{{ $json.data[3].title }}{{ $json.data[3].conteudo }}\n5.{{ $json.data[4].title }}{{ $json.data[4].conteudo }}\n6.{{ $json.data[5].title }}{{ $json.data[5].conteudo }}\n7.{{ $json.data[6].title }}{{ $json.data[6].conteudo }}\n8.{{ $json.data[7].title }}{{ $json.data[7].conteudo }}\n9.{{ $json.data[8].title }}{{ $json.data[8].conteudo }}\n10.{{ $json.data[9].title }}{{ $json.data[9].conteudo }}",
        "prompt": "define",
        "options": {},
        "resource": "assistant",
        "assistantId": {
          "__rl": true,
          "mode": "list",
          "value": "asst_7Miwcww78kuTtx5rVQ7m5Nnw",
          "cachedResultName": "Linkedin"
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "",
          "name": ""
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "2e096826-70ee-433c-b59b-477eec5c3905",
      "name": "限制",
      "type": "n8n-nodes-base.limit",
      "position": [
        2440,
        500
      ],
      "parameters": {
        "maxItems": 10
      },
      "typeVersion": 1
    },
    {
      "id": "2910734f-73c3-45c5-9470-5a08868cd66e",
      "name": "聚合",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2640,
        500
      ],
      "parameters": {
        "include": "specifiedFields",
        "options": {},
        "aggregate": "aggregateAllItemData",
        "fieldsToInclude": "title, pubDate, conteudo"
      },
      "typeVersion": 1
    },
    {
      "id": "fda99f10-0a33-49f3-a46b-37d61567e851",
      "name": "定时触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1260,
        520
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 3
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "1b0fa8c7-bfd8-4267-b9ac-eb3c90b2160d",
      "name": "无操作,不执行任何操作",
      "type": "n8n-nodes-base.noOp",
      "position": [
        3380,
        500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "08cf9756-8407-4b9f-826d-ce21272de911",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2380,
        680
      ],
      "parameters": {
        "content": "## 关于限制"
      },
      "typeVersion": 1
    },
    {
      "id": "a747f665-ff17-4972-bb40-28c8251520dd",
      "name": "我的 RSS 01",
      "type": "n8n-nodes-base.rssFeedRead",
      "onError": "continueRegularOutput",
      "position": [
        1600,
        200
      ],
      "parameters": {
        "url": "https://uxdesign.cc/feed",
        "options": {
          "ignoreSSL": false
        }
      },
      "typeVersion": 1.1,
      "alwaysOutputData": true
    },
    {
      "id": "ce492fd5-c8f9-4074-a080-56a55fc5074d",
      "name": "我的 RSS 02",
      "type": "n8n-nodes-base.rssFeedRead",
      "onError": "continueRegularOutput",
      "position": [
        1600,
        420
      ],
      "parameters": {
        "url": "https://www.technologyreview.com/topic/artificial-intelligence/feed/",
        "options": {}
      },
      "typeVersion": 1.1,
      "alwaysOutputData": true
    },
    {
      "id": "1418186b-ee9a-480b-93e6-6483014a3ddf",
      "name": "我的 RSS 03",
      "type": "n8n-nodes-base.rssFeedRead",
      "onError": "continueRegularOutput",
      "position": [
        1600,
        620
      ],
      "parameters": {
        "url": "https://the-decoder.com/feed/",
        "options": {}
      },
      "typeVersion": 1.1,
      "alwaysOutputData": true
    },
    {
      "id": "31da3f86-a150-4cd4-83bd-57bcb348f7c3",
      "name": "我的 RSS 04",
      "type": "n8n-nodes-base.rssFeedRead",
      "onError": "continueRegularOutput",
      "position": [
        1600,
        840
      ],
      "parameters": {
        "url": "https://www.theverge.com/rss/index.xml",
        "options": {
          "ignoreSSL": false
        }
      },
      "typeVersion": 1.1,
      "alwaysOutputData": true
    },
    {
      "id": "a2e2bf11-d56a-470f-b183-751ff5a2d7f9",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1540,
        1000
      ],
      "parameters": {
        "content": "## 关于 RSS"
      },
      "typeVersion": 1
    },
    {
      "id": "90ea767f-aa1f-4475-8378-85f9b34487eb",
      "name": "发送摘要到 WhatsApp",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3160,
        500
      ],
      "parameters": {
        "url": "yoururlapi.com",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "phone",
              "value": "=your phone number"
            },
            {
              "name": "message",
              "value": "={{ $json.output }}"
            }
          ]
        },
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "2CmkjW0hZ9FO0rd3",
          "name": "Header Zapi"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "55a91be7-2fe8-45ea-9ac5-51e90a9bb2c9",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3100,
        700
      ],
      "parameters": {
        "content": "## 关于摘要"
      },
      "typeVersion": 1
    },
    {
      "id": "16acc038-b6f3-4a7d-a2d9-415c4287532b",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1200,
        680
      ],
      "parameters": {
        "content": "## 关于触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "47783f2d-e603-4325-9031-09d3eefe9fcd",
      "name": "便签说明4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2820,
        700
      ],
      "parameters": {
        "content": "## 系统消息(如需可更改)"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "a24e6662-345a-4746-913d-104bfc17c63f",
  "connections": {
    "Limit": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter": {
      "main": [
        [
          {
            "node": "Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "main": [
        [
          {
            "node": "Send resum to  Whatsapp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "My RSS 01": {
      "main": [
        [
          {
            "node": "Edit Fields3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "My RSS 02": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "My RSS 03": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "My RSS 04": {
      "main": [
        [
          {
            "node": "Edit Fields2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Edit Fields2": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Edit Fields3": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "My RSS 01",
            "type": "main",
            "index": 0
          },
          {
            "node": "My RSS 02",
            "type": "main",
            "index": 0
          },
          {
            "node": "My RSS 03",
            "type": "main",
            "index": 0
          },
          {
            "node": "My RSS 04",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send resum to  Whatsapp": {
      "main": [
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

这是一个高级难度的工作流,适用于Other、AI等场景。适合高级用户,包含 16+ 个节点的复杂工作流

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量21
分类2
节点类型11
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
Danielle Gomes

Danielle Gomes

@daniellegomes

Product Designer | n8n Automation | Practical AI Solutions I turn ideas into smart digital experiences focused on efficiency and personalization. Specialized in building solutions that combine design, n8n workflows, and AI to scale products, optimize processes, and maximize impact.

外部链接
在 n8n.io 上查看 →

分享此工作流