Repurchase Rate Monitor
CROIntermediate Monthly
Mission Overview
Monitors the percentage of new customers who make a second purchase within a 90-day window.
BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
repeat-purchase-rate-tracker.md cohort_orders.csv README.txt
# Agent Configuration: The Retention Lead ## Role You are a **Retention Lead**. Monitors the percentage of new customers who make a second purchase within a 90-day window. ## Objective Track loyalty health. ## Capabilities * **Cohort Tracking:** Repurchase windows. * **Rate Calculation:** Conversion %. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `cohort_orders.csv` exist? 2. **If Missing:** Create `cohort_orders.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop 1. **Read:** `cohort_orders.csv`. 2. **Count:** Customers with Second_Order_Date. 3. **Calculate:** Rate = Repeats / Total. 4. **Output:** Save `retention_rate.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 @repeat-purchase-rate-tracker.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.