Answer WhatsApp FAQs 24/7 with OpenAI, Google Sheets and human handoff
Ready for 3.0What this workflow does
This AI workflow has 41 nodes and runs when an HTTP GET request hits its webhook URL (plus 3 other triggers). Along the way it connects Google Sheets, OpenAI Chat Model and WhatsApp Business Cloud.
How it runs
Trigger: When an HTTP GET request hits its webhook URL (plus 3 other triggers).
- Set Bot Settings (Code): runs custom JavaScript code
- Route by Entry Point (Switch): routes items into branches
- Check Verify Token (If): checks a condition and branches into true / false
- Compute Expected Signature (Crypto): hashes or encrypts values
- Clear Handoff for This Chat (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Return Challenge to Meta (Respond to Webhook): sends the response back to the webhook caller
- Reject Wrong Verify Token (Respond to Webhook): sends the response back to the webhook caller
- If: checks a condition and branches into true / false
- Return Resume Result (Respond to Webhook): sends the response back to the webhook caller
…plus 25 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other WhatsApp + Google Sheets templates (119) · Other WhatsApp + OpenAI templates (104)
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 (12)
- Webhook
n8n-nodes-base.webhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Crypto
n8n-nodes-base.crypto - No Operation, do nothing
n8n-nodes-base.noOp - Google Sheets
n8n-nodes-base.googleSheets - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - WhatsApp Business Cloud
n8n-nodes-base.whatsApp
From the author
Quick overview This workflow connects the WhatsApp Cloud API with a keyword-based FAQ and optional OpenAI fallback to answer customer messages, verifies Meta webhook signatures, supports STOP/START opt-outs and human handoff with owner alerts, and can send…