Tarcisio Corrêa • December 6, 2025

Agentic Booking Automation on WhatsApp with Twilio

From emotional triage to seamless scheduling, powered by Twilio.

While the AI space races forward with autonomous agents and advanced multimodal reasoning, sometimes the technology that matters most is the one that helps a human feel understood.


ReviverIA was born from that principle.


Originally designed to support families affected by the floods in Rio Grande do Sul(Brazil) and Valencia(Spain), ReviverIA became a proof-of-concept for something bigger: an empathetic WhatsApp-first receptionist that listens, comforts, and books appointments with mental-health professionals, instantly.


No apps.
No forms.
No friction.
Just a safe space… available the moment someone reaches out.


🧠 1 The Problem


When people are overwhelmed, by grief, anxiety, displacement, or trauma, the hardest part is often the first step: asking for help.


Traditional care pathways rely on:

  • Websites with complex navigation
  • Forms with cold, clinical language
  • Delayed human reply times
  • Long waiting periods before the first conversation


But vulnerable people don't open websites.
They open WhatsApp.


So the real question became:


What if the first point of contact for emotional support could be a compassionate, intelligent WhatsApp agent, one that welcomes, understands, and connects a person to the right professional within minutes?


🤖 2 The Solution(User experience)


ReviverIA v1 works with a simple but powerful flow:


  1. The user initiates a conversation, often in distress or confusion.
  2. The Triage Agent receives the message, responds with empathy, and identifies the type of support needed.
  3. If emotional care is required, the user is gently routed to ReviverIA, the empathetic companion agent. A few rounds of warm, grounding interaction help create psychological safety.
  4. When the user is ready, they transition to the Booking Agent, which collects time preferences and personal details.
  5. The agent fetches real-time availability from Cal.com, proposes slots, and…
  6. Books the appointment automatically, sending confirmation, reminders, and storing the session data internally.


The entire journey happens in under two minutes, but feels human, calm, and supportive.



🎛️ 3 System Architecture


Even though ReviverIA is an emotional product, the underlying architecture is intentionally lightweight and robust. It leverages the same foundations as my previous WhatsApp quizbot work, Twilio for messaging, Python on Anvil, and structured data storage, but now with OpenAI’s Agents SDK coordinating multiple autonomous agents.



📞 Twilio Studio Flow


Handles all inbound and outbound messaging with near-instant delivery, critical when someone is seeking support.



🧑‍💻 OpenAI Agentic System


Our three-agent model:

  • Triage Agent
    Detects intent, provides empathetic grounding, and routes to the correct agent.
  • ReviverIA (Empathy Agent)
    Engages the user with supportive conversation, reducing emotional friction before the booking step.
  • Booking Agent
    Collects structured information, validates dates, and executes the scheduling flow.


Tools the agents can call:

  • date_parser → Converts natural language (“mañana por la tarde”) into ISO 8601 UTC.
  • get_available_slots → Fetches open times from Cal.com.
  • book_appointment → Creates the appointment via API.
  • save_booking_date → Logs the booking internally.



🗄️ Internal Data Tables


To keep the system simple and secure, all state lives in:

  • chat_history
  • user_sessions
  • qa
  • scheduling


No external databases. No complex orchestration.
Just a clean, agent-ready state layer.



  • Título do Slide

    Agentic Architecture

    Botão


💡 Why This Matters: Empathy + Automation


This project reminded me of something fundamental:


AI is not just about intelligence, it’s about access.


When designed intentionally, an AI agent can:

  • reduce emotional barriers
  • make care more immediate
  • remove operational friction for professionals
  • and empower communities in crisis


ReviveriA v1 is still a prototype, but it's already demonstrating how agentic systems + WhatsApp + smart scheduling can transform the front door of mental-health care.


And beyond mental health, this architecture can power:

  • hospital reception
  • community support lines
  • social services triage
  • crisis hotlines
  • NGO intake flows
  • private-practice onboarding


Anywhere humans need a warm first contact, ReviverIA’s structure can be adapted.


This is exactly the type of work I love building:
agentic systems that solve real problems with empathy, simplicity, and great engineering.


🗣️ Let's Connect


If you're exploring agentic automation, empathetic interfaces, or WhatsApp-first user journeys, I’d love to exchange ideas.


Send me a DM on
LinkedIn if you'd like the architecture or code details


Healthcare teams / NGOs: want to test a version for your community? Let’s talk.