Note: "Sabor Colombiano" is a fictional restaurant created for demonstration purposes.
WhatsApp chatbot for "Sabor Colombiano", a traditional Colombian cuisine restaurant. Built with n8n and the Kapso API.
- Reservations: Customers can book a table via WhatsApp
- Inquiries: Information about the menu, hours, location, and payment methods
- Delivery: Links to delivery platforms (Rappi, Uber Eats)
- Human handoff: Escalates to a live agent when needed
WhatsApp → Kapso → n8n Workflow → AI Agent (Gemini) → Response to customer
↓
PostgreSQL (message history)
Google Sheets (reservations)
- Webhook receives a WhatsApp message via Kapso
- Message is saved to PostgreSQL
- 3-second debounce for multiple rapid messages
- AI Agent processes the message with conversation history context
- If it's a reservation, it's saved to Google Sheets
- Response is sent to the customer via Kapso
- n8n: Workflow orchestration
- Kapso: WhatsApp Business API
- OpenRouter + Gemini 2.5 Flash: Language model
- PostgreSQL: Message persistence
- Google Sheets: Reservation records
Required environment variables:
KAPSO_API_KEY: Kapso API key
MIT