B2B Lead Gen Agent for a Consultant
A Telegram-controlled AI agent that finds prospects, writes cold emails in the consultant's voice and books meetings.
Overview
A management consultant wanted a steady flow of discovery calls without spending hours prospecting. We deployed an AI agent on a secured VPS that he controls from Telegram: it sources leads, finds their emails, drafts personalised outreach for his approval, sends from his own Google Workspace and books Google Meet calls.
The Challenge
Prospecting, writing outreach and chasing replies took time he wanted to spend on client work, and anything sent had to sound like him.
The Solution
Lead sourcing
From Google Maps by business type and city, plus a website crawler for missing emails.
Cold emails in his voice
Filtered against everyone already contacted.
Approval gate
Every draft goes to Telegram first; nothing sends without APPROVE.
Reply handling and booking
Drafts follow-ups and creates Google Meet calls on his calendar, plus a morning summary.
How It Works
Telegram command
Maps scrape + email finder
Dedupe vs contacted
AI drafts in his voice
Approve on Telegram
Gmail send → Meet booking
Architecture
Agent framework
One skill orchestrating sub-agents for outreach, inbox and booking.
Scraper
Docker-based Google Maps scraper plus a custom website email scraper.
Gmail API with OAuth for sending and inbox monitoring.
Calendar
Google Calendar API creating Meet links in his time zone.
Interface
Telegram bot for commands and approvals.
Server
Contabo VPS with security hardening and daily automatic updates.
Engineering Highlights
- Human-in-the-loop by design: the consultant approves every email before it goes out.
- Full pipeline tested end to end on real local data before handover.
- Fixed CPU spikes and Telegram timeouts by tuning model thinking mode and clearing a stale webhook.
- Delivered with written documentation.
Outcome
- Delivered and running on the client's own server.
- Prospecting to booked meeting handled from one Telegram chat.