Templates / Handle WhatsApp customer service chats with Google Gemini and Google Sheets

Handle WhatsApp customer service chats with Google Gemini and Google Sheets

Unknown

by Vinsen · 144 views · created 2026-07-16 · Support Chatbot, AI Chatbot

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 18 nodes and runs on Open Wa events (message.received, message.reaction). Along the way it connects Google Sheets, Google Gemini Chat Model and Openwa (community).

How it runs

Trigger: On Open Wa events (message.received, message.reaction).

  1. If: checks a condition and branches into true / false
  2. Set AI Handle (Code): runs custom JavaScript code
  3. Payload Check (Edit Fields (Set)): sets 3 fields: payload.from, payload.source, payload._data.key.fromMe
  4. Find Session Row (Google Sheets): uses Google Sheets
  5. If: checks a condition and branches into true / false
  6. Delete Session Row (Google Sheets): delete
  7. If: checks a condition and branches into true / false
  8. Session Lookup (Google Sheets): uses Google Sheets
  9. Check Mode (Code): runs custom JavaScript code
  10. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 2 tools (Think, Database Company); memory: Simple Memory

…plus 3 more steps. See the full node list below.

Services it uses

Google SheetsGoogle Gemini Chat ModelOpenwa (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that @rmyndharis/n8n-nodes-openwa is verified or supports 3.0 (used in Send a text message).
  • Check that @rmyndharis/n8n-nodes-openwa is verified or supports 3.0 (used in OpenWA Trigger).

Nodes used (11)

From the author

Quick Overview This workflow handles WhatsApp customer service via OpenWA, using Google Gemini and a Google Sheets knowledge base to answer personal chats, while routing conversations to a human queue in Google Sheets when escalation is needed. How it works…

Excerpt from Vinsen'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.