Caso de estudio Case study
Refugio Ilón · Bot de WhatsApp con IA
Full-stack Developer · Kensiweb Full-stack Developer · Kensiweb
Bot conversacional en WhatsApp con Claude como backend, integrado con la WhatsApp Cloud API para gestionar consultas y reservas del Refugio Ilón en Bariloche. Conversational WhatsApp bot powered by the Claude API and integrated with the WhatsApp Cloud API to manage inquiries and bookings for Refugio Ilón in Bariloche.
01. El desafío The challenge
El Refugio Ilón, ubicado en Bariloche, recibía decenas de consultas diarias por WhatsApp sobre disponibilidad, precios y reservas. El volumen era imposible de manejar manualmente y la falta de respuestas rápidas hacía perder reservas constantemente. Necesitaban un bot conversacional que entendiera lenguaje natural, gestionara el ciclo completo de reserva y pasara la verificación de Meta Business para operar en producción. Refugio Ilón, a mountain shelter in Bariloche, received dozens of daily WhatsApp inquiries about availability, pricing and bookings. The volume was impossible to handle manually, and slow responses meant constant lost reservations. They needed a conversational bot that understood natural language, managed the full booking cycle, and passed Meta Business verification to operate in production.
02. Proceso creativo Creative process
A. Diseño conversacional A. Conversational design
Diseñé el flujo de conversación con manejo de contexto: el bot entiende consultas sobre disponibilidad, precios por noche, capacidad de habitaciones y fechas. Implementé estados conversacionales para mantener el hilo sin perder información entre mensajes. I designed the conversation flow with context management: the bot understands inquiries about availability, nightly rates, room capacity and dates. I implemented conversational states to keep the thread going without losing information between messages.
B. Integración con WhatsApp Cloud API B. WhatsApp Cloud API integration
Integré la WhatsApp Cloud API con webhooks para recibir y enviar mensajes en tiempo real. Configuré el sistema de templates para mensajes proactivos y pasé el proceso de verificación de Meta Business, requisito obligatorio para cuentas de producción. I integrated the WhatsApp Cloud API with webhooks to send and receive messages in real time. I set up the template system for proactive messages and passed Meta Business verification — a mandatory requirement for production accounts.
C. Backend con Claude API C. Claude API backend
Claude funciona como el cerebro del bot: recibe el mensaje del usuario, lo procesa con el contexto de la conversación y el estado de la reserva, y genera respuestas naturales. Implementé system prompts que definen la personalidad del refugio y las reglas de negocio. Claude acts as the bot's brain: it receives the user's message, processes it with conversation context and booking state, and generates natural responses. I implemented system prompts that define the shelter's personality and business rules.
D. Persistencia en PostgreSQL D. PostgreSQL persistence
Cada conversación, reserva y estado se persiste en PostgreSQL. Esto permite retomar conversaciones interrumpidas, llevar un historial completo y generar reportes de consultas para el dueño del refugio. Every conversation, booking and state is persisted in PostgreSQL. This allows resuming interrupted conversations, keeping a full history, and generating inquiry reports for the shelter owner.
03. Resultado final Final outcome
Bot funcional en producción con verificación Meta Business aprobada. El sistema gestiona consultas 24/7 de forma autónoma, liberando al personal del refugio para tareas operativas. La arquitectura está diseñada para escalar horizontalmente y adaptarse a otros refugios de montaña como producto SaaS. Production-ready bot with Meta Business verification approved. The system handles inquiries 24/7 autonomously, freeing shelter staff for operational tasks. The architecture is designed to scale horizontally and adapt to other mountain shelters as a SaaS product.