AI-Powered WhatsApp Chatbot for Restaurants
detail.loadingPreview
Deploy an intelligent WhatsApp chatbot to automate customer inquiries for your restaurant. This workflow leverages AI to answer questions about timings, menus, services, and locations, and even handles table bookings directly into your database, providing instant confirmations.
About This Workflow
This n8n workflow creates a powerful, AI-driven WhatsApp chatbot specifically designed for restaurants. It intelligently processes incoming customer messages using a large language model (LLM) powered by Ollama and Langchain, understanding natural language queries about menu items, operating hours, special offers, location, and services. Beyond just answering frequently asked questions, the chatbot is capable of detecting booking requests, seamlessly creating new table reservations in a PostgreSQL database, and instantly sending booking confirmations back to the customer via WhatsApp. This automation frees up staff time, ensures 24/7 customer support, and enhances the overall customer experience by providing quick, accurate, and personalized responses.
Key Features
- AI-Powered Customer Interaction: Utilizes an LLM (Ollama) via Langchain to understand and respond to diverse customer queries naturally.
- 24/7 WhatsApp Support: Provides instant answers to FAQs like restaurant timings, menu details, location, and services directly over WhatsApp.
- Automated Table Bookings: Intelligently identifies booking requests, creates new reservations in a PostgreSQL database, and sends immediate confirmations.
- Customizable AI Persona: Configured with a friendly restaurant chatbot persona to ensure polite and relevant interactions.
- Scalable & Extensible: Built on n8n, allowing for easy customization and integration with other systems.
How To Use
- Set up WhatsApp Credentials: Configure your WhatsApp Business API credentials in n8n for both the
Receive WhatsApp Messagetrigger andSend Reply to Customer/Send Booking Confirmationnodes. - Configure Ollama LLM: Ensure your Ollama server is running and configure the
Ollama accountcredentials for theGenerate Reply with AInode. This node powers the AI's understanding and response generation. - Customize AI Agent Instructions: Open the
Extract Customer Querynode's parameters and adjust thesystemMessageto tailor the chatbot's personality, restaurant-specific information, and how it should handle different query types. - Connect PostgreSQL Database: Set up your PostgreSQL database credentials for the
Create New Table Bookingnode. Update the table and column names to match your booking schema. - Refine Booking Detection: Modify the
Check If Table Booking Requirednode's condition to accurately detect booking intents based on the output of theExtract Customer Querynode. Note: The placeholder 'add_your_value_here' needs to be replaced with the actual output field or value indicating a booking. - Activate Workflow: Once configured, activate the workflow to bring your WhatsApp chatbot online.
Apps Used
Workflow JSON
{
"id": "f73883ef-7793-4e8e-92e9-8fc5b2c9f3f2",
"name": "AI-Powered WhatsApp Chatbot for Restaurants",
"nodes": 21,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: f73883ef-7793...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Related Workflows
Discover more workflows you might like
Google Sheets to Icypeas: Automated Bulk Domain Scanning
This workflow streamlines the process of performing bulk domain scans by integrating your Google Sheets data directly with the Icypeas platform. Automate the submission of company names from your spreadsheet to Icypeas for comprehensive domain information, saving valuable time and effort.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.