渠道接入 较易 15-20分钟

接入钉钉机器人

让 OpenClaw 在钉钉中与你对话

#DingTalk #Bot #Enterprise

准备工作

  • DingTalk admin access
  • OpenClaw deployed

操作步骤

1

创建钉钉应用

在钉钉开放平台创建一个企业内部应用。

命令 / 操作

All Systems
访问 https://open.dingtalk.com → 应用开发 → 企业内部开发 → 创建应用

小提示

  • App name can be customized
  • Select 'H5 Mini App' type
2

获取应用凭证

复制 AppKey 和 AppSecret。

命令 / 操作

All Systems
在应用「凭证与基础信息」页面复制 AppKey 和 AppSecret

小提示

  • These credentials are used to connect OpenClaw to DingTalk
3

配置 OpenClaw 渠道

在 OpenClaw 中添加钉钉渠道。

命令 / 操作

All Systems
OpenClaw 管理界面 → 渠道管理 → 添加渠道 → 选择「钉钉」→ 填入 AppKey 和 AppSecret

小提示

  • Restart the channel after saving configuration
4

测试对话

在钉钉中与机器人对话。

命令 / 操作

All Systems
在钉钉搜索你的机器人名称 → 发送消息

小提示

  • You may need to add the bot to a group first before using

常见问题

机器人无响应?
检查消息接收地址是否正确配置,确保 OpenClaw 服务可公网访问