com um clique
outreach-writer
// Generate personalized cold emails for scored leads. Creates subject lines, opening hooks, and follow-up sequences based on lead context and engagement.
// Generate personalized cold emails for scored leads. Creates subject lines, opening hooks, and follow-up sequences based on lead context and engagement.
| name | outreach-writer |
| description | Generate personalized cold emails for scored leads. Creates subject lines, opening hooks, and follow-up sequences based on lead context and engagement. |
Turn scored leads into personalized cold email sequences that convert.
# Generate emails for all A/B tier leads
./scripts/write.sh scored.json > emails.json
# Generate for specific tier
TIER_FILTER="A" ./scripts/write.sh scored.json > a_tier_emails.json
# Use custom offer/voice config
OFFER_CONFIG=my-offer.json ./scripts/write.sh scored.json > emails.json
# Claude API (recommended)
export ANTHROPIC_API_KEY="sk-ant-..."
# OR OpenAI
export OPENAI_API_KEY="sk-..."
Create offer-config.json:
{
"product": "First 1000 Kit",
"one_liner": "AI-powered GTM system that finds, scores, and reaches your first 1000 customers",
"pain_points": [
"Spending hours on manual prospecting",
"Cold outreach that gets ignored",
"No system for consistent lead gen"
],
"proof_points": [
"Built the system I used to land our first 50 customers",
"Runs for ~$30/month after setup"
],
"cta": "Want me to show you how it works?",
"sender_name": "Matt"
}
Expects output from icp-scorer:
{
"leads": [
{
"name": "Lisa Chen",
"headline": "Founder & CEO at GrowthLabs",
"company": "GrowthLabs",
"linkedin_url": "https://linkedin.com/in/lisachen",
"engagement_text": "We've been seeing similar results...",
"engagement_type": "comment",
"icp_score": 80,
"tier": "A"
}
]
}
{
"meta": {
"total_emails": 25,
"tier_a": 8,
"tier_b": 17,
"generated_at": "2026-02-14T15:00:00Z"
},
"emails": [
{
"lead": {
"name": "Lisa Chen",
"email": "lisa@growthlabs.com",
"company": "GrowthLabs",
"tier": "A"
},
"sequence": [
{
"step": 1,
"delay_days": 0,
"subject": "your take on ai results",
"body": "Hi Lisa,\n\nYour comment about AI results at agencies caught my eye — especially the point about knowing when to use AI vs human creativity.\n\nWe built a system that handles the repetitive GTM work (prospecting, scoring, outreach) so agency founders can focus on the creative strategy.\n\nWorth a quick look?\n\nBest,\nMatt"
},
{
"step": 2,
"delay_days": 3,
"subject": "re: your take on ai results",
"body": "Hi Lisa,\n\nQuick follow-up — I put together a 2-min walkthrough of how the system works.\n\nMight be useful for GrowthLabs if you're looking to scale without adding headcount.\n\n[Link]\n\nMatt"
},
{
"step": 3,
"delay_days": 7,
"subject": "re: your take on ai results",
"body": "Hi Lisa,\n\nNo worries if the timing isn't right — just wanted to leave the door open.\n\nIf lead gen ever becomes a bottleneck at GrowthLabs, I'm around.\n\nBest,\nMatt"
}
],
"personalization_notes": "Referenced her comment about AI vs human creativity. Positioned for agency founder context."
}
]
}
Tone: Smart friend who figured something out, not salesy pitch Length: Short. Every word earns its place. No: "Hope this email finds you well", "I'd love to pick your brain", "synergy" Yes: Direct, specific, human
# Full pipeline
./linkedin-miner/scripts/mine.sh "AI marketing" 20 > raw.json
./lead-enricher/scripts/profile-enrich.sh raw.json | \
./lead-enricher/scripts/enrich.sh > enriched.json
./icp-scorer/scripts/score.sh enriched.json > scored.json
./outreach-writer/scripts/write.sh scored.json > emails.json
# Load to Instantly
./instantly-loader/scripts/load.sh emails.json
Subject: quick thought on [topic]
Hi [First],
Your [comment/post] about [specific thing] resonated — [brief insight or agreement].
We built [product] to help [their situation]. [One specific benefit].
Worth exploring?
Best,
[Sender]
Subject: [company] + [topic]
Hi [First],
Saw your take on [topic] — [specific reference to their engagement].
[Company] seems like a fit for what we're building: [one-liner value prop].
Curious if this is on your radar?
[Sender]
Subject: re: [original subject]
Hi [First],
Quick follow-up — [new angle or asset].
[Short value add]
[Soft CTA]
[Sender]
Subject: re: [original subject]
Hi [First],
No worries if timing isn't right.
[Leave door open statement]
[Sender]
Generate comprehensive research briefs before sales calls. Pulls company info, recent news, prospect background, and suggests talking points.
Scan A-tier leads for buying signals using Perplexity deep research. Checks for funding, hiring, press, and growth indicators to prioritize the hottest prospects.
Verify email addresses before sending to protect deliverability. Uses Hunter.io verification API. Filters out invalid, disposable, and risky emails.
Score leads against your Ideal Customer Profile. Analyzes title, company, industry fit and assigns A/B/C/D tiers for prioritization.
Load leads and email sequences into Instantly.ai campaigns. Handles lead upload, custom variables, and campaign management.
Enrich leads with full LinkedIn profile data (RapidAPI) and verified work emails (Hunter.io + Apollo). Two-stage enrichment for maximum data capture.