npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@songlipeng2003/n8n-nodes-feishu

v0.4.9

Published

feishu node

Readme

@songlipeng2003/n8n-nodes-feishu

本仓库由 songlipeng2003 维护,基于 other-blowsnow/n8n-nodes-feishu-lite 的开源项目,保留原项目作者署名及 MIT 许可证。

本分支增加飞书自定义机器人 Webhook 推送,支持文本、富文本、图片、群名片、交互卡片、原始 JSON 请求体及可选签名校验。使用时选择“自定义机器人 Webhook 凭证”,然后选择“消息”下的“机器人推送”。

使用案例

{"nodes":[{"parameters":{},"type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[-416,-80],"id":"9d7cfc7b-0024-4429-8dce-de3fa1b26a6b","name":"When clicking ‘Execute workflow’"},{"parameters":{"content":"## 多维表格案例\nhttps://fcnqopx0ag6g.feishu.cn/wiki/Rk1zwCGVfiLtA3kCachctbP5nDg?table=tblpGxqhn5BO62xz&view=vewYdM93ZT","height":464,"width":1216},"type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[-480,-176],"id":"5516e8b5-d847-423d-8a89-607264614e5a","name":"Sticky Note"},{"parameters":{"resource":"bitable","operation":"bitable:parseUrl","url":"https://fcnqopx0ag6g.feishu.cn/wiki/Rk1zwCGVfiLtA3kCachctbP5nDg?table=tblpGxqhn5BO62xz&view=vewYdM93ZT"},"type":"CUSTOM.feishuNode","typeVersion":1,"position":[-160,-80],"id":"12a938d8-bb43-4527-8804-951d9ef3fcd4","name":"解析多维表格地址","credentials":{"feishuCredentialsApi":{"id":"A4fAXv0HVBTUPQ0t","name":"Feishu Credentials account"}}},{"parameters":{"resource":"bitable","operation":"bitable:table:record:delete","app_toke":"={{ $('解析多维表格地址').item.json.app_token }}","table_id":"={{ $('解析多维表格地址').item.json.table_id }}","record_id":"={{ $json.data.record.record_id }}"},"type":"CUSTOM.feishuNode","typeVersion":1,"position":[416,-80],"id":"5b07b57b-9935-4948-85b7-97be9b3a2bcb","name":"删除记录","credentials":{"feishuCredentialsApi":{"id":"A4fAXv0HVBTUPQ0t","name":"Feishu Credentials account"}}},{"parameters":{"resource":"bitable","operation":"bitable:table:record:add","app_toke":"={{ $json.app_token }}","table_id":"={{ $json.table_id }}","body":"{\"fields\":{\n  \"名称\": \"测试\"\n}}"},"type":"CUSTOM.feishuNode","typeVersion":1,"position":[112,-80],"id":"2a9a5ad0-cfb7-4a32-a29f-865ae68f7d17","name":"新增记录","credentials":{"feishuCredentialsApi":{"id":"A4fAXv0HVBTUPQ0t","name":"Feishu Credentials account"}}},{"parameters":{"content":"## 电子表格\n正常地址:https://sample.feishu.cn/sheets/Iow7sNNEphp3WbtnbCscPqabcef,  电子表格 Token: Iow7sNNEphp3WbtnbCscPqabcef \n对于知识库中的电子表格,你需调用获取知识空间节点信息接口来获取电子表格的 obj_token\nhttps://fcnqopx0ag6g.feishu.cn/wiki/G1DtwKCE7iV3mrk6ThocuO5PnEh, 知识空间 token: G1DtwKCE7iV3mrk6ThocuO5PnEh ","height":432,"width":1216},"type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[-480,320],"id":"1a99e5a4-91ee-49e4-9c18-87ba6b060838","name":"Sticky Note1"},{"parameters":{"resource":"wiki_spaces","operation":"wiki:spaces:node:info","token":"G1DtwKCE7iV3mrk6ThocuO5PnEh"},"type":"CUSTOM.feishuNode","typeVersion":1,"position":[-160,464],"id":"130eefeb-b7d1-4e03-a049-c057afcea1d8","name":"获取知识空间节点信息","credentials":{"feishuCredentialsApi":{"id":"A4fAXv0HVBTUPQ0t","name":"Feishu Credentials account"}}},{"parameters":{"resource":"spreadsheet","operation":"spreadsheet:getInfo","spreadsheet_toke":"={{ $json.data.node.obj_token }}"},"type":"CUSTOM.feishuNode","typeVersion":1,"position":[16,464],"id":"2d13d142-483a-4b7d-ae96-288e3089bc62","name":"获取电子表格信息","credentials":{"feishuCredentialsApi":{"id":"A4fAXv0HVBTUPQ0t","name":"Feishu Credentials account"}}},{"parameters":{"resource":"spreadsheet","operation":"spreadsheet:getSheets","spreadsheetToke":"={{ $json.data.spreadsheet.token }}"},"type":"CUSTOM.feishuNode","typeVersion":1,"position":[192,464],"id":"a7c51add-91c9-4b76-b872-2eb070852f31","name":"获取工作表","credentials":{"feishuCredentialsApi":{"id":"A4fAXv0HVBTUPQ0t","name":"Feishu Credentials account"}}},{"parameters":{"resource":"spreadsheet","operation":"spreadsheet:valuesRead","spreadsheetToke":"={{ $json.data.spreadsheetToken }}","range":"={{ $json.data.updatedRange }}"},"type":"CUSTOM.feishuNode","typeVersion":1,"position":[512,464],"id":"bc344ecf-6897-4897-8932-27cd805a32a8","name":"读取数据","credentials":{"feishuCredentialsApi":{"id":"A4fAXv0HVBTUPQ0t","name":"Feishu Credentials account"}}},{"parameters":{"resource":"spreadsheet","operation":"spreadsheet:valuesAutoWrite","spreadsheetToke":"={{ $('获取电子表格信息').item.json.data.spreadsheet.token }}","sheetId":"={{ $json.data.sheets[0].sheet_id }}","values":"[\n    [\n        \"表头1\",\n        \"表头2\"\n    ],\n    [\n        \"数据1\",\n        1\n    ],\n    [\n        \"World\",\n        1\n    ]\n]"},"type":"CUSTOM.feishuNode","typeVersion":1,"position":[352,464],"id":"67495778-0960-4447-aaab-b62f184a5a2d","name":"简易写入数据","credentials":{"feishuCredentialsApi":{"id":"A4fAXv0HVBTUPQ0t","name":"Feishu Credentials account"}}},{"parameters":{"content":"## 错误code查询\nhttps://open.feishu.cn/search\n## 权限注意\n使用应用token需要在文档里面把应用添加进去,右上角···->更多->添加文档应用->搜索你创建的应用","height":144,"width":1232},"type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[-480,-336],"id":"2ed51265-a157-4fcc-9d67-c080072c61c4","name":"Sticky Note2","disabled":true},{"parameters":{"resource":"spreadsheet","operation":"spreadsheet:valuesWrite","spreadsheetToke":"={{ $('获取电子表格信息').item.json.data.spreadsheet.token }}","range":"={{ $json.data.sheets[0].sheet_id }}!A4:B5","values":"[\n  [\n        \"第四行1\",\n        \"第四行2\"\n    ],\n   [\n        \"第五行1\",\n        \"第五行2\"\n    ]\n]"},"type":"CUSTOM.feishuNode","typeVersion":1,"position":[352,608],"id":"98de9abc-8797-47d3-be95-646106344295","name":"写入数据","credentials":{"feishuCredentialsApi":{"id":"A4fAXv0HVBTUPQ0t","name":"Feishu Credentials account"}}},{"parameters":{"content":"## 授权请求","height":208,"width":1216},"type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[-480,768],"id":"d25cd6a5-74eb-4bb1-a251-1bb3197a908f","name":"Sticky Note3"},{"parameters":{"url":"https://open.feishu.cn/open-apis/bot/v3/info","authentication":"predefinedCredentialType","nodeCredentialType":"feishuCredentialsApi","options":{}},"type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[-160,800],"id":"4a8e14be-927d-4ae6-bccc-f49ca2b39688","name":"测试授权","credentials":{"feishuCredentialsApi":{"id":"A4fAXv0HVBTUPQ0t","name":"Feishu Credentials account"}}},{"parameters":{"resource":"bitable","operation":"bitable:parseUrl","url":"https://fcnqopx0ag6g.feishu.cn/wiki/Rk1zwCGVfiLtA3kCachctbP5nDg?table=tblpGxqhn5BO62xz&view=vewYdM93ZT"},"type":"CUSTOM.feishuNode","typeVersion":1,"position":[-160,112],"id":"8956ab91-4f1c-4f29-a890-577a465c6e9f","name":"解析多维表格地址1","credentials":{"feishuCredentialsApi":{"id":"A4fAXv0HVBTUPQ0t","name":"Feishu Credentials account"}}},{"parameters":{"resource":"other","operation":"other:aggregate:copyDataTableToBitable","app_toke":"={{ $('解析多维表格地址1').item.json.app_token }}","table_id":"={{ $('解析多维表格地址1').item.json.table_id }}","autoMapping":false,"fields":{"values":[{"field":"createdAt","feishuField":"测试A"},{"field":"updatedAt","feishuField":"测试B"}]}},"type":"CUSTOM.feishuNode","typeVersion":1,"position":[416,112],"id":"66bfece7-4ad8-47b4-ad03-0184dc5ff1ae","name":"导出多维表格","credentials":{"feishuCredentialsApi":{"id":"A4fAXv0HVBTUPQ0t","name":"Feishu Credentials account"}}},{"parameters":{"operation":"get","dataTableId":{"__rl":true,"value":"RwRcfTbNnY3cX15x","mode":"list","cachedResultName":"test","cachedResultUrl":"/projects/UdBTIh6UQ5IafQux/datatables/RwRcfTbNnY3cX15x"}},"type":"n8n-nodes-base.dataTable","typeVersion":1,"position":[128,112],"id":"cb79305e-0dac-46fb-9b13-ab2b731ad160","name":"获取datatable数据"}],"connections":{"When clicking ‘Execute workflow’":{"main":[[{"node":"解析多维表格地址","type":"main","index":0},{"node":"获取知识空间节点信息","type":"main","index":0},{"node":"测试授权","type":"main","index":0},{"node":"解析多维表格地址1","type":"main","index":0}]]},"解析多维表格地址":{"main":[[{"node":"新增记录","type":"main","index":0}]]},"新增记录":{"main":[[{"node":"删除记录","type":"main","index":0}]]},"获取知识空间节点信息":{"main":[[{"node":"获取电子表格信息","type":"main","index":0}]]},"获取电子表格信息":{"main":[[{"node":"获取工作表","type":"main","index":0}]]},"获取工作表":{"main":[[{"node":"简易写入数据","type":"main","index":0},{"node":"写入数据","type":"main","index":0}]]},"简易写入数据":{"main":[[{"node":"读取数据","type":"main","index":0}]]},"解析多维表格地址1":{"main":[[{"node":"获取datatable数据","type":"main","index":0}]]},"获取datatable数据":{"main":[[{"node":"导出多维表格","type":"main","index":0}]]}},"pinData":{},"meta":{"templateCredsSetupCompleted":true,"instanceId":"02b4f549b31e5afb7ac0434f27e8e1e51494096eb26622aff0d1c16686021c54"}}

安装教程

参考:https://docs.n8n.io/integrations/community-nodes/installation/ 节点名称:@songlipeng2003/n8n-nodes-feishu

这是个人维护分支的独立 npm 包,不会更新原作者的 n8n-nodes-feishu-lite 包。请勿同时安装两个包含相同节点和凭证名称的包;迁移前请备份工作流和凭证。

从旧包迁移

从 0.4.8 起,个人维护分支的 npm 包名由 @songlipeng2003/n8n-nodes-feishu-lite 调整为 @songlipeng2003/n8n-nodes-feishu。GitHub 仓库为 songlipeng2003/n8n-nodes-feishu,旧 npm 包及其已发布版本保留不动。

在 n8n 的社区节点设置中使用新包名 @songlipeng2003/n8n-nodes-feishu 安装。请先备份工作流和凭证,再移除旧包并安装新包,不要同时安装两个包。节点及凭证的内部名称和功能不变,但已有工作流中的完整节点类型可能包含旧包名前缀,迁移后应检查并重新选择对应节点。

自动发布到 npm

流水线文件:.github/workflows/publish-npm.yml。推送 v<版本号> tag 时,流水线会校验 tag 与 package.json 一致,安装锁定依赖、运行发布保护测试、编译和 ESLint 校验,再将同一个打包产物发布到 npm,并生成 provenance。稳定版发布到 latest,预发布版本(如 v0.4.7-beta.1)发布到 next。校验或构建失败时不会发布。

首次启用(仅一次)

  1. npm 包名必须属于你有权限的账号。本仓库使用 @songlipeng2003/n8n-nodes-feishu,与上游包独立。
  2. 新包必须先通过已登录的 npm 账号执行一次 npm publish --access public,完成首次创建。 若 npm 返回双因素验证相关的 403,需要在本机终端使用 --otp 参数完成验证;不要将一次性验证码或 Token 发到聊天、写入工作流或提交到仓库。
  3. 在 npm 包设置的 Trusted publishing 中添加 GitHub Actions,填写:
    • Organization or user:songlipeng2003
    • Repository:n8n-nodes-feishu
    • Workflow filename:publish-npm.yml(不要填写完整路径)
    • Environment name:留空
    • 允许直接执行 npm publish
  4. 也可以使用 npm 11.15.0 或更高版本配置(需完成 npm 的交互式双因素验证):
npm trust github @songlipeng2003/n8n-nodes-feishu \
  --repo songlipeng2003/n8n-nodes-feishu \
  --file publish-npm.yml --allow-publish --yes

流水线使用 GitHub OIDC,不需要配置 NPM_TOKEN。npm 登录不等于已经配置好 Trusted publishing;未完成以上步骤时,自动发布会因权限不足失败。

后续发布

提交代码和版本号后,再推送与版本号一致的 tag。完成新包的首次发布和 Trusted Publisher 配置后,后续补丁版本可以这样发布:

npm version patch --no-git-tag-version
# 更新 CHANGELOG.md 后一起提交
git add package.json CHANGELOG.md
git commit -m "chore(release): prepare next version"
git push origin master
tag="v$(node -p 'require("./package.json").version')"
git tag "$tag"
git push origin "$tag"

不要重复发布已存在的 npm 版本;npm 版本不可覆盖。只创建本地 tag 不会触发流水线,必须推送到 GitHub。可先在 GitHub Actions 中手动运行 Publish to npm:手动运行只构建、检查并上传打包产物,不会发布。

功能

知识库

  • 获取知识空间列表
  • 获取知识空间信息
  • 更新知识空间设置
  • 删除知识空间成员
  • 获取知识空间成员列表
  • 添加知识空间成员
  • 更新知识空间节点标题
  • 移动知识空间节点
  • 获取知识空间节点信息
  • 获取知识空间子节点列表
  • 创建知识空间节点
  • 创建知识空间节点副本

通讯录

  • 获取用户信息
  • 通过手机号或邮箱获取用户 ID

任务

  • 更新任务
  • 获取任务详情
  • 删除任务
  • 创建任务
  • 移除任务成员
  • 添加任务成员

电子表格

  • 修改电子表格属性
  • 获取电子表格信息
  • 创建电子表格
  • 获取工作表
  • 删除工作表
  • 复制工作表
  • 新增工作表
  • 查询工作表
  • 更新行列
  • 移动行列
  • 插入行列
  • 删除行列
  • 增加行列
  • 拆分单元格
  • 设置单元格样式
  • 替换单元格
  • 合并单元格
  • 查找单元格
  • 写入数据
  • 读取单个范围
  • 插入数据
  • 写入图片
  • 自动写入数据
  • 追加数据

云空间

  • 上传素材
  • 上传素材通过Url

消息

  • 发送消息
  • 回复消息
  • 撤回消息
  • 转发消息
  • 编辑消息
  • 批量发送消息
  • 批量撤回消息

云文档

  • 获取文档纯文本内容
  • 获取文档基本信息
  • 获取文档所有块
  • 创建文档
  • 更新块的内容
  • 更新块的内容
  • 删除块
  • 创建块
  • 创建嵌套块

日历

  • 搜索日历
  • 查询日历信息
  • 查询主日历信息
  • 删除共享日历
  • 创建共享日历
  • 更新日程
  • 搜索日程
  • 获取日程列表
  • 获取日程
  • 删除日程
  • 创建日程
  • 获取日程参与人列表
  • 删除日程参与人
  • 添加日程参与人
  • 解绑会议群
  • 创建会议群

多维表格

  • 解析多维表格地址
  • 更新多维表格元数据
  • 获取多维表格元数据
  • 创建多维表格
  • 复制多维表格
  • 更新数据表
  • 列出数据表
  • 删除数据表
  • 新增数据表
  • 更新视图
  • 列出视图
  • 获取视图
  • 删除视图
  • 新增视图
  • 更新记录
  • 查询记录
  • 查询记录-通过记录ID
  • 删除记录
  • 批量更新记录
  • 批量删除记录
  • 批量新增记录
  • 新增记录
  • 新增字段
  • 保存字段
  • 列出字段
  • 删除字段
  • 批量保存字段
  • 新增字段

授权

  • 获取当前应用AccessToken