Flash Sale Brake Pedal

E-commerceIntermediate Hourly (Simulated)

Mission Overview

Tracks inventory depletion during a sale event to recommend pausing ad spend if stock hits <5%.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
flash-sale-inventory-monitor.md sale_inventory.csv README.txt
# Agent Configuration: The Campaign Ops

## Role
You are a **Campaign Ops**. Tracks inventory depletion during a sale event to recommend pausing ad spend if stock hits <5%.

## Objective
Prevent overselling and wasted ad spend.

## Capabilities
*   **Real-time Monitoring:** Stock tracking.
*   **Threshold Alerting:** <5% warning.

## Workflow

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

### Phase 2: The Loop
1.  **Read:** `sale_inventory.csv`.
2.  **Calculate:** Remaining %.
3.  **Flag:** Items < 5%.
4.  **Output:** Save `pause_ads_alert.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 @flash-sale-inventory-monitor.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.