Community研究与数据分析github.com

D1-2004/dingtalk-send-weekly-report-card

读取钉钉周报并生成、校验和发送客户满意度回访互动卡片的 Agent Skill

dingtalk-send-weekly-report-card 是什么?

dingtalk-send-weekly-report-card is a Claude Code agent skill that 读取钉钉周报并生成、校验和发送客户满意度回访互动卡片的 Agent Skill.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add D1-2004/dingtalk-send-weekly-report-card

Installed? Explore more 研究与数据分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

dingtalk-send-weekly-report-card 是做什么的?

Read DingTalk weekly reports and generate, validate, and send customer satisfaction follow-up interactive cards.

This skill automates the following steps:

  • Parse DingTalk weekly report data to extract relevant customer interaction details.
  • Generate interactive card payloads tailored for customer satisfaction surveys.
  • Validate the card structure against DingTalk's API requirements.
  • Send the validated cards to specified recipients or groups via DingTalk Robot.

Usage

The skill is invoked by an AI agent to streamline the process of sending customer satisfaction follow-up cards. It typically requires:

  • Read access to a DingTalk weekly report (e.g., via API or file).
  • Configuration of the DingTalk Robot webhook URL.
  • Optional customization of the card template.

Platforms

  • DingTalk (DingTalk Robot, Interactive Cards)
  • AI Agent Frameworks (e.g., Claude Code, Cursor, Codex)

How It Works

  1. The agent receives the weekly report data (JSON, CSV, or plain text).
  2. It extracts customer interaction entries and their statuses.
  3. For each entry requiring a follow-up, it generates an interactive card with satisfaction survey options.
  4. The card is validated against DingTalk's card schema.
  5. The validated card is sent via a POST request to the configured webhook URL.

Configuration

  • DINGTALK_WEBHOOK_URL: The webhook URL for the DingTalk Robot.
  • CARD_TEMPLATE_ID (optional): The ID of a custom card template.
  • REPORT_SOURCE: The source of the weekly report (e.g., API endpoint or file path).

Example

# Send a card for a specific customer entry
dingtalk-send-card --customer-id "12345" --satisfaction-score 4

Dependencies

  • Python 3.8+
  • requests library for HTTP calls.
  • jinja2 for card template rendering (if using templates).

Notes

相关技能