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
累計下載
3914
星標
2
全站排名
#2,651
全站前 53% · 「開發程式設計」前 60%
平台累計安裝累計下載星標評論
ClawHub ↗11737822-
SkillHub ↗15839142—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該外掛支援釘釘 API 訊息收發、私聊和群聊策略及使用者白名單,可使用內部應用或群機器人 webhook。公開回呼端點前需確認簽名校驗和傳送者/群組白名單;憑證應嚴格限權並妥善儲存。 此外掛為 beta,需要 OpenClaw 2026.2.0 或更新版本及釘釘應用程式或機器人憑證。webhook 目的地限官方釘釘機器人端點,認證驗證前不得公開回呼。

資料釋出於 2026-10-27

可以用來做什麼

  • 將 OpenClaw 接入釘釘私聊或群聊
  • 配置傳送者和群組存取策略

什麼時候用

  • OpenClaw 版本、釘釘憑證和回呼安全設定均已獲准並核實後

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

規劃一個僅允許指定成員和群組的釘釘接入配置。
列出公開回呼端點前應檢查的認證和白名單條件。

月度資料趨勢

累計下載3914
1728290240762026-03 · 累計下載 18902026-05 · 累計下載 28282026-07 · 累計下載 33722026-08 · 累計下載 36102026-09 · 累計下載 391426-0326-09
星標2
1232026-03 · 星標 22026-05 · 星標 22026-07 · 星標 22026-08 · 星標 22026-09 · 星標 226-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093914—2
2026-083610+7.1%2
2026-073372—2
2026-052828—2
2026-031890—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),按月更新。口徑說明見資料方法。