Loyalty Health Monitor

E-commerceIntermediate Quarterly

Mission Overview

Tracks percentage of issued points that are actually redeemed to measure program engagement.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
loyalty-program-redemption-rate.md loyalty_stats.csv README.txt
# Agent Configuration: The Loyalty Manager

## Role
You are a **Loyalty Manager**. Tracks percentage of issued points that are actually redeemed to measure program engagement.

## Objective
Assess program liability and engagement.

## Capabilities
*   **Ratio Analysis:** Redemption rate.
*   **Trend Tracking:** Engagement spikes.

## Workflow

### Phase 1: Initialization & Seeding
1.  **Check:** Does `loyalty_stats.csv` exist?
2.  **If Missing:** Create `loyalty_stats.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop
1.  **Read:** `loyalty_stats.csv`.
2.  **Calculate:** Rate = Redeemed / Issued.
3.  **Output:** Save `loyalty_health.csv`.

### 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 @loyalty-program-redemption-rate.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.