DingTalk Attendance Integration for Openclaw

A specialized automation skill that retrieves employee attendance records from the DingTalk Open Platform and exports them to local storage or notification channels.

renjicode
v1.0.0
Apr 17, 2026
0
650
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install keplerjai-dingtalk-attendance

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 keplerjai-dingtalk-attendance 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 Attendance Integration?

The DingTalk Attendance Integration is an essential tool for HR and operations teams looking to bridge the gap between enterprise communication platforms and local data analysis. By leveraging the DingTalk Open Platform API, this skill allows users to pull granular attendance data, including punch-in records and daily/monthly reports, directly into their local environment.

This skill is built to operate within the Openclaw Skills ecosystem, ensuring that sensitive enterprise credentials remain secure and that data synchronization can be handled automatically via scheduled tasks. It eliminates the manual effort of exporting reports from the DingTalk admin console, providing a programmatic way to monitor attendance trends and identify irregularities.

DingTalk Attendance Integration Use Cases

  • Automating the daily backup of employee punch-in records to local JSON or CSV files.
  • Generating daily or monthly attendance summaries for payroll processing.
  • Real-time alerting for attendance abnormalities or missing logs.
  • Integrating DingTalk attendance data into custom internal dashboards or data warehouses.

How DingTalk Attendance Integration Works

  1. The skill authenticates with the DingTalk Open Platform using the AppKey and AppSecret stored in the local .env file.
  2. It requests an access token to authorize calls to the attendance and contacts API endpoints.
  3. The skill fetches the list of employees and queries their specific attendance logs for the requested time period.
  4. Retrieved data is processed and formatted according to the OUTPUT_FORMAT configuration.
  5. Files are saved to the specified OUTPUT_DIR or pushed to designated notification channels.

DingTalk Attendance Integration Setup

1. DingTalk Platform Setup

  • Visit open.dingtalk.com and create an internal enterprise application.
  • Obtain your AppKey, AppSecret, and AgentId.
  • Enable the Attendance Management and Contacts (read-only) permissions.

2. Local Configuration

Copy the example environment file and fill in your credentials:

# Navigate to skill directory
cd keplerjai-dingtalk-attendance

# Copy environment file
cp .env.example .env

Edit the .env file with your details:

DINGTALK_APP_KEY=your_app_key
DINGTALK_APP_SECRET=your_app_secret
DINGTALK_AGENT_ID=your_agent_id
OUTPUT_DIR=./data/attendance
OUTPUT_FORMAT=json

3. Install Dependencies

npm install axios moment

DingTalk Attendance Integration Data Schema & Taxonomy

The skill organizes output data within the directory specified in the .env file. The schema includes:

Data Type Format Description
Punch Records JSON/CSV Individual check-in/out timestamps and locations.
Daily Reports JSON Aggregated daily status (Late, Early Leave, Normal).
Monthly Reports JSON Summary of total work hours and attendance days.
Exception Logs Text/JSON Specific logs for missed punches or unauthorized absences.

DingTalk Attendance Integration Advanced Features

  • Cron Job Support: Configure scheduled execution within Openclaw Skills to automate data fetching every morning.
  • Secure Credential Handling: The skill is designed to prioritize local .env files and will never leak keys in chat dialogues.
  • Multi-format Export: Support for switching between JSON and CSV formats for compatibility with Excel or BI tools.
  • Directory Auto-Management: Automatically organizes output files into time-stamped subdirectories for easy archival.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*