FREE N8N TEMPLATE · CUSTOMER SERVICE
This n8n workflow gives your website a support chatbot that answers only from your own documents. One branch loads files from a Google Drive folder into a Supabase vector store. The other runs the embeddable n8n chat: an AI agent searches your documents for each question, answers in plain English, and posts a handoff to Slack with the visitor's details when it cannot answer or the visitor asks for a person.
- DIFFICULTY
- Advanced
- SET-UP TIME
- About 1 to 2 hours
- NODES
- 15
- CHECKED AGAINST
- n8n 2.41
- n8n Chat
- OpenAI or Anthropic
- OpenAI embeddings
- Supabase
- Google Drive
- Slack
LAST REVIEWED OCTOBER 2026
001 / HOW IT WORKS
Step by step, node by node
01Website chat
The Chat Trigger in embedded mode receives each message from the @n8n/chat widget on your site. Allowed origins restrict it to your domain.
02Support agent
An AI Agent with a system message that tells it to search before answering, answer only from your documents, avoid sensitive information and hand off when unsure. Conversation memory keeps the last ten messages per session.
03Search knowledge base
A Supabase vector store in retrieve-as-tool mode, using OpenAI embeddings, returns the five most relevant chunks of your documents for each question.
04Hand off to a human
A Slack tool the agent calls when it cannot answer or the visitor asks for a person. It posts the visitor's name, email and a summary to your support channel.
05Load all documents now
The ingestion branch starts with a manual trigger that lists every file in your Google Drive knowledge folder, for the first load or a full refresh.
06New file in knowledge folder
A Google Drive Trigger watches the same folder, so documents added later are loaded without running anything by hand.
07Download document
Each file is downloaded, with Google Docs converted to plain text. PDFs, Word files and text files are passed through as they are.
08Add to knowledge base
A document loader detects the file type, a recursive text splitter breaks it into overlapping chunks, and the Supabase vector store saves each chunk with its embedding and file name.
THE REAL WORKFLOW YOU IMPORT · NODE NAMES AS THEY APPEAR IN N8N
002 / WHY IT EXISTS
Website visitors ask the same questions about opening hours, delivery, returns, pricing structure and how a service works, often outside business hours. Generic chatbots either give canned menus or, worse, make up answers that contradict your policies. Staff end up answering the same questions by email while the information already sits in documents nobody can find.
This template is for Australian businesses with a set of support documents, such as FAQs, policies, product guides or service descriptions, that want a chatbot grounded in that material. It suits retailers, clinics, trades, education providers, councils and SaaS teams who want quick answers on the website and a clear path to a human when the bot reaches the limit of what it knows.
WHO IT'S FOR
- →Small support teams answering repeat website questions
- →Businesses that want after-hours answers without a live chat roster
- →Teams whose policies and FAQs already live in Google Drive
- →Developers prototyping a RAG chatbot before building a custom one
003 / WHAT YOU NEED
Tick them off as you go. Nothing is saved; it's just a checklist.
004 / SET IT UP
- 01
Create a Supabase project in the Sydney region, enable pgvector and run the documents table and match_documents function SQL from the n8n Supabase vector store docs.
- 02
Import the workflow and add your Supabase, OpenAI and Google Drive credentials to the matching nodes.
- 03
Put your FAQs, policies and guides in one Google Drive folder and set its folder ID in List files in knowledge folder and New file in knowledge folder.
- 04
Run Load all documents now and check that rows appear in the Supabase documents table.
- 05
Edit the Support agent system message with your business name, hours, contact options and the topics it should not discuss.
- 06
Connect Slack to Hand off to a human and change the #support channel to your own support channel.
- 07
In Website chat, set allowed origins to your domain and activate the workflow.
- 08
Embed the chat on your site with the @n8n/chat package or script, using the chat URL from the trigger, and test it with real customer questions.
005 / MAKE IT YOURS
- +Add a File Updated trigger plus a step that deletes a file's old chunks before reloading it, so edited documents stay current.
- +Send handoffs by email with a Gmail tool, or create a ticket in Zendesk, Freshdesk or HubSpot instead of posting to Slack.
- +Swap Supabase for Pinecone, Qdrant or Postgres with pgvector if you already run one of them.
- +Store chat memory in Postgres or Redis so conversations survive restarts and can be reviewed.
- +Add a Google Calendar tool so the bot can offer appointment times for bookable services.
FOR AUSTRALIAN BUSINESSES
Show a short notice in the chat window saying answers are AI-generated and messages may be processed overseas. Visitor messages go to the AI provider and embeddings API, often in the United States, which is a cross-border disclosure under APP 8 of the Privacy Act 1988. Supabase offers a Sydney region, so stored document chunks can stay in Australia, and self-hosting n8n in an Australian cloud region keeps chat memory onshore. The agent is told not to ask for payment details or health information. Only load documents you would publish, because the bot can quote anything in the folder. Check that answers match the Australian Consumer Law where your documents cover refunds and warranties.
Need it hosted in Australia? →006 / TOOLS IN THIS WORKFLOW
n8n
AUTOMATION & AGENT PLATFORMS
A workflow automation platform that combines a visual node editor with code when you need it. It connects hundreds of apps and APIs and includes AI agent nodes that can call language models, tools and memory. Teams can self-host the free Community Edition on their own servers or use n8n's hosted cloud.
Best for australian organisations that need automation data to stay onshore
Onshore possibleFreemiumIntermediateChatGPT
OpenAI · ASSISTANTS & CHATBOTS
OpenAI's general-purpose AI assistant. It handles writing, coding, file and image analysis, data analysis and web research through a chat interface, with an API for building it into your own systems.
Best for small and mid-sized teams wanting one general assistant for everyday writing and analysis
AU optionFreemiumBeginnerClaude
Anthropic · ASSISTANTS & CHATBOTS
Anthropic's AI assistant, known for careful reasoning, long-document analysis, writing and coding. It can work through large documents and codebases in a single conversation, paid plans include the Claude Code agentic coding tool, and it is available through an API and major cloud platforms.
Best for legal, policy and consulting teams reviewing long documents
Onshore possibleFreemiumBeginnerPinecone
DEVELOPER PLATFORMS & MODELS
A fully managed vector database and knowledge platform. It stores embeddings of your documents or products so AI applications can find relevant content by meaning, the retrieval step behind document chatbots and semantic search, and adds Pinecone Assistant for managed question answering over files.
Best for developers building retrieval-augmented chatbots over company documents
OffshoreFreemiumAdvanced
MORE TEMPLATES
All templates →- 16 NODESAI
CUSTOMER SERVICE
AI Email Triage for Gmail: Labels, Draft Replies and a Daily Digest
GmailOpenAI or AnthropicBeginner~30 minutes→ - 12 NODESAI
SALES & LEADS
Speed to Lead: AI Lead Qualification from Website Form to HubSpot
WebhookOpenAI or AnthropicHubSpotGmailIntermediate~45 minutes→ - 11 NODESAI
AI AGENTS & RESEARCH
AI Company Research Agent: Lead Research Briefs Saved to HubSpot
Webhook or HubSpotOpenAI or AnthropicSerpApiHubSpotIntermediate~45 minutes→
007 / QUESTIONS
Anything else is quicker to answer on a call. Thirty minutes, free, with the people who would build it.
Retrieval-augmented generation means the bot searches your documents first and answers from the matching passages. In n8n, a vector store node retrieves the passages and the AI Agent writes the answer, so replies stay grounded in your content.
We set up n8n end to end: hosting in Australia, connecting your systems, testing with real data and handing over documentation.
Book a free call→