Autonomous AI Marketing Employee
A fully self-operating system that hunts leads, sends cold emails, monitors replies in real-time, posts to social media via official APIs, and generates weekly business intelligence — all without human intervention.
Live Pipeline Stats
Updated: 3:39:52 PMSystem Architecture
GitHub Actions (Daily Cron)
└─ orchestrator.js ─────────────────────────────────── Master Pipeline
│
├─ Step 1: Process Approved Vault Posts
│ └─ AI_Employee_Vault/Approved/*.md → LinkedIn API + Facebook API
│
├─ Step 2: Check Email Replies (IMAP)
│ └─ email-watcher.js → classifyEmail() → Needs_Action/emails/
│
├─ Step 3: Prospect Hunting
│ ├─ prospect-hunter.js → SerpAPI + Apollo.io (owner contacts)
│ └─ free-prospect-sources.js → Google CSE + web scraping
│
├─ Step 4: Email Outreach
│ └─ email-sender.js → Brevo API → 300 emails/day (6 templates)
│
├─ Step 5: Blog → Social Media
│ └─ blog-to-social.js → social-api-poster.js → LinkedIn + Facebook
│
├─ Step 6: WhatsApp Lead Generation
│ └─ whatsapp-lead-generator.js → phone extraction → wa.me links
│
└─ Step 7: CEO Briefing + Dashboard Update
└─ ceo-briefing.js → Briefings/*.md + Dashboard.mdProspect Database — Niche Breakdown
GitHub Actions Workflows
daily-blog-automation.yml
- 01.Groq AI generates 2 blog posts
- 02.Commits to GitHub
- 03.Vercel deploys + ISR revalidates
- 04.Posts to social media
daily-client-acquisition.yml
- 01.Process approved vault posts
- 02.Check IMAP email replies
- 03.Hunt 50+ new prospects
- 04.Send 300 emails (initial + follow-up)
- 05.Post to LinkedIn + Facebook
- 06.Generate WhatsApp leads
- 07.Update CEO briefing + dashboard
email-automation-cron.yml
- 01.Next.js API route trigger
- 02.Follow-up sequence scheduler
- 03.Reply rate tracking
Active Modules — automation-system/src/
Tech Stack
Frontend
Backend
AI / LLM
APIs
Database
DevOps
Key Engineering Decisions
Official APIs over Browser Automation
Replaced Playwright (fragile, blocked by anti-bot) with LinkedIn v2 UGC API and Facebook Graph API v22. Result: 100% reliability in CI/CD environments, no browser installation needed.
Human-in-the-Loop by Design
AI generates social posts → saves to Pending_Approval/ folder → human moves to Approved/ → orchestrator auto-publishes. Full auditability without giving AI unchecked posting rights.
Graceful Degradation
Each of the 7 orchestrator steps is wrapped in try/catch. If LinkedIn API fails, the email step still runs. If SerpAPI quota is hit, fallback to Google CSE. System never fully stops.
Cost-Optimized from Day One
Built entirely on free tiers: Apollo (10K contacts/month), Brevo (300 emails/day), Google CSE (100 searches/day), Vercel (free hosting). Monthly operating cost: $0.
AI Employee Vault Status
Want this built for your business?
This entire system was built by one developer — from architecture to deployment. Available for freelance contracts, remote positions, and consulting engagements.