dingtalk-feishu-cn
钉钉/飞书集成 - 企业通讯、机器人、自动化工作流(Slack 中国版)
Guohongbin
@guohongbin-git
What This Skill Does
Integrates with DingTalk and Feishu (Lark) for enterprise messaging, bot automation, and workflow management. Supports sending/receiving messages, managing schedules, and triggering approval processes via webhooks and APIs.
Replaces building separate integrations for each Chinese enterprise messaging platform by providing a unified interface for DingTalk and Feishu bots, APIs, and automation workflows.
When to Use It
- Send server alert notifications to a DingTalk or Feishu group
- Automate CI/CD build status updates to a Feishu channel
- Create a bot that answers employee queries about company policies
- Trigger approval workflows for leave or expense requests
- Schedule daily report summaries to a DingTalk chat
- Forward task completion alerts from external tools to Feishu
Install
$ openclaw skills install @guohongbin-git/dingtalk-feishu-cn钉钉/飞书集成
企业通讯、机器人、自动化工作流。
功能
- 💬 消息发送/接收
- 🤖 机器人集成
- 📅 日程管理
- 📋 审批流程
- 🔄 自动化工作流
平台对比
| 功能 | 钉钉 | 飞书/Lark |
|---|---|---|
| Webhook | ✅ | ✅ |
| API | ✅ | ✅ |
| 机器人 | ✅ | ✅ |
| 文档 | ✅ | ✅✅ |
| 国际化 | ❌ | ✅ |
钉钉集成
Webhook 机器人
# 发送消息
curl -X POST "https://oapi.dingtalk.com/robot/send?access_token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"msgtype": "text",
"text": {"content": "这是一条测试消息"}
}'
API 调用
# 使用 dingtalk-sdk
pip install dingtalk-sdk
from dingtalk import SecretClient
client = SecretClient(APP_KEY, APP_SECRET)
飞书/Lark 集成
Webhook 机器人
# 发送消息
curl -X POST "https://open.feishu.cn/open-apis/bot/v2/hook/YOUR_HOOK" \
-H "Content-Type: application/json" \
-d '{
"msg_type": "text",
"content": {"text": "这是一条测试消息"}
}'
API 调用
# 使用 lark-oapi
pip install lark-oapi
import lark_oapi as lark
client = lark.Client.builder() \
.app_id(APP_ID) \
.app_secret(APP_SECRET) \
.build()
使用场景
1. 告警通知
- 服务器告警
- 业务异常
- 定时报告
2. 自动化
- CI/CD 通知
- 任务完成提醒
- 审批流程
3. 机器人
- 问答机器人
- 查询工具
- 工作助手
快速开始
# 钉钉机器人
./scripts/dingtalk-notify.sh "告警: CPU 使用率 90%"
# 飞书机器人
./scripts/feishu-notify.sh "任务完成: 数据同步成功"
注意事项
- 安全: Webhook 地址不要泄露
- 频率: 避免消息轰炸
- 格式: 使用 Markdown/card 提升体验
版本: 1.0.0
Top skills in this category
Humanizer
@biostartechnologyRemove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Slack
@steipeteUse when you need to control Slack from Clawdbot via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
PollyReach
@pollyreachPollyReach gives every AI agent a phone number and the ability to get things done over the phone — finding contacts, making calls, and completing tasks. Just...
imap-smtp-email
@gzlicanyiRead and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Supports multiple accounts. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, and vip
Answer Overflow
@rhyssullivanSearch indexed Discord community discussions via Answer Overflow. Find solutions to coding problems, library issues, and community Q&A that only exist in Discord conversations.