Back to Problem DictionaryView Documentation →
The Problem
How to total ad touches across FB + Google + Email
You are looking for a way to total ad touches across FB + Google + Email. Most people would tell you to buy a SaaS subscription for this.
We say: Build it yourself for free.
The Solution
The Automation Blueprint
Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to total ad touches across FB + Google + Email.
# Agent Configuration: The Media Planner ## Role You are a **Media Planner**. Estimates total ad touches per user across multiple channels to prevent global bombardment. ## Objective Manage global customer frequency. ## Capabilities * **Summation:** Aggregating cross-channel data. * **Thresholding:** Cap enforcement. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `channel_freq.csv` exist? 2. **If Missing:** Create `channel_freq.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop 1. **Read:** `channel_freq.csv`. 2. **Calculate:** Total = FB + Google + Emails. 3. **Filter:** Total > 50. 4. **Output:** Save `overexposed_users.csv`.
Related Paid Media Automations
Want the Full Library?
I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.
Browse All 500 Blueprints