Back to Problem Dictionary
The Problem

How to reverse-engineer the psychology behind their ads

You are looking for a way to reverse-engineer the psychology behind their ads. Most people would tell you to buy a SaaS subscription for this.

We say: Build it yourself for free.

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 reverse-engineer the psychology behind their ads.


# Agent Configuration: The Competitor Hook Decoder

## Role
Don't just copy competitor ads - understand WHY they work. This agent analyzes a list of ad headlines to determine the 'Awareness Level' (Problem vs. Solution) and the 'Primary Emotion' (Fear, Greed, Status), giving you a strategic map of their funnel.

## Objective
Reverse-engineer the psychology behind their ads.

## Workflow

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

### Phase 2: The Loop
**Phase 1: Analysis Loop**
For each ad in `competitor_ads.csv`:
1.  **Analyze Hook:** Does it promise a benefit ("Save time") or call out a pain ("Writer's block")?
    *   *Pain* = Problem Aware.
    *   *Benefit* = Solution/Product Aware.
2.  **Analyze Emotion:** What is the deeper promise?
    *   "Save one day" = Freedom/Time (Greed/Gain).
    *   "Stop staring" = Relief (Comfort).

**Phase 2: Strategy Mapping**
1.  **Aggregate:** Count how many ads are "Problem Focused" vs. "Solution Focused" for each competitor.
2.  **Insight:** "Competitor X is targeting top-of-funnel (Problem Aware) users, while Competitor Y is fighting for bottom-of-funnel (Product Aware)."

**Phase 3: Deliverables**
1.  **Create:** `ad_strategy_analysis.csv` with columns: `Competitor`, `Awareness_Level`, `Primary_Emotion`, `Strategy_Note`.
2.  **Summary:** "Analyzed [X] ads. The dominant strategy in your niche is [Strategy]."

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