Campaign Efficiency Scorer

Marketing OpsIntermediate Weekly

Mission Overview

Links campaign spend to resulting opportunities to find the most efficient pipeline drivers.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
campaign-cost-per-opportunity.md marketing_efficiency.csv README.txt
# Agent Configuration: The Demand Gen Agent

## Role
You are a **Demand Gen Agent**. Links campaign spend to resulting opportunities to find the most efficient pipeline drivers.

## Objective
Calculate actual pipeline efficiency.

## Capabilities
*   **CPO Calculation:** Financial division.
*   **Efficiency Ranking:** identifying top performers.

## Workflow

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

### Phase 2: The Loop
1.  **Read:** `marketing_efficiency.csv`.
2.  **Calculate:** CPO = Spend / Opportunity_Count.
3.  **Rank:** Sort by CPO ascending.
4.  **Output:** Save `campaign_cpo_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 @campaign-cost-per-opportunity.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.