# AI Outbound Engine From ICP definition to emails in inbox โ fully automated cold outbound. This skill category handles the complete cold outbound pipeline: defining your ideal customer profile, writing expert-scored email sequences, sourcing and verifying leads, deduplicating against existing campaigns, uploading to your email platform, and monitoring the competitive landscape. ## What's Inside ### ๐ฏ Cold Outbound Optimizer (`SKILL.md`) Full campaign design workflow: - **ICP Definition** โ structured template to define exactly who you're targeting - **Infrastructure Audit** โ pulls sending account inventory, warmup scores, and capacity math from Instantly - **Expert Panel Scoring** โ 10 simulated outbound experts score your copy (recursive until 90+/100) - **Sequence Copywriting** โ subject lines, body copy, follow-ups, breakup emails โ all Instantly-ready - **Capacity Planning** โ accounts ร daily limits = pipeline projections - **Implementation Docs** โ step-by-step launch plan Supports both "start from scratch" and "optimize existing campaigns" modes. ### ๐ฅ Lead Pipeline (`scripts/lead-pipeline.py`) End-to-end lead sourcing: 1. **Apollo People Search** โ pull leads matching your ICP criteria 2. **LeadMagic Verification** โ validate every email before sending 3. **Deduplication** โ check against existing Instantly leads + exclusion lists 4. **Upload to Instantly** โ batch upload with rate limiting and retry logic ### ๐ Competitive Monitor (`scripts/competitive-monitor.py`) Track competitors automatically: - Pricing page change detection (diff-based) - Blog post monitoring for recent content - Generates weekly competitive intelligence reports - Configurable competitor list โ add any company you want to track ### ๐ Cross-Signal Detector (`scripts/cross-signal-detector.py`) Find overlapping signals across multiple data sources: - Company overlap across SEO, sales, and outbound data - Vertical alignment detection - Keyword cluster correlation - Confidence-scored recommendations for coordinated action ### ๐ง Cold Outbound Sender (`scripts/cold-outbound-sender.py`) Sends approved outbound emails: - Reads from an approved prospects JSON file - Daily send limits (configurable) - Full send history tracking - Dry-run mode for testing ### ๐ง Instantly Audit (`scripts/instantly-audit.py`) Pull campaign health data from the Instantly v2 API: - Sending account inventory and warmup scores - Campaign performance (open rate, reply rate, positive reply rate) - Capacity math (conservative vs aggressive projections) - Flags: low warmup scores, underperforming campaigns, blockers ## Quick Start ### 1. Set Up Environment Variables ```bash cp .env.example .env # Fill in your API keys ``` ### 2. Install Dependencies ```bash pip install -r requirements.txt ``` ### 3. Run the Lead Pipeline ```bash python3 scripts/lead-pipeline.py \ --titles "VP Marketing,CMO,Head of Growth" \ --industries "SaaS,Marketing" \ --company-size "11,50" \ --locations "United States" \ --campaign-id "YOUR_CAMPAIGN_UUID" \ --volume 500 \ --dry-run ``` ### 4. Audit Your Instantly Account ```bash python3 scripts/instantly-audit.py --output report.md ``` ### 5. Monitor Competitors ```bash python3 scripts/competitive-monitor.py --output report.md ``` ### 6. Detect Cross-Signals ```bash python3 scripts/cross-signal-detector.py \ --data-dir ./data/agent-outputs \ --output cross-signals.json ``` ## Architecture ``` ICP Definition โ โผ Expert Panel Scoring (recursive โ 90+) โ โผ Apollo Search โ LeadMagic Verify โ Dedupe โ Instantly Upload โ โ โผ โผ Competitive Monitor โโโโโโโโโโโโโโโโบ Cross-Signal Detector โ โผ Weekly Intelligence Report ``` ## File Structure ``` outbound-engine/ โโโ README.md # This file โโโ SKILL.md # Claude Code skill definition โโโ .env.example # Environment variable template โโโ requirements.txt # Python dependencies โโโ scripts/ โ โโโ lead-pipeline.py # Apollo โ LeadMagic โ Dedupe โ Instantly โ โโโ instantly-audit.py # Instantly account health check โ โโโ competitive-monitor.py # Competitor tracking โ โโโ cross-signal-detector.py # Multi-source signal detection โ โโโ cold-outbound-sender.py # Send approved outbound emails โโโ references/ โโโ expert-panel.md # Default 10-expert scoring roster โโโ copy-rules.md # Cold email copywriting rules โโโ icp-template.md # ICP data collection template โโโ instantly-rules.md # Instantly variable syntax & deliverability rules ``` ## Requirements - Python 3.9+ - API keys: Apollo, LeadMagic, Instantly (see `.env.example`) - For the sender script: a configured email sending tool (e.g., `gog` CLI or SMTP) - Claude Code or similar AI coding agent (for running the SKILL.md workflow) ## Customization - **ICP**: Edit `references/icp-template.md` or provide parameters at runtime - **Expert Panel**: Swap panelists in `references/expert-panel.md` for your industry - **Competitors**: Configure the `COMPETITORS` dict in `competitive-monitor.py` - **Send limits**: Adjust `MAX_PER_DAY` in `cold-outbound-sender.py` - **Data sources**: Point `cross-signal-detector.py` at your own data directories ## License MIT ---