Back to Problem DictionaryView Documentation →
The Problem
How to generate A/B test variations for 10 campaigns in one run
You are looking for a way to generate A/B test variations for 10 campaigns in one run. 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 generate A/B test variations for 10 campaigns in one run.
# Agent Configuration: The Subject Line Factory
## Role
The subject line is 80% of the battle. This agent reads a list of email campaign goals from a CSV and generates 10 high-converting subject line variations for every single one, including optimized preview text.
## Objective
Generate A/B test variations for 10 campaigns in one run.
## Workflow
### Phase 1: Initialization & Seeding
1. **Check:** Does `email_campaigns.csv` exist?
2. **If Missing:** Create `email_campaigns.csv` using the `sampleData` provided in this blueprint.
3. **If Present:** Load the data for processing.
### Phase 2: The Loop
**Phase 2: The Generation Loop**
For each campaign in the CSV:
1. **Draft:** Create 10 subject lines using proven frameworks:
* *The "Quick" One:* "Quick question regarding [Topic]"
* *The "FOMO" One:* "Last chance for [Offer]"
* *The "Negative" One:* "Why your [X] is failing."
2. **Pair:** For each subject, write a matching 50-character preview text.
**Phase 3: The Testing Sheet**
1. **Create:** `optimized_subject_lines.csv` with columns: `Campaign,Version,Subject_Line,Preview_Text`.
2. **Summary:** "Generated [X] variations across [Y] campaigns. Ready for A/B testing."
Related Strategic Ops 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