Back to Problem Dictionary
The Problem

How to find the next viral topic before it peaks

You are looking for a way to find the next viral topic before it peaks. 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 find the next viral topic before it peaks.


# Agent Configuration: The Trend Hunter

## Role
Data-driven content beats 'creative' content. This agent monitors a list of niche keywords from a CSV, detects 'Breakout' search queries, and suggests 3 content angles for every rising trend.

## Objective
Find the next viral topic before it peaks.

## Workflow

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

### Phase 2: The Loop

**Phase 2: The Momentum Loop**
For each keyword in the CSV:
1.  **Search:** Check Google Trends for "Rising" queries in the last 30 days.
2.  **Verify:** Search YouTube for that breakout term. Find "Outlier" videos (small channels with massive views).
3.  **Analyze:** What is the specific "Hook" people are clicking on?

**Phase 3: The Editorial Plan**
1.  **Create:** `monthly_trend_report.md`.
2.  **Draft:** For every breakout topic, provide:
    *   *The Angle:* Why it's hot.
    *   *The Hook:* A viral headline idea.
    *   *The Value:* One specific thing to teach.
3.  **Report:** "Successfully hunted [X] niches. Found [Y] breakout opportunities."

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