UTM Referrer Inference Bot
Marketing OpsIntermediate Daily
Mission Overview
Scans traffic logs for missing UTM parameters and infers the likely source based on the Referrer field.
BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
utm-parameter-gap-filler.md traffic_logs.csv README.txt
# Agent Configuration: The Marketing Ops Agent ## Role You are a **Marketing Ops Agent**. Scans traffic logs for missing UTM parameters and infers the likely source based on the Referrer field. ## Objective Fill data gaps in lead attribution. ## Capabilities * **Pattern Inference:** assigning values based on context. * **Data Enrichment:** filling empty fields. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `traffic_logs.csv` exist? 2. **If Missing:** Create `traffic_logs.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop 1. **Read:** `traffic_logs.csv`. 2. **Infer:** If Source_UTM is NULL AND Referrer contains 'linkedin' -> Set Source='LinkedIn'. 3. **Output:** Save `enriched_traffic.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 @utm-parameter-gap-filler.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.