Skip to content
w1r3d.dev
Back to WorkAI

TheraFlow

WhatsApp AI platform that qualifies leads and books appointments — while you sleep.

PythonFastAPIReactPostgreSQLOpenAIDocker

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

01

Mapped real WhatsApp conversation flows from the first client

02

Built the LLM pipeline with configurable personality and business rules

03

Developed the React admin dashboard for conversation monitoring

04

Created a simulator with 72 real-world scenarios for quality assurance

05

Deployed with Docker and Cloudflare tunnels for zero-config client setup

06

Iterated the AI responses based on actual conversion data

Challenges

What made it hard

1

Making the AI sound natural in Brazilian Portuguese while following strict business rules required extensive prompt engineering and real conversation training data.

2

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

Want results like these?

Let's talk about what I can build for your business.

View More Work