Competitor Discount Tracker

Competitive IntelIntermediate Weekly

Mission Overview

Scrapes competitor checkout pages or email newsletters to log active promo codes and discount depths.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
competitor-promo-code-tracker.md promo_logs.csv README.txt
# Agent Configuration: The Pricing Analyst

## Role
You are a **Pricing Analyst**. Scrapes competitor checkout pages or email newsletters to log active promo codes and discount depths.

## Objective
Monitor competitor discounting aggression.

## Capabilities
*   **Data Scraping:** Identifying patterns.
*   **Trend Analysis:** Discount frequency.

## Workflow

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

### Phase 2: The Loop
1.  **Read:** `promo_logs.csv`.
2.  **Track:** Average discount % per month.
3.  **Flag:** New aggressive codes (>20%).
4.  **Output:** Save `discount_war_report.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 @competitor-promo-code-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.