The tech stack (what actually runs it)

Retell AI for voice, Twilio for WhatsApp, Resend for email, Python for parsing, Google Calendar API for booking.

2 min read

The actual tech stack

Core services

ServicePurposeCost/monthNotes
Retell AIVoice agent (calls + IVR)$20–200Best voice quality, handles Arabic/English switching
TwilioWhatsApp Business API$50–500Required for WhatsApp in UAE
ResendEmail sending (lead notifications)$0–20For agent notification emails
Python/FlaskEmail parser + orchestration$0Runs on a cheap VPS ($5–10 DigitalOcean)
Google Calendar APIBooking sync$0Free, standard OAuth
PostgreSQLLead + conversation storage$5–10Or even SQLite for MVP

Architecture diagram (text)

Portal Email → Resend → Python Parser → [Qualification Engine]
                                         ├─ Hot → Retell Call + Twilio WhatsApp
                                         ├─ Warm → Twilio WhatsApp only
                                         └─ Cold → Archive
                                         ↓
                              Calendar booking (Google API)
                                         ↓
                              CRM webhook (Zoho/HubSpot/Sheets)

Why these tools and not others

  • Retell AI (not ElevenLabs): Retell has built-in phone calling, not just TTS. The call actually connects to the lead's phone.
  • Twilio WhatsApp (not MessageBird): Twilio has better UAE WhatsApp Business API support and documentation.
  • Resend (not SendGrid): Resend has better deliverability for .ae domains and cheaper pricing.
  • Python (not Node.js): You're orchestrating I/O-heavy workflows. Python's async + regex parsing of messy portal emails is battle-tested.

Cost breakdown per client (Growth tier)

ComponentMonthly costYour margin
Retell AI$50AED 300 revenue, AED 180 cost
Twilio$80AED 300 revenue, AED 240 cost
Server (DO VPS)$10Shared across clients
Resend$5Shared across clients
Total cost$140~AED 2,300 margin per client

Key insight: the server never sends a lead

The server receives portal emails, parses them, and sends WhatsApp/calls. It never sends email to leads (avoids spam filters). All lead contact is via WhatsApp (read receipts) or voice calls (answering machine fallback).

AI Lead Automation · progress saved in this browser · sign in to sync across devices

Up next

Step 1 — Email parser

Resend inbound webhook that parses Bayut/PF emails into structured lead data.

2 min