Create cold email campaigns in Instantly with A/B testing. Use when user asks to create email campaigns, set up cold outreach, build email sequences, or configure Instantly campaigns.
Create three email campaigns in Instantly based on a client description and offers. Each campaign has A/B tested first emails and follow-up sequences.
./scripts/instantly_create_campaigns.py - Creates campaigns via Instantly API./scripts/read_sheet.py - Read lead data if neededRead .tmp/instantly_campaign_examples/campaigns.md for inspiration on personalization + social proof + offer structure.
python3 ./scripts/instantly_create_campaigns.py \
--client_name "ClientName" \
--client_description "Description of the client..." \
--offers "Offer 1|Offer 2|Offer 3" \
--target_audience "Who we're emailing" \
--social_proof "Credentials/results to mention"
The script creates 3 campaigns (one per offer), each with:
{{icebreaker}} or custom opener){{firstName}} - Lead's first name{{lastName}} - Lead's last name{{companyName}} - Lead's company{{casualCompanyName}} - Informal company name{{icebreaker}} - AI-generated icebreaker{{sendingAccountFirstName}} - Sender's first name{
"status": "success",
"campaigns_created": 3,
"campaign_ids": ["id1", "id2", "id3"],
"campaign_names": ["Campaign 1", "Campaign 2", "Campaign 3"]
}
Requires in .env:
INSTANTLY_API_KEY=your_key
ANTHROPIC_API_KEY=your_key
name field in each schedule objectAmerica/Chicago (not all IANA values work)<p> tagsclaude-opus-4-5-20251101 for generation| Name | Type | Required | Description |
|---|---|---|---|
client_name | string | Yes | Client company name |
client_description | string | Yes | Company description and value proposition |
offers | string | No | Pipe-separated offers (auto-generated if missing) |
target_audience | string | Yes | Who we're emailing |
social_proof | string | Yes | Credentials/results to mention |
| Name | Type | Description |
|---|---|---|
campaign_ids | array | 3 Instantly campaign IDs |
campaign_names | array | Campaign names |
| Name | Source |
|---|---|
INSTANTLY_API_KEY | .env |
ANTHROPIC_API_KEY | .env |
Skills that chain well with this one: scrape-leads, gmaps-leads, casualize-names, onboarding-kickoff
Claude API + Instantly plan