generate_variants
generate_variants prepares subject line options for an email marketing experiment. An AI agent can start from a campaign brief, expand seed lines, or pass finished copy straight through — marginal tags each variant for later performance analysis.
When to use it
- Cart recovery or promotional sends where the agent needs multiple subject lines to test
- Expanding a single strong line into a set of strategic alternatives
- Passing agent-written subject lines without rewriting them
Example (brief)
{
"brief": {
"product": "Linen throw blanket",
"audience": "Cart abandoners from the last 7 days",
"goal": "Recover checkout",
"brand_voice_notes": "Warm, premium, not pushy"
},
"count": 3
}
Example (your copy)
{
"source_variants": ["Your cart is saved", "Still thinking about it?"],
"count": 2
}
Next step
Pass returned variants to launch_test to send a split test. See the full agent workflow.