Handle voice food orders with Google Sheets and WhatsApp Cloud API
Ready for 3.0What this workflow does
This workflow has 32 nodes and runs when an HTTP GET request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets.
How it runs
Trigger: When an HTTP GET request hits its webhook URL (plus 1 other trigger).
- Extract Tool Call (Code): runs custom JavaScript code
- Get Business Config (Warmer) (Google Sheets): uses Google Sheets
- Try Cache (Code): runs custom JavaScript code
- Get Menu (Warmer) (Google Sheets): uses Google Sheets
- Cache Warm? (If): checks a condition and branches into true / false
- Store Warm Cache, (Code): runs custom JavaScript code
- Merge Menu (Code): runs custom JavaScript code
- Get Business Config (Google Sheets): uses Google Sheets
- Is get_menu? (If): checks a condition and branches into true / false
- Merge Config Into Call (Code): runs custom JavaScript code
…plus 20 more steps. 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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - HTTP Request
n8n-nodes-base.httpRequest - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Quick overview This workflow exposes a webhook for a voice assistant to fetch a Google Sheets menu, calculate an order total from sheet prices, and place validated orders, then logs them to Google Sheets and notifies the kitchen via WhatsApp Cloud API. How it…