Dual-path customer support system with Google Sheets, vectors & Gemini
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Embeddings Hugging Face Inference, Google Sheets and Google Gemini.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Knowledge Database (Google Sheets): uses Google Sheets
- Retrieve & Score Embeddings (Simple Vector Store): searches the Simple vector store, with embeddings: Embeddings Hugging Face Inference
- Forward Chat Message (Merge): merges the data from its input branches
- Extract Questions (Edit Fields (Set)): sets 2 fields: row_number, Question
- Determine Question Type (If): checks a condition and branches into true / false
- Chat Model (Google Gemini): uses Google Gemini
- Generate & Store Embeddings (Simple Vector Store): stores documents in the Simple vector store, with embeddings: Embeddings Hugging Face Inference; document loader: Default Data Loader
- Get Respective Answers (Google Sheets): uses Google Sheets
- Respond to Chat (Chat): uses Chat
- Respond to Chat (Chat): uses Chat
Services it uses
Other Google Gemini + Google Sheets templates (819) · Other Google Gemini + Hugging Face templates (4) · Other Google Sheets + Hugging Face templates (4)
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 (11)
- Manual Trigger
n8n-nodes-base.manualTrigger - Embeddings Hugging Face Inference
@n8n/n8n-nodes-langchain.embeddingsHuggingFaceInference - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Chat
@n8n/n8n-nodes-langchain.chat - Google Sheets
n8n-nodes-base.googleSheets - Edit Fields (Set)
n8n-nodes-base.set - Simple Vector Store
@n8n/n8n-nodes-langchain.vectorStoreInMemory - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini
From the author
This n8n workflow template implements a dual-path architecture for AI customer support, based on the principles outlined in the research paper "A Locally Executable AI System for Improving Preoperative Patient Communication: A Multi-Domain Clinical…