TheraFlow
WhatsApp AI platform that qualifies leads and books appointments — while you sleep.
Overview
A full-stack WhatsApp automation platform that turns incoming messages into qualified leads, booked appointments, and handled support tickets — powered by LLM-driven conversation agents that sound human and follow your business rules.
The Problem
What wasn't working
Small businesses in Brazil were losing leads because they couldn't respond to WhatsApp messages fast enough. A therapy practice was getting 40+ daily inquiries but could only respond to half before prospects went cold.
The Solution
How I solved it
I built an AI-powered WhatsApp platform where each business gets a custom conversational agent trained on their services, pricing, and tone. The bot qualifies leads, answers FAQs, and books appointments directly — escalating to a human only when needed.
Process
Step by step
Mapped real WhatsApp conversation flows from the first client
Built the LLM pipeline with configurable personality and business rules
Developed the React admin dashboard for conversation monitoring
Created a simulator with 72 real-world scenarios for quality assurance
Deployed with Docker and Cloudflare tunnels for zero-config client setup
Iterated the AI responses based on actual conversion data
Challenges
What made it hard
Making the AI sound natural in Brazilian Portuguese while following strict business rules required extensive prompt engineering and real conversation training data.
Handling message bursts during peak hours without dropping messages demanded a robust queue system with retry logic.
Results
The impact
2x more leads captured
Instant responses mean no lost prospects — even at 2am.
260 tests, 0 failures
72 real-world conversation scenarios validated before launch.
< 5s response time
Prospects get intelligent replies within seconds, not hours.
Scalable multi-tenant
Each client gets their own bot personality, rules, and conversation flow.
Gallery
Visual walkthrough
Admin Dashboard
Conversation Flow
Analytics & Reports