Automate Restaurant Customer Service with WhatsApp and Llama AI Chatbot
VerifiedAI chatbot automates restaurant WhatsApp queries, bookings, and responses via Llama.
What this workflow does
This workflow connects WhatsApp Business Cloud with an AI Agent and Ollama Chat Model to handle incoming customer messages, manage table bookings, and deliver menu or hours information while logging interactions in Postgres.
It is designed for restaurants seeking to automate customer service on WhatsApp without manual oversight.
Who is this for?
Restaurant owners, managers, and small hospitality teams who handle customer queries via WhatsApp and want to reduce manual replies.
What problem it solves
Staff spend too much time answering repetitive WhatsApp messages about bookings, menus, hours, and offers, leading to slow responses and missed opportunities.
Live workflow preview
Interactive canvas of every node and connection — scroll and click to explore. Powered by n8n's preview.
Open the template on n8n to import and run it. View source template →
What it automates
Table booking requests
Customer asks for a table on Friday; AI confirms availability via Postgres and sends booking confirmation.
Menu and dietary questions
User inquires about vegan options and prices; chatbot pulls details and replies instantly on WhatsApp.
Hours and offers queries
Customer wants opening times or current promotions; workflow returns stored info without staff involvement.
How the workflow works
The 4 nodes in this automation, in order.
- 1Postgrespostgres
- 2WhatsApp Business CloudwhatsApp
- 3AI Agent@n8n/n8n-nodes-langchain.agent
- 4Ollama Chat Model@n8n/n8n-nodes-langchain.lmChatOllama
Apps & integrations used
How to set up Automate Restaurant Customer Service with WhatsApp and Llama AI Chatbot
- 1Add WhatsApp Business Cloud trigger node and connect your business account.
- 2Insert AI Agent node and link it to Ollama Chat Model for Llama responses.
- 3Connect Postgres node to store bookings and conversation logs.
- 4Map AI Agent output to WhatsApp reply node for sending messages.
- 5Add simple Postgres insert after booking confirmation to save details.
- 6Activate workflow and test with sample WhatsApp messages.
How to customize this workflow
- →Swap Ollama Chat Model for another supported LLM in the AI Agent node.
- →Change WhatsApp trigger to a different channel node if needed.
- →Add extra Postgres queries to fetch custom menu data.
- →Extend AI Agent prompt to handle new query types like reservations only.
Automate Restaurant Customer Service with WhatsApp and Llama AI Chatbot: pros & cons
Pros
- +Runs 24/7 with no staff needed for basic queries
- +Uses free local Ollama model to keep costs low
- +Stores bookings directly in Postgres for easy access
- +Beginner-friendly n8n setup with clear nodes
Cons
- –Requires WhatsApp Business Cloud approval and setup
- –Ollama must be installed and running locally
- –AI may need prompt tweaks for perfect accuracy
Frequently asked questions
It connects WhatsApp to an AI chatbot that answers restaurant questions and saves bookings in Postgres.
User reviews
Verified reviews from the community shape this listing's rating.
Loading reviews…