360 Secure SkillHub
360 安全技能中心

Wechat Mp To Notion

从微信公众号文章链接抓取 HTML,提取标题、作者、发布日期,将正文解析为可读文本块并尽量保留图片位置,在指定的 Notion 页面或数据库下新建页面;需要 NOTION_API_KEY,内容较长时分批追加。仅支持新建页面,不涉及更新或本地保存。

opoojkk
opoojkk
热度 43.22
最近更新 2026-05-11 17:35:43
分类:知识依赖:代码执行 / 第三方 API应用场景:笔记整理 / 研究 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add wechat-mp-to-notion
Metadata
name
wechat-mp-to-notion
description
Fetch WeChat public account (微信公众号) articles from mp.weixin.qq.com links and save them into Notion as structured pages. Use when the user wants to archive a 微信公众号 article to Notion, save a WeChat mp article into a Notion page/database, or convert a public WeChat article into a readable Notion document.

WeChat MP article → Notion

Save a public WeChat article into Notion.

What this skill does

  • Fetch article HTML from https://mp.weixin.qq.com/s/...
  • Extract title / author / publish date
  • Parse article body into readable text blocks
  • Preserve image positions with external image URLs where possible
  • Create a new Notion page under a target page or in a target database

Use

Run the script:

python3 /root/.openclaw/workspace/skills/wechat-mp-to-notion/scripts/save_wechat_mp_to_notion.py <wechat_url> <notion_parent_id> [--parent-type page|database]

Examples:

python3 /root/.openclaw/workspace/skills/wechat-mp-to-notion/scripts/save_wechat_mp_to_notion.py "https://mp.weixin.qq.com/s/xxxx" 32c51492e44780c48647f03febbc6c84
python3 /root/.openclaw/workspace/skills/wechat-mp-to-notion/scripts/save_wechat_mp_to_notion.py "https://mp.weixin.qq.com/s/xxxx" c5f3656c2e8741e88f53a00faf66355e --parent-type database

Notes

  • Require NOTION_API_KEY
  • The target Notion page/database must be shared with the openclaw integration
  • Prefer page parent when archiving long-form articles
  • Prefer database parent when the user explicitly wants one row per article
  • If the article is very long, the script chunks content into multiple append requests