360 Secure SkillHub
360 安全技能中心

DingTalk Integration

该 Skill 通过 Python 脚本对接钉钉开放接口,可发送文本、Markdown 和交互卡片消息,创建群组、查询成员与会话,并提供 Webhook 通知和回调处理;需配置钉钉应用的 App ID、App Secret 与 Agent ID 等环境变量。

lukaizj
lukaizj
热度 40.35
最近更新 2026-05-11 17:44:32
分类:协作依赖:第三方 API / 代码执行应用场景:API 集成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add lukaizj-dingtalk
Metadata
name
DingTalk Integration
description
DingTalk (钉钉) integration - Send messages, create groups, and automate DingTalk workflows
homepage
https://github.com/lukaizj/dingtalk-integration-skill
tags
["productivity","integration","messaging","dingtalk","chinese"]
requires
{"env":["DINGTALK_APP_ID","DINGTALK_APP_SECRET"]}
files
["dingtalk.py"]

DingTalk Integration (钉钉集成)

DingTalk (钉钉) integration skill for OpenClaw. Send messages, manage groups, and automate workflows with DingTalk.

Capabilities

  • Send text messages to chats
  • Send rich interactive cards
  • Create new chat groups
  • List chat members
  • Send webhook notifications
  • Handle incoming callbacks

Setup

  1. Create a DingTalk mini app at https://open.dingtalk.com/
  2. Get App ID and App Secret from the application settings
  3. Add required permissions
  4. Configure environment variables

Environment Variables

Variable Required Description
DINGTALK_APP_ID Yes Your DingTalk App ID
DINGTALK_APP_SECRET Yes Your DingTalk App Secret
DINGTALK_AGENT_ID Yes Your DingTalk Agent ID

Usage

Send a message

Send a message "Hello from OpenClaw" to user user123
Send a card message to chat chat_id_456

Create a group

Create a new DingTalk group named "Project Alpha"
Add user "zhangsan" to group "Project Alpha"

List chats

List my DingTalk chats
Show recent chat messages

Message Types

This skill supports:

  • Text: Plain text messages
  • Markdown: Markdown formatted messages
  • Interactive: Cards with buttons, inputs, and actions

Troubleshooting

  • Ensure your app is published in the DingTalk admin console
  • Check that all required permissions are granted
  • Verify the App ID and Secret are correct
  • Make sure the app is added to required chats