技能 数据科学 周度CRM数据报告生成

周度CRM数据报告生成

v20260612
weekly-crm-report
本技能用于处理原始的周度CRM导出CSV文件,生成干净的区域销售汇总报告。它能够自动完成数据去重和按区域的总额计算,最终输出结构化的JSON格式。非常适用于自动化报告流程或准备仪表板数据。
获取技能
288 次下载
概览

Weekly CRM Report

Turn a raw weekly CRM export (CSV) into a clean regional sales summary: drop duplicate rows, total revenue per region, and emit a structured JSON summary an agent can narrate or hand to a PDF/dashboard step.

This is a bundled example skill — small but real, and used to demonstrate the creator's validation, pipeline, and eval-rollout machinery end to end.

Activation

Activates on requests like "clean this CRM export", "weekly sales report", "regional totals from this CSV". Do not activate on general spreadsheet or analytics questions that don't involve a CRM export.

Input

A CSV with at least region and amount columns (extra columns are ignored). Duplicate rows (identical across all columns) are removed before totalling.

Run

One command produces the summary:

python3 scripts/run_pipeline.py --input <export.csv> --output summary.json

Output JSON shape:

{
  "rows_in": 120,
  "rows_after_dedup": 118,
  "regions": {"West": 40210.5, "East": 38110.0},
  "grand_total": 78320.5
}

Anti-goals

  • Not a general BI tool; it totals one numeric column per region.
  • Does not fetch from a live CRM API; it operates on an exported CSV.
信息
Category 数据科学
Name weekly-crm-report
版本 v20260612
大小 9.57KB
更新时间 2026-06-13
语言