AI Automation & Cloud InfrastructureFree web calculator
WhatsApp & Telegram Voice-to-Avatar Omnichannel Agent (5-in-1 Agency Kit)
Calculate exact agency retainer margins, optimize API token burn across ElevenLabs and HeyGen, cut execution costs by 78% using self-hosted Docker VPS infrastructure, and deploy turnkey omnichannel voice-to-video workflows.
Free · No signup · Runs in your browserCalculator
What if? 4 scenarios
Scales Active Agency Retainer Clients (Units) and Monthly Retainer Fee per Client ($ USD) by ×0.8, ×1.0, ×1.2 and ×1.5. Other inputs stay as you set them.
| Metric | Conservative ×0.8 | Base ×1 | Growth ×1.2 | Aggressive ×1.5 |
|---|---|---|---|---|
| Calculating… | ||||
WhatsApp & Telegram Voice-to-Avatar Omnichannel Agent (5-in-1 Agency Kit)
- Offline Interactive Pro Simulator & 4-Scenario Matrix (.html)
- Google Sheets & Excel 4-Scenario Financial Model (.tsv / .csv)
- Google Sheets Custom Automation Apps Script (.gs)
- Ready-to-Import n8n / Make.com Automation Blueprint (.json)
- Executive SOP Checklist & Copy-Paste AI Agent System Prompts (.md)
Take the toolkit with you
Templates, prompts and the full workflow as a ZIP.
Automate this workflow free with Make.com
Turn spreadsheets like this into automated reports and alerts without code. Free plan available.
Affiliate link: we may earn a commission at no extra cost to you.
Step-by-step workflow
-
1. Provision Self-Hosted Docker VPS & Evolution API
Deploy an Ubuntu Docker instance on Hostinger Cloud VPS (NVMe KVM 4 or 8) to run n8n and Evolution API side-by-side without per-operation limits. Configure Nginx reverse proxy with SSL so your WhatsApp and Telegram webhooks execute with sub-100ms latency.
-
2.Ingest & Transcribe Omnichannel Voice Notes
Connect your Telegram Bot and WhatsApp Evolution API webhook triggers into n8n or Make.com to capture incoming client voice messages. Route the audio binary directly to OpenAI Whisper or ElevenLabs Speech-to-Text to extract clean conversational intent.
-
3. Query Vector Knowledge Base (RAG) for Context
Pass the transcribed user query through an n8n AI Agent node linked to a Supabase PGVector or Pinecone store containing your client's pricing, FAQs, and product catalog. Generate a structured JSON response containing both a short spoken script and a visual summary.
-
4. Synthesize Low-Latency Cloned Audio via ElevenLabs
Send the generated spoken reply to the ElevenLabs Turbo v2.5 API endpoint using your client's cloned voice ID. Convert the returned MP3 buffer into an OGG Opus voice note so it plays natively inside WhatsApp and Telegram as a real-time recorded voice reply.
-
5. Trigger On-Demand HeyGen Video Pitch for High-Intent Leads
When the RAG agent scores lead buying intent above 80%, fire an asynchronous webhook to HeyGen API v2 to render a personalized 30-second avatar video addressing the prospect by name. Poll the render status on your unlimited VPS workflow and deliver the MP4 directly into the chat thread.
Ready-to-use AI prompts
Prompt
You are an elite B2B executive assistant replying to incoming WhatsApp and Telegram voice notes. Analyze the user's transcribed message and retrieved knowledge base context. Output strictly valid JSON with keys: 'voiceReplyScript' (natural, conversational text under 65 words optimized for ElevenLabs TTS with subtle pauses), 'leadIntentScore' (integer 1-100), and 'triggerHeyGenPitch' (boolean, true only if the user asks for pricing, demos, or custom proposals).
Prompt
Act as a high-converting B2B video sales scriptwriter. Using the prospect's name, company domain, and core pain point extracted from our chat history, write a 40-second personalized script for a HeyGen AI Avatar video. Keep sentences punchy, avoid complex jargon that breaks lip-syncing, and end with a clear call-to-action to book a discovery call via the link below the video.
Prompt
You are a Principal AI Solutions Architect pricing a custom WhatsApp + Telegram Voice & Avatar Agent for a prospective client. Based on their estimated monthly message volume, calculate a 3-tier monthly retainer proposal (Growth, Scale, Enterprise) that guarantees at least a 75% gross margin after accounting for Hostinger VPS hosting, Make/n8n maintenance, ElevenLabs character quotas, and HeyGen avatar credits.