chan

Dingtalk

开发编程v1.0.0
作者:chan更新于 2026-05-11dingtalk@clawhub_chayjan/dingtalk
脚本工具#钉钉

据 AlphaMoat 统计,截至 2026-09,Dingtalk 累计下载 3,914 次、获 2 个星标,在全部 5,078 个 AI 技能中排名第 2,651 位,在「开发编程」分类(577 个)中排名第 346 位。

累计安装
158
累计下载
3,914
星标
2
全站排名
#2,651
全站前 53% · 「开发编程」前 60%
平台累计安装累计下载星标评论
ClawHub ↗1173,7822-
SkillHub ↗1583,9142—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

该插件支持钉钉 API 消息收发、私聊和群聊策略及用户白名单,可使用内部应用或群机器人 webhook。公开回调端点前需确认签名校验和发送者/群组白名单;凭据应严格限权并妥善保存。 该插件为 beta,需要 OpenClaw 2026.2.0 或更新版本及钉钉应用或机器人凭据。webhook 目的地限官方钉钉机器人端点,认证验证前不得公开回调。

资料发布于 2026-10-27

可以用来做什么

  • 将 OpenClaw 接入钉钉私聊或群聊
  • 配置发送者和群组访问策略

什么时候用

  • OpenClaw 版本、钉钉凭据和回调安全设置均已获准并核实后

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

规划一个仅允许指定成员和群组的钉钉接入配置。
列出公开回调端点前应检查的认证和白名单条件。

月度数据趋势

累计下载3,914
1,7282,9024,0762026-03 · 累计下载 1,8902026-05 · 累计下载 2,8282026-07 · 累计下载 3,3722026-08 · 累计下载 3,6102026-09 · 累计下载 3,91426-0326-09
星标2
1232026-03 · 星标 22026-05 · 星标 22026-07 · 星标 22026-08 · 星标 22026-09 · 星标 226-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,914—2
2026-083,610+7.1%2
2026-073,372—2
2026-052,828—2
2026-031,890—2

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.5 KB · ClawHub v1.0.0
---
name: dingtalk
description: DingTalk channel plugin for OpenClaw - send and receive messages via DingTalk (钉钉)
metadata:
  {
    "openclaw":
      {
        "requires": { "openclaw": ">=2026.2.0" },
      },
  }
展开全部(共 121 行)
---

# DingTalk Channel Plugin for OpenClaw

Connect OpenClaw to DingTalk (钉钉) for enterprise messaging.

## Features

- Send/receive messages via DingTalk API
- Support for both internal apps and webhook robots
- DM and group chat policies
- User allowlist support

## Configuration

### Method 1: Environment Variables

```bash
export DINGTALK_CLIENT_ID="your-app-key"
export DINGTALK_CLIENT_SECRET="your-app-secret"
```

### Method 2: Config File

```bash
openclaw config --section channels
# Select DingTalk and follow prompts
```

Or manually edit config:

```yaml
channels:
  dingtalk:
    enabled: true
    clientId: "ding6kntxc33nvloty5z"
    clientSecret: "your-secret"
    dmPolicy: "allowlist"  # or "open", "pairing"
    allowFrom:
      - "user001"
      - "user002"
    groupPolicy: "allowlist"  # or "open", "disabled"
    groupAllowFrom:
      - "chat001"
```

### Method 3: Webhook Robot (Group Chat)

For group robot webhooks:

```yaml
channels:
  dingtalk:
    enabled: true
    webhookUrl: "https://oapi.dingtalk.com/robot/send?access_token=xxxxx"
    webhookSecret: "SECxxxxx"  # optional, for signature verification
```

## Getting Credentials

1. Go to [DingTalk Open Platform](https://open.dingtalk.com)
2. Create a micro-app or internal robot
3. Copy the **App Key** and **App Secret**
4. For internal apps, ensure these permissions:
   - Contact management (读取通讯录)
   - Message notifications (发送工作通知)

## Usage

### Sending Messages

```typescript
await message({
  channel: "dingtalk",
  target: "user-id",
  text: "Hello from OpenClaw!"
});
```

### Receiving Messages

Configure DingTalk callback URL to point to your OpenClaw Gateway:

```
https://your-gateway/webhook/dingtalk
```

## API Reference

- [DingTalk Open Platform](https://open.dingtalk.com/document/isv/server-api-overview)
- [Robot Webhook API](https://open.dingtalk.com/document/isv/group-robot)

## Troubleshooting

**Error: "invalid timestamp"**
- Check your system time is synchronized

**Error: "app not authorized"**
- Ensure your app has the required permissions in DingTalk admin console

**Error: "ip not in whitelist"**
- Add your OpenClaw Gateway IP to DingTalk app IP whitelist

## Development

This plugin is in beta. Report issues at: https://github.com/openclaw/openclaw

## License

MIT

「开发编程」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。