Project Case Study
Yoyo Bakery Bot
WhatsApp auto-order bot with AI NLU, delivery dispatch, and real-time admin dashboard.
About the Project
A production WhatsApp business bot handling 100+ daily orders for Yoyo Bakery. The system replaces manual order-taking with an AI-driven conversational pipeline: • NLU parser powered by Gemini AI (gemini-3.1-flash-lite) that extracts product names, quantities, and customer intent from natural Indonesian language — including ambiguous multi-product templates, out-of-stock handling, and payment confirmation flows. • Session-based conversation management with state machine (IDLE → WAITING_ORDER → PAYMENT → ACKNOWLEDGE). • Lalamove API integration for delivery dispatch with HMAC webhook verification. • PWA admin dashboard for real-time order monitoring, stock management, and customer analytics. Built on Baileys (WhatsApp Web protocol) with Supabase PostgreSQL, Express.js, and PM2 process management. Served behind Nginx with SSL via yoyobolen.cloud.