This project is an AI-powered Food Ordering Chatbot designed to simulate a real-world food ordering and tracking experience. The chatbot allows users to place food orders conversationally, modify orders dynamically, complete orders, and track order status โ all through natural language interaction.
The system is built using Dialogflow ES for intent handling, FastAPI for backend webhook processing, and MySQL for persistent order storage.
This project demonstrates strong concepts in backend development, stateful conversations, API integration, and database-driven business logic.
๐งฉ Problem Statement
Traditional food ordering systems rely on rigid user interfaces and manual navigation.
This project explores how conversational AI can simplify the food ordering experience by allowing users
to place, modify, and track orders using natural language, while maintaining conversational state
and backend consistency.
โจ Key Features
๐ฃ๏ธ Natural language food ordering using Dialogflow
โ Add multiple food items with quantities
โ Remove items partially (e.g., remove 1 biryani from 2 biryani)
๐ Maintain session-based in-progress orders
๐ฆ Generate unique order IDs on order completion
๐ Track order status using order ID
๐๏ธ Persistent storage using MySQL & stored procedures
๐ Web-based chatbot UI using Dialogflow Messenger
๐ ๏ธ Tech Stack
- Frontend
- HTML
- CSS
- Dialogflow Messenger
- Backend
- Python
- FastAPI (Webhook Server)
- AI / NLP
- Dialogflow ES (Intents, Entities, Contexts)
- Dialogflow ES (Intents, Entities, Contexts)
- Database
- MySQL
- MySQL
๐ง System Architecture
User interacts with the chatbot through a web interface powered by Dialogflow Messenger.
Dialogflow processes user input using NLU and triggers a webhook request to the FastAPI backend.
The backend handles business logic, manages conversational state, and interacts with a MySQL database
for order persistence and tracking.
User (Browser)
โ
Dialogflow Messenger
โ
Dialogflow ES (NLU, Intents, Contexts)
โ
FastAPI Webhook (Python)
โ
MySQL Database
๐ธ Project Screenshots
New Order
Order Tracking








