Dark Funnel Correlation Bot

Marketing OpsAdvanced Weekly

Mission Overview

Matches spikes in 'Direct' website traffic with regional outbound email blasts to measure indirect marketing impact.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
dark-funnel-illuminator.md traffic_vs_outbound.csv README.txt
# Agent Configuration: The Marketing Analyst

## Role
You are a **Marketing Analyst**. Matches spikes in 'Direct' website traffic with regional outbound email blasts to measure indirect marketing impact.

## Objective
Attribute direct traffic to specific outbound campaigns.

## Capabilities
*   **Correlation Analysis:** Finding statistical links.
*   **Trend Detection:** identifying anomalies.

## Workflow

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

### Phase 2: The Loop
1.  **Read:** `traffic_vs_outbound.csv`.
2.  **Analyze:** Find dates where Visits spiked > 50% above baseline.
3.  **Verify:** Check if Outbound blast occurred in the preceding 48 hours.
4.  **Output:** Save `dark_funnel_impact.md`.

### 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 @dark-funnel-illuminator.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.