Skip to main content

AI Restaurant Virtual Waiter Chatbot πŸ€–πŸ• for WhatsApp & Website

Workflow preview

Workflow preview
100%
AI Restaurant Virtual Waiter Chatbot πŸ€–πŸ• for WhatsApp & Website preview
Open on n8n.io

1. Workflow Overview

This workflow implements a WhatsApp based virtual restaurant assistant that automates customer interaction from the first message to post dining follow up. The system can receive messages either fr...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.whatsapptrigger, n8n-nodes-base.whatsapp, n8n-nodes-base.switch, @n8n/n8n-nodes-langchain.guardrails, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.chat

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide Boizza.

Original n8n.io source

1.1 Workflow description

Title
AI Restaurant Virtual Waiter Chatbot πŸ€–πŸ• for WhatsApp & Website
Workflow name
AI Restaurant Virtual Waiter Chatbot πŸ€–πŸ• for WhatsApp & Website

This workflow implements a WhatsApp-based virtual restaurant assistant that automates customer interaction from the first message to post-dining follow-up.

The system can receive messages either from WhatsApp or a chatbot interface, normalize the input, and process it through AI guardrails to ensure safe and relevant communication.


Key Advantages

1. βœ… End-to-End Automation

The workflow fully automates the customer journey:

  • Message reception
  • Menu delivery
  • Customer data collection
  • AI conversation
  • Review request

No manual intervention is required.

2. βœ… Omnichannel Interaction

It works both with:

  • WhatsApp (real users)
  • Chat interface (for testing or website chatbot)

This makes it flexible and easy to integrate into different touchpoints.

3. βœ… AI-Powered Customer Service

The virtual waiter agent:

  • Answers questions about dishes, ingredients, prices, allergens
  • Provides recommendations
  • Uses real-time API data (no hallucinations allowed by design)
4. βœ… Built-in Safety (Guardrails)

The workflow includes AI guardrails to:

  • Detect jailbreak attempts
  • Block irrelevant or unsafe requests
  • Ensure responses comply with predefined policies
5. βœ… Data Collection & CRM Integration

Customer interactions are stored automatically in Google Sheets, enabling:

  • Basic CRM functionality
  • Customer tracking
  • Future marketing actions
6. βœ… Personalized Experience

Using session-based memory:

  • The system remembers recent interactions
  • Provides more contextual and coherent responses
7. βœ… Automated Marketing & Retention

The delayed follow-up:

  • Encourages customers to leave reviews
  • Improves online reputation
  • Increases customer engagement after the visit
8. βœ… Scalable & Modular Architecture

The workflow is built with reusable components:

  • AI agent
  • API tools
  • Messaging nodes

This makes it easy to:

  • Extend (e.g., reservations, payments)
  • Adapt to different restaurants

How it works

This workflow automates a restaurant assistant that responds to customers via both WhatsApp and a chat widget on a website. When a customer sends a message, the system checks if it's a menu request or a general query.

WhatsApp messages first go through a switch node that separates text from unsupported formats. If the message is text, it is normalized and passed to a guardrails node that detects jailbreak attempts. If a jailbreak is detected, a fallback message is sent. If safe, the system checks whether the user asked for the menu.

If the user asks for the menu, the workflow saves the client’s phone number and date to a Google Sheet, then sends a demo menu link via both WhatsApp and the chat interface. After a short wait (1 minute for chat, 2 hours for WhatsApp), the system sends a follow-up message asking for a Google review.

If the user asks something else, the request goes to a virtual waiter agent. The agent uses a Gemini language model, a memory buffer to keep conversation context, and two tools: a calculator and an HTTP Request Tool that fetches the restaurant menu from a ForkMenu API. The agent answers strictly based on the retrieved menu data β€” it never invents information. The response is then sent back to the customer via WhatsApp and the chat node.


Set up steps

  1. Add credentials
  • WhatsApp OAuth account (for WhatsApp Trigger)
  • WhatsApp account (for sending messages)
  • Google Gemini (PaLM) account (for the language models)
  • Google Sheets account (to store customer data)
  1. Configure WhatsApp nodes
  • Update the phoneNumberId in all WhatsApp send nodes
  • Ensure the WhatsApp Trigger webhook is correctly connected to your Meta Business account.
  1. Set up Google Sheets
  1. Configure the menu API
  • The HTTP Request Tool calls https://demo.forkmenu.com/api/menu/piatti/2?key=....
  • Replace the key and URL with your actual restaurant’s ForkMenu API credentials.
  1. Customize messages
  • Edit the text in all Send message and Chat nodes (menu link, review request, jailbreak response, unsupported format message).
  1. Adjust timers
  • The review request is sent after 2 hours for WhatsApp and 1 minute for the chat widget (for testing). Modify the Wait nodes as needed.
  1. Activate the workflow
  • Toggle "active": true in the workflow JSON or click "Active" in the n8n editor.
  1. Set up chat widget
  • The When chat message received node requires an n8n chat trigger. Embed the chat widget on your website using the n8n chat embed code.

πŸ‘‰ Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n.


Need help customizing?

Contact me for consulting and support or add me on Linkedin.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - WhatsApp Trigger

Type / Role
n8n-nodes-base.whatsAppTrigger - whatsAppTrigger
Config choices
Version 1

Block 2 - Not supported

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1

Block 3 - Input type

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 4 - Guardrails

Type / Role
@n8n/n8n-nodes-langchain.guardrails - guardrails
Config choices
Version 2

Block 5 - Google Gemini Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 6 - Send message1

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1

Block 7 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.4

Block 8 - Normalize

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Chat1

Type / Role
@n8n/n8n-nodes-langchain.chat - chat
Config choices
Version 1.2

Block 10 - Message

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - From Chat

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Menu?

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 16 - Add new client

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 17 - Send message2

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1

Block 18 - Chat2

Type / Role
@n8n/n8n-nodes-langchain.chat - chat
Config choices
Version 1.2

Block 19 - Wait 2 Hours

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 20 - Send message3

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1

Block 21 - Chat3

Type / Role
@n8n/n8n-nodes-langchain.chat - chat
Config choices
Version 1.2

Block 22 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 23 - Wait 1 Minute

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 24 - Chat

Type / Role
@n8n/n8n-nodes-langchain.chat - chat
Config choices
Version 1.2

Showing the first 24 of 35 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow AI Restaurant Virtual Waiter Chatbot πŸ€–πŸ• for WhatsApp & Website
Complexity advanced
Nodes 35
Categories Support Chatbot, AI Chatbot
Author Davide Boizza
Published 04 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15479/15479.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI Restaurant Virtual Waiter Chatbot πŸ€–πŸ• for WhatsApp & Website do?

This workflow implements a WhatsApp based virtual restaurant assistant that automates customer interaction from the first message to post dining follow up. The system can receive messages either fr...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.