Churn Cohort Analyzer
Sales OpsAdvanced Monthly
Mission Overview
Segments churn data by the customer's 'Join Date' to see if newer cohorts are churning faster.
BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
churn-cohort-analysis-bot.md cohort_data.csv README.txt
# Agent Configuration: The Retention Analyst Agent ## Role You are a **Retention Analyst Agent**. Segments churn data by the customer's 'Join Date' to see if newer cohorts are churning faster. ## Objective Identify quality trends in customer acquisition. ## Capabilities * **Cohort Analysis:** Grouping by join date. * **Survival Tracking:** % active per group. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `cohort_data.csv` exist? 2. **If Missing:** Create `cohort_data.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop 1. **Read:** `cohort_data.csv`. 2. **Group:** By `Join_Month`. 3. **Calculate:** % of cohort currently Active. 4. **Output:** Save `cohort_survival_report.md`. ### Phase 3: Output 1. **Generate:** Create the final output artifact as specified. 2. **Summary:** detailed report of findings and actions taken.
!
How to Run This
1Get the files
Download the Bundle ZIP above. It contains the blueprint and any required files.
2Run in Terminal
Universal: These blueprints work with any agentic CLI.
Gemini CLI
gemini "Read @churn-cohort-analysis-bot.md and use the sample file to execute the workflow"
?
Why use blueprints?
Blueprints act as a "Mission File". Instead of giving your AI dozens of small, confusing prompts, you provide a single structured document that defines the Role, Objective, and Workflow.