DingTalk to Feishu Calendar Sync for Openclaw

A specialized automation tool to synchronize DingTalk calendar events to Feishu, ensuring your professional schedule remains unified and up-to-date.

alittlebao
v1.0.0
Mar 26, 2026
2
811
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install dingtalk-feishu-sync-schedule

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-feishu-sync-schedule 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 to Feishu Calendar Sync?

The DingTalk to Feishu Sync Schedule is a robust automation utility designed to bridge the gap between two of the most popular enterprise collaboration platforms. Built as one of the essential Openclaw Skills, it provides a one-way synchronization (DingTalk to Feishu) for the current week, including today and the upcoming six days.

By leveraging the DingTalk and Feishu Open Platform APIs, this skill automates the tedious task of manual event entry. It features intelligent token management, automatic cleanup of previously synced events to prevent duplicates, and a protective mechanism that ensures manually created Feishu events are never deleted. It is ideal for professionals working in multi-platform environments who need a single source of truth for their time management.

DingTalk to Feishu Calendar Sync Use Cases

  • Managing meetings across different corporate departments that use separate internal tools.
  • Maintaining a unified personal view of work commitments on Feishu while the company mandates DingTalk.
  • Automating weekly schedule overviews for teams transitioning between communication platforms.
  • Ensuring zero missed appointments by centralizing notifications within the Feishu mobile and desktop apps.

How DingTalk to Feishu Calendar Sync Works

  1. The script authenticates with DingTalk to retrieve all calendar events for the current week, filtering out canceled meetings.
  2. It checks the validity of the Feishu access_token and automatically refreshes it using the stored refresh_token if it has expired.
  3. The system identifies existing Feishu events that were previously created by this tool by looking for the 'Sync from DingTalk' metadata tag.
  4. It performs a clean-up by deleting only the tagged sync events to prepare for fresh data.
  5. Finally, it rebuilds the entire weekly schedule in Feishu based on the latest data fetched from DingTalk.

DingTalk to Feishu Calendar Sync Setup

Prerequisites

Enable Calendar read/write permissions on both DingTalk and Feishu Open Platforms.

Initialization

Run the initialization script to load credentials from your environment:

python3 /root/.openclaw/workspace/skills/dingtalk-feishu-sync-schedule/scripts/init_config.py

Manual Sync Execution

To trigger a sync manually at any time, use the following command:

python3 /root/.openclaw/workspace/skills/dingtalk-feishu-sync-schedule/sync_week_ahead.py

DingTalk to Feishu Calendar Sync Data Schema & Taxonomy

The skill manages local configuration files to handle API credentials and user mapping securely.

File Path Description Key Fields
~/.dingtalk/config.json DingTalk API Credentials app_key, app_secret, user_id (unionid)
~/.feishu/config.json Feishu API Credentials app_id, app_secret, calendar_id, refresh_token
~/.openclaw/openclaw.json Global Config Primary source for initial credential injection

All synchronized events are marked with the description string "Synced automatically from DingTalk" to distinguish them from native Feishu entries.

DingTalk to Feishu Calendar Sync Advanced Features

  • Automated Cron Integration: Comes pre-configured for scheduling via crontab (defaulting to 09:00, 12:00, and 15:00 daily).
  • Token Lifecycle Management: Implements a 30-day refresh cycle for Feishu tokens and session-based access for DingTalk.
  • Intelligent Identity Mapping: Can automatically resolve DingTalk unionids using a user's mobile number via API.
  • Openclaw Skills Integration: Prioritizes credential fetching from the global Openclaw configuration for simplified multi-agent setups.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*