Templates / Answer customer questions on WhatsApp with OpenAI, Gmail, and Google Sheets

Answer customer questions on WhatsApp with OpenAI, Gmail, and Google Sheets

Ready for 3.0

by Dr. Firas ✓ · 390 views · created 2026-07-18 · Support Chatbot, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 15 nodes and runs on WhatsApp events (messages). Along the way it connects WhatsApp Business Cloud, OpenAI Chat Model, HTTP Request and Gmail and 1 more.

How it runs

Trigger: On WhatsApp events (messages).

  1. Configuration (Edit Fields (Set)): sets 12 fields: company_name, company_root_url, ai_model…
  2. Is a text question? (If): checks a condition and branches into true / false
  3. Website Support Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (get_page, list_links); memory: Conversation Memory; output parser: Answer Parser
  4. Needs a human? (If): checks a condition and branches into true / false
  5. Alert the support team by email (Gmail): uses Gmail
  6. Send the answer on WhatsApp (WhatsApp Business Cloud): send
  7. Log the conversation in Google Sheets (Google Sheets): append

Services it uses

WhatsApp Business CloudOpenAI Chat ModelHTTP RequestGmailGoogle Sheets

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 (12)

From the author

Quick overview This workflow answers incoming WhatsApp customer questions using an OpenAI-powered agent that reads your live website via HTTP requests, escalates unclear or sensitive cases to your support team via Gmail, and logs each conversation to Google…

Excerpt from Dr. Firas's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.