Skip to main content
Community template Uses AISupport ChatbotAI RAG

Customer support WhatsApp bot with Google Docs knowledge base and Gemini AI - n8n workflow template

Document-Aware WhatsApp AI Bot for Customer Support Google Docs-Powered WhatsApp Support Agent 24/7 WhatsApp AI Assistant with Live Knowledge from Google Docs Help customers instantly on WhatsApp using a smart AI assistant that reads your company’s internal knowledge from a…

Template by Tharwat Mohamed · Original listing (opens in a new tab)

Starts on
App event
Nodes
13 nodes
Level
Intermediate
Setup
About 12 min

Workflow preview

How this workflow runs

  1. 1

    when message received

    Starts the workflow when the Whats App event occurs.

  2. 2

    Google Gemini Chat Model

    Provides Google Gemini as the chat model for the AI steps.

  3. 3

    Simple Memory

    Gives the AI short-term conversational memory of recent messages.

  4. 4

    company's knowledge

    Reads from or writes to a Google Docs document.

  5. 5

    Prepare Prompt

    Handles the AI Transform step in this workflow.

  6. 6

    AI Agent

    The AI agent that orchestrates the workflow — it reasons over the input and decides which tools to call.

  7. 7

    Date & Time

    Formats, parses, or calculates dates and times.

  8. 8

    Google Sheets

    Reads from or writes rows to a Google Sheets spreadsheet.

  9. 9

    24-hour window check

    Runs custom JavaScript to transform or manipulate the data flowing through the workflow.

  10. 10

    If

    Branches the workflow based on a true/false condition.

Creator's notes and setup

Written by Tharwat Mohamed for the original listing.

  • Document-Aware WhatsApp AI Bot for Customer Support

  • Google Docs-Powered WhatsApp Support Agent

  • 24/7 WhatsApp AI Assistant with Live Knowledge from Google Docs

Description Template

Smart WhatsApp AI Assistant Using Google Docs

Help customers instantly on WhatsApp using a smart AI assistant that reads your company’s internal knowledge from a Google Doc in real time. Built for clubs, restaurants, agencies, or any business where clients ask questions based on a policy, FAQ, or services document.

How it works

  • Users send free-form questions to your WhatsApp Business number (e.g. “What are the gym rules?” or “Are you open today?”)

  • The bot automatically reads your company’s internal Google Doc (policy, schedule, etc.)

  • It merges the document content with today’s date and the user’s question to craft a custom AI prompt

  • The AI (Gemini or ChatGPT) then replies back on WhatsApp using natural, helpful language

  • All conversations are logged to Google Sheets for reporting or audit

> Bonus: The AI even understands dates inside the document and compares them to today’s date — e.g. if your document says “Closed May 25 for 30 days,” it will say “We're currently closed until June 24.

Set up steps

  1. Connect your WhatsApp Cloud API account (Meta)

  2. Add your Google account and grant access to the Doc containing your company info

  3. Choose your AI model (ChatGPT/OpenAI or Gemini)

  4. Paste your document ID into the Google Docs node

  5. Connect your WhatsApp webhook to Meta (only takes 5 minutes)

  6. Done — start receiving and answering customer questions!

> Works best with free-tier OpenAI/Gemini, Google Docs, and Meta's Cloud API (no phone required). Everything is modular, extensible, and low-code.

Customization Tips

  • Change the Google Doc anytime to update answers — no retraining needed

  • Add your logo and business name in the AI agent’s “System Prompt”

  • Add fallback routes like “Escalate to human” if the bot can't help

  • Clone for multiple brands by duplicating the workflow and swapping in new docs

Need Help Setting It Up?

If you'd like help connecting your WhatsApp Business API, setting up Google Docs access, or customizing this AI assistant for your business or clients…

I offer setup, branding, and customization services:

WhatsApp Cloud API setup & verification

Google OAuth & Doc structure guidance

AI model configuration (OpenAI / Gemini)

Branding & prompt tone customization

Logging, reporting, and escalation logic

Just send a message via:

Email:

WhatsApp: +20 106 180 3236

n8n nodes used (11 types)

What every node does (13)
  • AI Agent (Agent)The AI agent that orchestrates the workflow — it reasons over the input and decides which tools to call.
  • cleanAnswer (Code)Runs custom JavaScript to transform or manipulate the data flowing through the workflow.
  • 24-hour window check (Code)Runs custom JavaScript to transform or manipulate the data flowing through the workflow.
  • If (If)Branches the workflow based on a true/false condition.
  • Send Pre-approved Template Message to Reopen the Conversation (Whats App)Sends or receives WhatsApp messages.
  • Send AI Agent's Answer (Whats App)Sends or receives WhatsApp messages.
  • Google Gemini Chat Model (LLM Chat Google Gemini)Provides Google Gemini as the chat model for the AI steps.
  • when message received (Whats App Trigger)Starts the workflow when the Whats App event occurs.
  • Prepare Prompt (AI Transform)Handles the AI Transform step in this workflow.
  • Google Sheets (Google Sheets)Reads from or writes rows to a Google Sheets spreadsheet.
  • Date & Time (Date Time)Formats, parses, or calculates dates and times.
  • company's knowledge (Google Docs)Reads from or writes to a Google Docs document.
  • Simple Memory (Memory Buffer Window)Gives the AI short-term conversational memory of recent messages.

FAQ

Customer support WhatsApp bot with Google Docs knowledge base and Gemini AI: questions

How do I import the "Customer support WhatsApp bot with Google Docs knowledge base and Gemini AI" workflow into n8n?

Copy the workflow JSON from this page, open the n8n editor, click on an empty canvas and paste with Ctrl+V (Cmd+V on macOS). You can also download the .json file and choose Import from File in the workflow menu. Save the workflow, then attach credentials before activating it.

Which nodes and credentials does "Customer support WhatsApp bot with Google Docs knowledge base and Gemini AI" use?

It uses Google Sheets, If, Date Time, Google Docs, Whats App and Code, plus 5 more. Any node that connects to an external service needs your own credential — open each node after import and select or create one. Trigger, logic and transformation nodes usually need no credentials.

Can it run on n8n Cloud and on self-hosted n8n?

The workflow format is the same on both. If a node appears as unknown or outdated after import, update n8n to a recent version or, on self-hosted instances, install the required community node package. Features such as $env access are available on self-hosted instances only.

How can I customise "Customer support WhatsApp bot with Google Docs knowledge base and Gemini AI"?

Start by changing the trigger (schedule, webhook or app event) and the destination nodes to match your stack — it is listed under Support Chatbot, AI RAG. Edit prompts, field mappings and filters in the relevant nodes, use expressions like {{ $json.field }} to map data, and test with a manual execution before activating.

n8n is a trademark of n8n GmbH. AltFTool is not affiliated with, endorsed by or sponsored by n8n. Community templates are credited to their creators and link to the original listing; AltFTool originals are written and tested by the AltFTool team.

About this page

Free n8n workflow templates to copy and import

The AltFTool n8n library collects free n8n workflow templates for AI agents, Gmail, Google Sheets, Telegram and other apps. Each workflow page shows a preview, the list of nodes and the credentials it needs, and lets you copy or download the JSON to import into your own n8n.

Search the templates by app or task, or browse them by category and by node. The Workflow Inspector checks any workflow JSON for triggers, credentials and hardcoded keys before you share it, and the expressions cheat sheet gives copy-paste n8n expression examples. AltFTool is not affiliated with n8n.

People also search for

  • n8n workflow templates
  • n8n templates
  • n8n automation examples
  • n8n json workflows
  • n8n nodes
  • free n8n workflow templates
  • n8n ai agent template
  • n8n expressions cheat sheet