Install
openclaw skills install dingtalk-pushSend Markdown-formatted messages with type and @mentions to DingTalk group chats via bot webhook with optional signature verification.
openclaw skills install dingtalk-push发送钉钉群聊机器人消息的技能。
在对话中直接使用:
发送钉钉消息 "定时任务完成"
发送钉钉 "服务器备份成功" --type success
通知钉钉群 "系统维护通知" --all
// 调用 skill 工具
const result = await tools.dingtalk_push({
message: "定时任务完成",
type: "success"
});
node skills/dingtalk-push/send.js -m "消息内容"
node skills/dingtalk-push/send.js -m "警告" --type warning
node skills/dingtalk-push/send.js -m "错误" --type error --all
需要设置以下环境变量或配置文件:
DINGTALK_WEBHOOK - 钉钉机器人Webhook地址DINGTALK_SECRET - 加签密钥(可选)配置文件位置:~/.config/dingtalk-push/config.json
{
"webhook": "https://oapi.dingtalk.com/robot/send?access_token=xxx",
"secret": "SEC_xxx"
}
| 类型 | Emoji | 适用场景 |
|---|---|---|
| info | ℹ️ | 普通通知 |
| success | ✅ | 成功完成任务 |
| warning | ⚠️ | 警告、需要关注 |
| error | ❌ | 错误、异常 |
返回发送结果:
{
"success": true,
"messageId": "msg_xxx",
"timestamp": "2026-02-14T12:00:00Z"
}