Confirm and log WhatsApp restaurant orders with Groq and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs on WhatsApp events (messages). Along the way it connects WhatsApp Business Cloud, Groq Chat Model and Google Sheets.
How it runs
Trigger: On WhatsApp events (messages).
- Set Configuration (Edit Fields (Set)): sets 9 fields: restaurant_name, whatsapp_phone_number_id, owner_notify_number…
- Extract Order Items (Basic LLM Chain): sends a prompt to an LLM, with model: Groq Chat Model; output parser: Order Items Parser
- Read Menu Sheet (Google Sheets): uses Google Sheets
- Validate & Price Order (Code): runs custom JavaScript code
- Are There Issues? (If): checks a condition and branches into true / false
- Log Confirmed Order (Google Sheets): append
- Ask for Clarification (WhatsApp Business Cloud): send
- Send Order Confirmation (WhatsApp Business Cloud): send
- Is VIP Order? (If): checks a condition and branches into true / false
- Log Clarification Needed (Google Sheets): append
…plus 1 more step. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - WhatsApp Business Cloud
n8n-nodes-base.whatsApp
From the author
Quick Overview This workflow triggers on incoming WhatsApp orders, uses Groq to extract items and quantities, validates them against a live Google Sheets menu, logs the result to an orders sheet, and replies to the customer with either a clarification request…