AI Systems
WhatsApp Food Ordering Bot
Video coming soon
Walkthrough in production
Overview
A white-label conversational ordering system that runs entirely inside WhatsApp. The ordering engine is written once and stays the same for every restaurant; everything that makes a restaurant unique (menu and variants, sides and drinks, opening hours, delivery zones and fees, payment keys, staff contacts, and the assistant's tone) lives in that restaurant's own configuration. Launching for a new restaurant means filling in its config and spinning up a separate deployment, not rewriting code. Each deployment has its own WhatsApp number, database, and credentials, so restaurants never share customer data.
The Problem
Restaurants want to take orders on WhatsApp, where their customers already are, without building a native app or pushing customers to a separate website. Off-the-shelf options are either keyword bots with no intelligence or app-redirect flows that break the WhatsApp experience, and custom builds are usually hard-wired to one restaurant's menu, so every new restaurant means starting over.
How It Works
- 01
Restaurant config: Each deployment loads its restaurant profile (menu, dish variants, sides, complimentary items, prices, hours, delivery rules, branding, and staff contacts) from configuration, so the same code serves any restaurant.
- 02
Greeting and AI chat: Free-text messages are answered by Claude Haiku, grounded in that restaurant's live menu and kept on-topic. A 'Place an Order' button enters the ordering flow.
- 03
Order building: A finite-state-machine flow walks the customer through dishes, variants, quantities, per-plate sides, and add-on drinks, driven entirely by the restaurant's menu config.
- 04
Cart confirmation: A full itemized summary with a correction menu to edit a plate, remove a plate, add more, or cancel.
- 05
Customer details: Name and delivery address, with returning customers recognized by phone number and offered their saved address.
- 06
Delivery quote: The address is geocoded via Google Maps and priced with a fallback chain (courier quote, then zone pricing, then road distance, then a flat fee), using the rules each restaurant sets.
- 07
Payment: A checkout link from the restaurant's own payment account (Paystack), verified server-side before the order is accepted.
- 08
Fulfillment: On confirmed payment, the order is saved, a courier is dispatched (Chowdeck), and the restaurant's staff are notified.
- 09
Operational guardrails: Business-hours enforcement, mid-order resume, order history via 'my orders', and a global cancel/restart from any state.
Outcome
- One codebase, many restaurants: onboarding a new restaurant is a configuration and deployment task, not a rebuild.
- Isolated deployments per restaurant (own WhatsApp number, database, and keys), so customer data and payments never mix.
- Full ordering flow from first message to dispatched rider, inside WhatsApp.
- Stateless and horizontally scalable, with session state in the database rather than in memory.
- Built on the Meta WhatsApp Cloud API, with a Twilio path also available.