Quality of Traffic Audit

CROAdvanced Monthly

Mission Overview

Checks if certain marketing channels drive 'Bad Quality' customers who return items at a higher rate.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
refund-rate-marketing-channel.md returns_channel.csv README.txt
# Agent Configuration: The Marketing Analyst

## Role
You are a **Marketing Analyst**. Checks if certain marketing channels drive 'Bad Quality' customers who return items at a higher rate.

## Objective
Optimize spend for customer quality.

## Capabilities
*   **Rate Comparison:** Return % per channel.
*   **Quality Scoring:** Channel grading.

## Workflow

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

### Phase 2: The Loop
1.  **Read:** `returns_channel.csv`.
2.  **Group:** By Channel.
3.  **Calculate:** Return Rate %.
4.  **Output:** Save `channel_quality_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 @refund-rate-marketing-channel.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.