← 返回 Skills 市场
yang1002378395-cmyk

钉钉快速集成配置

作者 yang1002378395-cmyk · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
202
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dingtalk-quickstart-cn
功能描述
钉钉快速集成配置 - 5分钟连接 OpenClaw 与钉钉,解锁机器人消息、审批流程、智能办公。适合:企业用户、钉钉生态、国内企业。
使用说明 (SKILL.md)

钉钉快速集成配置

目标:5 分钟内完成 OpenClaw + 钉钉集成,开始自动化办公。


🚀 快速开始(3 步)

第一步:创建钉钉机器人

  1. 打开钉钉群 → 群设置 → 智能群助手 → 添加机器人
  2. 选择「自定义」机器人
  3. 填写信息:
    • 机器人名称:OpenClaw Assistant
    • 机器人头像:自定义或默认
  4. 安全设置(三选一):
    • 推荐:加签(Secret)— 最安全
    • IP 地址(白名单)
    • 自定义关键词
  5. 创建后记录:
    • Webhook URL
    • Secret(如果选择了加签)

第二步:配置 OpenClaw

在 OpenClaw 配置文件 ~/.openclaw/config.yml 添加:

channels:
  dingtalk:
    enabled: true
    webhook: "https://oapi.dingtalk.com/robot/send?access_token=xxx"
    secret: "SECxxx"  # 可选,加签时需要

然后重启 OpenClaw:

openclaw gateway restart

第三步:测试发送

在 OpenClaw 对话中测试:

发送钉钉消息:测试成功,OpenClaw 已连接!

如果钉钉群收到消息,集成完成!


📋 常见使用场景

场景 1:自动发送每日简报

指令

每天 8:00 发送钉钉消息:今日待办事项:[事项列表]

OpenClaw 会自动

  1. 读取待办事项
  2. 生成简报
  3. 定时发送到钉钉群

场景 2:监控告警通知

指令

当服务器 CPU > 80% 时,发送钉钉告警消息

OpenClaw 会自动

  1. 监控服务器指标
  2. 触发阈值时发送钉钉消息
  3. 包含详细告警信息

场景 3:审批流程自动化

指令

读取钉钉审批单 [单号],自动处理并回复结果

OpenClaw 会自动

  1. 调用钉钉审批 API
  2. 分析审批内容
  3. 执行相应操作

🔧 高级配置

多机器人支持

如果需要管理多个钉钉群:

channels:
  dingtalk:
    enabled: true
    bots:
      - name: "开发群"
        webhook: "https://oapi.dingtalk.com/robot/send?access_token=xxx1"
        secret: "SECxxx1"
      - name: "运维群"
        webhook: "https://oapi.dingtalk.com/robot/send?access_token=xxx2"
        secret: "SECxxx2"

消息模板配置

创建自定义消息模板:

channels:
  dingtalk:
    templates:
      alert: |
        ### 🚨 告警通知
        **类型**:{type}
        **级别**:{level}
        **详情**:{detail}
        **时间**:{timestamp}
      daily: |
        ### 📅 每日简报
        **日期**:{date}
        **待办**:{todos}
        **提醒**:{reminders}

🐛 故障排查

问题 1:消息发送失败

错误invalid webhook url

解决

  1. 检查 Webhook URL 格式
  2. 确认机器人未被删除
  3. 测试 URL 可达性:
    curl -X POST "YOUR_WEBHOOK_URL" \
      -H "Content-Type: application/json" \
      -d '{"msgtype":"text","text":{"content":"测试"}}'
    

问题 2:签名验证失败

错误sign not match

解决

  1. 确认使用加签方式
  2. 检查 Secret 是否正确
  3. 确认时间戳在 1 小时内

问题 3:IP 白名单限制

错误ip not in whitelist

解决

  1. 检查机器人 IP 白名单设置
  2. 添加 OpenClaw 服务器 IP
  3. 或改用加签方式(无需 IP 白名单)

📚 钉钉 API 参考

消息类型

文本消息

{
  "msgtype": "text",
  "text": {
    "content": "这是一条文本消息"
  }
}

Markdown 消息

{
  "msgtype": "markdown",
  "markdown": {
    "title": "Markdown 标题",
    "text": "### 标题\
**粗体**\
- 列表项"
  }
}

链接消息

{
  "msgtype": "link",
  "link": {
    "title": "链接标题",
    "text": "链接描述",
    "messageUrl": "https://example.com",
    "picUrl": "https://example.com/icon.png"
  }
}

💰 定价参考

  • 基础集成:¥99(机器人创建 + 消息发送)
  • 企业定制:¥299(多机器人 + 模板 + 定时任务)
  • 全托管服务:¥999/月(OpenClaw 托管 + 钉钉集成 + 技术支持)

🆘 获取帮助

  • 钉钉开发文档:https://open.dingtalk.com/document
  • OpenClaw 文档:https://docs.openclaw.ai
  • OpenClaw 社区:https://discord.com/invite/clawd

创建时间:2026-03-21 作者:OpenClaw 中文生态 版本:1.0.0

安全使用建议
This guide appears legitimate and coherent for connecting OpenClaw to DingTalk, but before applying it: 1) verify the skill's source/author and trustworthiness; 2) back up your existing ~/.openclaw/config.yml before editing; 3) only paste webhook URLs and Secrets into your local config — treat them like passwords and restrict file permissions; 4) confirm the webhook domain is the official DingTalk endpoint (oapi.dingtalk.com) and do not use shortened or unknown URLs; 5) ensure you understand what OpenClaw will have access to (todo lists, monitoring data, approvals) and restrict its permissions if necessary; 6) if your environment requires tighter security, prefer DingTalk's IP whitelist or other hardened deployment patterns rather than storing long-lived secrets in plaintext.
功能分析
Type: OpenClaw Skill Name: dingtalk-quickstart-cn Version: 1.0.0 The skill bundle 'dingtalk-quickstart-cn' is a configuration guide and instruction set for integrating OpenClaw with DingTalk. It provides standard setup steps, YAML configuration examples for ~/.openclaw/config.yml, and functional scenarios for automated messaging and alerts. No malicious code, data exfiltration, or harmful prompt injections were identified; the provided curl commands and API references in SKILL.md are standard for DingTalk robot integration and align with the stated purpose.
能力评估
Purpose & Capability
The skill's name/description match the content: it explains how to configure DingTalk webhooks in OpenClaw. The only declared required binary is curl, which is reasonable for troubleshooting examples; there are no unexpected environment variables or unrelated services requested.
Instruction Scope
Instructions tell the user to edit ~/.openclaw/config.yml (to add webhook/secret) and to run openclaw gateway restart. This is appropriate for a configuration guide, but it implicitly assumes the user/agent can edit that config file and restart the OpenClaw service. The doc also describes OpenClaw behaviors (reading todos, monitoring, calling DingTalk APIs) — expected for integration but note these imply the agent will access whatever data sources OpenClaw uses.
Install Mechanism
No install spec or code is included (instruction-only). Nothing is downloaded or written by the skill itself, minimizing install-time risk.
Credentials
The skill does not request environment variables or external credentials, but it instructs the user to place webhook URLs and optional secrets into the local OpenClaw config file. Storing these tokens in plaintext in a user config is expected but the user should consider secure storage and access controls.
Persistence & Privilege
always is false and model invocation is permitted (default). The skill does not request persistent elevated privileges or modify other skills' configs; it only instructs how to configure OpenClaw itself.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dingtalk-quickstart-cn
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dingtalk-quickstart-cn 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
首次发布
元数据
Slug dingtalk-quickstart-cn
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

钉钉快速集成配置 是什么?

钉钉快速集成配置 - 5分钟连接 OpenClaw 与钉钉,解锁机器人消息、审批流程、智能办公。适合:企业用户、钉钉生态、国内企业。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 202 次。

如何安装 钉钉快速集成配置?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dingtalk-quickstart-cn」即可一键安装,无需额外配置。

钉钉快速集成配置 是免费的吗?

是的,钉钉快速集成配置 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

钉钉快速集成配置 支持哪些平台?

钉钉快速集成配置 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 钉钉快速集成配置?

由 yang1002378395-cmyk(@yang1002378395-cmyk)开发并维护,当前版本 v1.0.0。

💬 留言讨论