DingTalk Office Automation Assistant
Paste the following prompt into your AI chat to install this skill:
Install @user_af163eaa/z-dingtalk-automation according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem Being Solved
DingTalk office automation often fails less because an API is unavailable and more because teams mix up entry points for work notices, group bots, approvals, and attendance. This skill is aimed at that confusion: sending work notices from an internal app, pushing alerts through a group-bot webhook, creating or querying approval instances, fetching attendance records, and tracing failures such as a wrong appkey, an unpublished app, or missing API permission.
How It Works
- Clarify the target first: separate work notices, group bots, approvals, and attendance so the wrong credential is not used on the wrong endpoint.
- Check credentials: self-built apps usually need
appkey,appsecret, andagentId; group bots usually need only thewebhook token; approvals and attendance depend on the relevant app permissions. - Fetch and cache the token: use
gettokento obtainaccess_token; the source notes a roughly 7200-second validity window, which makes local caching practical. - Call the matching OpenAPI: work notices use
asyncsend_v2, group bots userobot/send, and approval or attendance flows use their respectivetopapiendpoints, then inspect error codes when calls fail.
Boundaries
It is best treated as an integration guide and calling skeleton, not as a service that holds credentials or calls real APIs on the user's behalf. AppSecret, bot tokens, and attendance or approval data containing employee information should be handled under enterprise compliance rules. Group pushes should respect DingTalk rate limits and anti-spam policies. Final behavior should follow the latest DingTalk Open Platform documentation and actual app authorization.
Use Cases
- Push monitoring alerts to an on-call DingTalk group via the robot webhook endpoint.
- Send a batched release notice to selected employees while validating AppKey, agentId, and access_token.
- Integrate DingTalk approval flows to create or query approval instances and diagnose permission errors.
- Fetch team attendance records by checking app permissions and the topapi/attendance/list response.
Best For
- Backend engineers building alert pipelines who want to send exceptions to DingTalk group bots.
- Developers automating internal workflows who need to create or query DingTalk approval instances.
- Product engineers integrating HR or ops data who want to fetch attendance records for reporting.
- Developers maintaining self-built enterprise apps who need to debug AppKey, publishing status, and API permissions.
Related Skills
Generate and edit .pptx decks with python-pptx, applying structured layouts, design rules, native charts, and visual QA to reduce template-like output.
Tencent Cloud Table Recognition V3 is an OCR skill for detecting and recognizing tables in images or PDFs, supporting various table types like linear and borderless tables, with Excel export.
The complete set of online document operation tools provided by Tencent Docs MCP, supporting creation, querying, and editing of smart docs, Excel, PPT, mind maps, and more.
Turn a topic, notes, or tables into a complete PPT plan with logic, page layouts, visual and chart guidance, and natural defense scripts.