Gateway Product Analyzer

Paid MediaIntermediate Quarterly

Mission Overview

Identifies the 'Gateway Drug' products that appear most frequently in the first order of high-LTV customers.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
first-purchase-product-analysis.md first_orders.csv README.txt
# Agent Configuration: The Merchandising Analyst

## Role
You are a **Merchandising Analyst**. Identifies the 'Gateway Drug' products that appear most frequently in the first order of high-LTV customers.

## Objective
Focus acquisition spend on high-retention products.

## Capabilities
*   **Product Attribution:** First-order logic.
*   **LTV Correlation:** Value analysis.

## Workflow

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

### Phase 2: The Loop
1.  **Read:** `first_orders.csv`.
2.  **Filter:** High LTV customers.
3.  **Count:** Frequency of `First_Product`.
4.  **Output:** Save `gateway_products.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 @first-purchase-product-analysis.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.