Volver a proyectos
demo 2026 Diseño y desarrollo backendBackend design and development

Bot de turnos por WhatsAppWhatsApp booking bot

El paciente saca, consulta y cancela turnos desde WhatsApp. Recordatorio automático, cancelación si no confirma y seña online.Patients book, check and cancel appointments on WhatsApp. Automatic reminders, cancellation if they don't confirm, and online deposits.

Bot de turnos por WhatsApp

El desafío

Los pacientes no quieren descargar una app ni llamar en horario de oficina: quieren escribir por WhatsApp. Y al centro médico lo que más le cuesta son los turnos a los que nadie va.

La solución

Un asistente de WhatsApp que atiende solo, las 24 horas:

  • Sacar turno: el paciente elige especialidad, profesional, tipo de consulta y uno de los próximos horarios libres, todo respondiendo con un número.
  • Mis turnos y cancelar: consulta sus turnos y cancela desde el mismo chat.
  • Recordatorio con confirmación: antes del turno le llega un aviso. Si no confirma a tiempo, el turno se cancela y el horario vuelve a quedar libre para otro paciente. El plazo es configurable.
  • Seña: el paciente puede pagar una seña desde un link; un turno pagado nunca se cancela solo.
  • Avisos del centro: si la recepción cancela o reprograma desde el panel, el paciente se entera por WhatsApp.

Lo técnico

  • Menú guiado, sin IA: no consume tokens, responde al instante y no inventa horarios. Se le puede sumar IA para entender mensajes libres.
  • Conectado a una base de datos real: cada turno que saca el paciente queda guardado y aparece en el panel del centro.
  • Webhook de Twilio con verificación de firma, dentro del mismo backend en NestJS, sin herramientas intermedias.
  • Las reglas de disponibilidad las decide el backend: el bot nunca ofrece un horario ocupado y la doble reserva se bloquea en la base.

La demo corre en el sandbox de WhatsApp de Twilio, con datos de prueba y pago simulado.

The challenge

Patients don’t want to download an app or call during office hours: they want to text on WhatsApp. And what costs a medical center the most are the appointments nobody shows up to.

The solution

A WhatsApp assistant that works on its own, 24/7:

  • Book: the patient picks specialty, doctor, type of visit and one of the next free slots, all by replying with a number.
  • My appointments and cancel: check and cancel from the same chat.
  • Reminder with confirmation: a message arrives before the appointment. If the patient doesn’t confirm in time, it’s cancelled and the slot is freed for someone else. The window is configurable.
  • Deposit: patients can pay a deposit through a link; a paid appointment is never auto-cancelled.
  • Clinic notices: when the front desk cancels or reschedules from the panel, the patient is notified on WhatsApp.

Under the hood

  • Guided menu, no AI: zero token cost, instant replies and no made-up slots. AI can be added to understand free-form messages.
  • Backed by a real database: every booking is stored and shows up in the clinic’s panel.
  • Twilio webhook with signature verification, inside the same NestJS backend, with no middleware tools.
  • Availability rules live in the backend: the bot never offers a taken slot and double bookings are blocked at the database level.

The demo runs on Twilio’s WhatsApp sandbox with test data and simulated payments.

Versión mobile

Capturas