DingTalk Bot for Openclaw

A powerful integration for DingTalk that automates team communication, administrative approvals, and attendance tracking.

jason-aka-chen
v1.0.0
Mar 22, 2026
0
698
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install dingtalk-bot-chen

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install dingtalk-bot-chen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is DingTalk Bot?

The DingTalk Bot skill provides a comprehensive integration with the DingTalk Open Platform, enabling AI agents to interact directly with one of the world's leading enterprise communication tools. By leveraging both webhook-based and API-driven interactions, this skill allows for seamless messaging, robust group management, and complex administrative automation. Whether you are building an automated notification system or a sophisticated HR assistant, this addition to your library of Openclaw Skills ensures your agent can navigate the DingTalk ecosystem with ease.

This integration supports a wide range of message formats, including Markdown and interactive Action Cards, ensuring that communications are both informative and actionable. Furthermore, it extends into administrative domains like attendance tracking and vacation balance queries, making it an essential tool for enterprise-level AI deployments.

DingTalk Bot Use Cases

  • Sending automated daily sales reports and system notifications to specific group chats.
  • Dynamically creating and managing project-specific communication groups.
  • Automating the creation and status tracking of administrative approval workflows like leave requests.
  • Retrieving real-time employee attendance records and vacation balances for reporting.
  • Engaging users with interactive action cards for quick decision-making within the DingTalk app.

How DingTalk Bot Works

  1. The bot authenticates with the DingTalk Open Platform using either a Webhook URL and Secret or an internal AppKey and AppSecret.
  2. When a command is triggered, the skill constructs a payload containing the message content, group parameters, or approval details.
  3. For security, a signature is generated for webhook requests to verify the authenticity of the message.
  4. The skill sends the request to the DingTalk API endpoints, managing headers and authentication tokens automatically.
  5. Upon successful execution, the skill processes the response data, such as group IDs or approval instance statuses, and returns it to the agent.

DingTalk Bot Setup

To begin using this integration in your collection of Openclaw Skills, configure your environment variables based on your bot type:

# Webhook-based bot setup
export DINGTALK_WEBHOOK_URL="https://oapi.dingtalk.com/robot/send?access_token=your_token"
export DINGTALK_SECRET="your_webhook_secret"

# Advanced API-based bot setup
export DINGTALK_APP_KEY="your_app_key"
export DINGTALK_APP_SECRET="your_app_secret"
export DINGTALK_AGENT_ID="your_agent_id"

Ensure you have created a Custom Robot or an Internal App within the DingTalk Open Platform console first.

DingTalk Bot Data Schema & Taxonomy

The DingTalk Bot skill organizes data according to the standard DingTalk API structures:

Data Component Format Key Attributes
Messaging JSON title, text, message_url, at_mobiles
Groups Object open_conversation_id, name, owner_user_id
Approvals Object process_code, process_instance_id, form_values
Attendance List work_date, check_type, user_id

Metadata for messages often includes timestamp and signature headers to ensure secure delivery.

DingTalk Bot Advanced Features

  • Multi-mode authentication supporting both lightweight webhooks and full-featured internal app APIs.
  • Interactive Action Cards and Feed Cards for rich UI experiences inside the chat interface.
  • Automated signature generation for high-security webhook verification.
  • Deep integration with DingTalk's approval engine, supporting custom form values and callback status monitoring.
  • Comprehensive attendance management capabilities, including vacation balance tracking.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*