Notion RSS 自动化部署指南
流程:每天通过 GitHub 定时任务,自动抓取 RSS 订阅源的文本和链接,保存到 Notion 数据库中,并通过飞书 Bot 发送摘要到群里。
一、Notion 配置
1.1 获取 NOTION_API_TOKEN
- 在浏览器登录 Notion 账号,打开 Template:https://broad-vermicelli-d06.notion.site/Feeder-Template-82681fa743838228b997812de01d27e3
- 点击 Duplicate 复制模板。
- 访问 https://www.notion.so/my-integrations 创建 Integration,获取
NOTION_API_TOKEN。 - 选择 Access 添加 Workspace。
- 设置 User Capabilities 为
Read user info without email address,保存。
1.2 获取 DATABASE_ID
- 打开复制的 Feeder-Template 中的 Reader,查看 URL 地址。格式为
https://www.notion.so/{database_id}?v={view_id}。 - 记录 Reader 和 Feeds 的 database_id(即
NOTION_READER_DATABASE_ID、NOTION_FEEDS_DATABASE_ID)。 - 在 Feeds 添加测试数据,例如 RSS:https://hnrss.org/frontpage。
二、飞书配置
2.1 创建群组
- 点击 + 选择创建群组。
- 勾选群模式为对话,输入群名称。
2.2 创建飞书机器人
- 进入 https://botbuilder.feishu.cn/home/my-app。
- 新建应用,填写应用名称和描述。
- 选择流程设计中的创建流程。
- 选择触发器 → 应用连接器中的 Webhook 触发。
- 参数信息填写 JSON 示例:
{"msg_type":"text","content":{"date":"2026-02-10","text":


