🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

WhatsApp + Google Docs: consistent support replies

Lisa Granqvist Partner Workflow Automation Expert

Support replies go off the rails fast. One teammate answers from memory, another copies an old message, and suddenly customers get three different versions of the same policy.

Support leads feel it in the queue. Small business owners notice it in reviews. And agency teams get stuck “babysitting” client inboxes. This WhatsApp reply automation turns a Google Doc into your single source of truth so every answer stays consistent.

You’ll see how the workflow pulls live info from Google Docs, generates a helpful answer with AI, sends it back on WhatsApp, and logs the conversation in Google Sheets for visibility.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: WhatsApp + Google Docs: consistent support replies

The Problem: Support Answers Drift (and Customers Notice)

When your “truth” lives in someone’s head or a messy chat history, support becomes a game of telephone. A customer asks, “Are you open today?” and the reply depends on who’s holding the phone. Then policies change (refunds, class schedules, delivery zones), but the old answers keep getting reused because they’re already written and easy to copy. It’s not just time. It’s trust, and it’s the constant mental load of double-checking what’s current before you hit send. Honestly, that’s exhausting.

It adds up fast. Here’s where it breaks down in real life.

  • Support agents waste about 1–2 hours a day hunting for the “latest” policy or FAQ answer.
  • Copy-paste replies slowly mutate, so your refund policy can sound different every week.
  • Customers ask date-based questions, and humans miss context like closures or limited-time rules.
  • Without conversation logs, you can’t audit what was promised when a dispute pops up.

The Solution: WhatsApp Replies Powered by a Live Google Doc

This workflow turns your Google Doc into the brain of your WhatsApp support line. A customer sends a free-form question to your WhatsApp Business number, and n8n immediately pulls the latest content from your chosen Google Doc (your policies, FAQ, service list, schedule, anything). It also adds today’s date and the customer’s message, then hands that combined context to an AI “support agent” so the response is specific and timely, not generic. Once the reply is generated, the workflow cleans up the text, checks a WhatsApp timing rule (the 24-hour support window), and sends the right message back. Every interaction gets logged to Google Sheets so you can review conversations, track common questions, and keep a simple audit trail.

The workflow starts with an incoming WhatsApp message. Then it retrieves your knowledge doc, assembles a prompt with the doc plus today’s date, and generates a helpful answer using an AI model (OpenAI ChatGPT or Google Gemini). Finally, it sends the reply on WhatsApp and writes the details to Google Sheets.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you get about 30 WhatsApp questions a day, and each one takes roughly 4 minutes to find the right info, copy it, and rewrite it politely. That’s about 2 hours daily. With this workflow, the “work” becomes: the customer asks, n8n pulls the Google Doc, the AI drafts the reply, and you only intervene when something needs a human. The hands-on time drops to a quick review for edge cases, which for many teams is closer to 10–15 minutes total.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • WhatsApp Cloud API (Meta) to receive and send messages
  • Google Docs (via Google account) to store your support knowledge
  • OpenAI API key or Google Gemini access (get it from your OpenAI or Google AI Studio account)

Skill level: Intermediate. You’ll connect accounts, paste a Doc ID, and configure the WhatsApp webhook without writing an app.

Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).

How It Works

A WhatsApp message arrives. The Incoming WhatsApp Trigger catches the customer’s question as soon as it hits your WhatsApp Business number.

Your Google Doc is fetched live. The workflow pulls the current contents of your selected support document, so updates go live the moment you change the doc.

The AI creates the best answer for today. n8n assembles prompt text using the document, the customer’s message, and today’s date/time, then the Support AI Orchestrator uses an AI model (OpenAI Chat Model or Gemini) to draft the reply with session memory for continuity.

The reply is sent and everything is tracked. The text is sanitized, the 24-hour WhatsApp window is validated, the right WhatsApp message is dispatched (or a reopen template is sent), and the details are written to Google Sheets with a timestamp.

You can easily modify the Google Doc structure to match your brand, then adjust the prompt to enforce tone, disclaimers, or escalation rules. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the WhatsApp Trigger

Set up the workflow entry point so incoming WhatsApp messages start the automation.

  1. Add and open Incoming WhatsApp Trigger.
  2. Credential Required: Connect your whatsAppTriggerApi credentials.
  3. Ensure Updates includes messages so the workflow receives incoming texts.

Step 2: Connect Knowledge Source and Build the Prompt

Retrieve your knowledge base document and assemble a prompt for the AI assistant.

  1. Configure Retrieve Knowledge Doc with Operation set to get and Document URL set to =[YOUR_ID].
  2. Credential Required: Connect your Google Docs credentials in Retrieve Knowledge Doc.
  3. Open Assemble Prompt Text and keep the provided jsCode that builds finalPrompt using the Google Doc and incoming WhatsApp message.
  4. Confirm the prompt structure returns only finalPrompt as shown in the node.

Step 3: Set Up the AI Orchestration and Memory

Connect the Gemini model and memory so the AI can respond consistently and contextually.

  1. Open Support AI Orchestrator and verify the Text field is ={{ $json.finalPrompt }}.
  2. In Gemini Chat Engine, confirm the Model Name is models/gemini-2.5-flash-preview-04-17-thinking.
  3. Credential Required: Connect your Google Gemini credentials in Gemini Chat Engine.
  4. Configure Session Memory Buffer with Session Key set to ={{ $('Incoming WhatsApp Trigger').item.json.contacts[0].wa_id }} and Session ID Type set to customKey.
  5. Ensure Session Memory Buffer is connected to Support AI Orchestrator as an AI memory tool (credentials, if required, must be added to the parent node).

Step 4: Log Responses with Timestamps

Generate a timestamp and write user questions and AI answers to Google Sheets.

  1. Configure Generate Timestamp with default settings to create a timestamp field.
  2. In Update Response Log, set Operation to appendOrUpdate.
  3. Set Document ID to [YOUR_ID] and Sheet Name to Sheet1.
  4. Map columns exactly as shown: User={{ $('Incoming WhatsApp Trigger').item.json.messages[0].from }}, Message={{ $('Incoming WhatsApp Trigger').item.json.messages[0].text.body }}, Response={{ $('Support AI Orchestrator').item.json.output }}, Timestamp={{ $json.currentDate }}.
  5. Credential Required: Connect your Google Sheets credentials in Update Response Log.

Step 5: Validate the 24-Hour Window and Send Replies

Check WhatsApp’s 24-hour window and route replies accordingly, then sanitize and dispatch the AI response.

  1. In Validate 24h Window, keep the provided JavaScript that calculates withinWindow from the incoming message timestamp.
  2. Configure Window Decision with the condition ={{ $json.withinWindow }} set to true.
  3. When the condition is true, the flow continues to Sanitize Reply Text and then to Dispatch AI Reply with Text Body set to ={{ $json.answer }}.
  4. When the condition is false, Window Decision routes to Send Reopen Template using Template hello_world|en_US.
  5. In both WhatsApp send nodes, set Phone Number ID to your value ([YOUR_ID]) and Recipient Phone Number to ={{ $('Incoming WhatsApp Trigger').item.json.contacts[0].wa_id }}.
  6. Credential Required: Add WhatsApp credentials to both Dispatch AI Reply and Send Reopen Template.

⚠️ Common Pitfall: If [YOUR_ID] isn’t replaced in Dispatch AI Reply or Send Reopen Template, WhatsApp messages will fail to send.

Step 6: Test and Activate Your Workflow

Validate the end-to-end flow and then enable the workflow for production use.

  1. Click Execute Workflow and send a test WhatsApp message to your connected number.
  2. Confirm the flow follows Incoming WhatsApp TriggerRetrieve Knowledge DocAssemble Prompt TextSupport AI OrchestratorGenerate TimestampUpdate Response LogValidate 24h WindowWindow Decision.
  3. Verify successful execution: a reply is sent via Dispatch AI Reply or the template is sent via Send Reopen Template, and a row appears in Google Sheets.
  4. Toggle the workflow to Active to start handling live WhatsApp messages.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Common Gotchas

  • WhatsApp Cloud API credentials and webhook settings are fragile. If replies suddenly stop, check your Meta app webhook subscriptions and token validity first.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Google Docs access often fails due to missing permissions on the Doc itself. Confirm the connected Google account can open the Doc in a normal browser session, then re-check the Doc ID in the Google Docs node.

Frequently Asked Questions

How long does it take to set up this WhatsApp reply automation automation?

About 30–60 minutes if your WhatsApp Cloud API and Google access are ready.

Do I need coding skills to automate WhatsApp reply automation?

No. You’ll mostly paste IDs, connect accounts, and test a few sample questions.

Is n8n free to use for this WhatsApp reply automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in AI usage (often a few cents per day for small inboxes) and WhatsApp Cloud API messaging costs depending on your volume.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I customize this WhatsApp reply automation workflow for human handoff?

Yes, but plan it intentionally. You can route “can’t answer” cases by adding a branch after the Support AI Orchestrator and before Dispatch AI Reply, then send an internal alert in Telegram and reply to the customer with a short handoff message. Common customizations include adding business-hour rules, forcing the AI to cite sections from the Google Doc, and tagging conversations in Google Sheets for follow-up.

Why is my WhatsApp connection failing in this workflow?

Usually it’s an expired token or a webhook mismatch in your Meta WhatsApp Cloud API setup. Re-check the callback URL, verify token, and that your app is subscribed to the right WhatsApp events. If messages arrive but replies fail, look for missing permissions or template issues on the Send Reopen Template node. Rate limits can also bite if you test with lots of messages in a short burst.

How many conversations can this WhatsApp reply automation automation handle?

A few hundred per day is realistic for most small setups, and more if you self-host and size your server appropriately.

Is this WhatsApp reply automation automation better than using Zapier or Make?

Often, yes, because this isn’t a simple “send message” Zap. You’re pulling a live Google Doc, assembling a prompt, running an AI agent with memory, validating the WhatsApp 24-hour window, and logging everything to Sheets. n8n handles branching and more complex logic without turning your bill into a surprise. Zapier or Make can still work if you keep it very basic, but they get awkward once you add “if this, then that” rules and context assembly. If you want help choosing, Talk to an automation expert.

Once this is running, your Google Doc becomes the only place to update support truth. The workflow handles the repetitive replies and logging, so you can focus on the tricky conversations that actually need a person.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Launch login modal Launch register modal