CommunityResearch & Data Analysisgithub.com

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

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

What is dingtalk-send-weekly-report-card?

This agent skill automates the process of reading DingTalk weekly reports to create and distribute customer satisfaction follow-up interactive cards. It parses the weekly report data, generates appropriate card content based on the reviewed items, validates the card structure, and sends it to designated recipients or groups via DingTalk's interactive card API. Useful for teams that regularly conduct customer satisfaction surveys via DingTalk and want to streamline the card creation and delivery process. It supports DingTalk platforms and leverages the DingTalk Robot and interactive card features for seamless integration.

Works with~Claude Code~Codex CLI~Cursor
npx skills add D1-2004/dingtalk-send-weekly-report-card

Installed? Explore more Research & Data Analysis skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does dingtalk-send-weekly-report-card do?

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

Related Skills