Block 1 - Recursive Character Text Splitter
- Type / Role
- @n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - textSplitterRecursiveCharacterTextSplitter
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
Template: Create an AI Knowledge Base Chatbot with Google Drive and OpenAI GPT (Venio/Salesbear) Template Overview This comprehensive n8n workflow template creates an intelligent AI chatbot that...
@n8n/n8n-nodes-langchain.textsplitterrecursivecharactertextsplitter, @n8n/n8n-nodes-langchain.documentdefaultdataloader, @n8n/n8n-nodes-langchain.vectorstoreinmemory, @n8n/n8n-nodes-langchain.embeddingsopenai, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.toolvectorstore, n8n-nodes-base.stickynote, n8n-nodes-base.googledrive
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Gofive.
Original n8n.io sourceThis comprehensive n8n workflow template creates an intelligent AI chatbot that automatically transforms your Google Drive documents into a searchable knowledge base. The chatbot uses OpenAI's GPT models to provide accurate, context-aware responses based exclusively on your uploaded documents, making it perfect for customer support, internal documentation, and knowledge management systems.
1. Google Drive API Access
2. OpenAI API Account
3. n8n Instance
4. Target Chat Platform (Optional)
Webhook URL: Use the generated webhook URL to send questions
POST https://your-n8n-domain/webhook/your-custom-path
Content-Type: application/json
{
"body": {
"Data": {
"ChatMessage": {
"Content": "What are your business hours?",
"RoomId": "user-123-session",
"Platform": "web",
"User": {
"CompanyId": "company-456"
}
}
}
}
}
Response Format: The chatbot returns structured responses that your platform can display
Modify the AI Agent's system message to match your brand and use case:
You are a [YOUR_BRAND] customer support specialist. You provide helpful, accurate information based on our documentation. Always maintain a [TONE] tone and [SPECIFIC_GUIDELINES].
Document Processing
AI Model Configuration
Memory and Context
Authentication Methods
Response Formatting
Scenario: E-commerce company with product documentation, return policies, and FAQ documents Setup: Upload product manuals, policy documents, and common questions to Google Drive Customization: Professional tone, concise answers, escalation triggers for complex issues Integration: Website chat widget, mobile app, or customer portal
Scenario: Company HR department with employee handbook, policies, and procedures Setup: Upload HR policies, benefits information, and procedural documents Customization: Friendly but professional tone, detailed policy explanations Integration: Internal Slack bot, employee portal, or HR ticketing system
Scenario: Software company with API documentation, user guides, and troubleshooting docs Setup: Upload API docs, user manuals, and technical specifications Customization: Technical tone, code examples, step-by-step instructions Integration: Developer portal, support ticket system, or documentation website
Scenario: Educational institution with course materials, policies, and student resources Setup: Upload syllabi, course content, academic policies, and student guides Customization: Helpful and encouraging tone, detailed explanations Integration: Learning management system, student portal, or mobile app
Scenario: Medical practice with patient information, procedures, and policy documents Setup: Upload patient guidelines, procedure explanations, and practice policies Customization: Compassionate tone, clear medical explanations, disclaimer messaging Integration: Patient portal, appointment system, or mobile health app
// In Edit Fields node, detect language and route accordingly
const language = $json.body.Data.ChatMessage.Language || 'en';
const systemMessage = {
'en': 'You are a helpful customer support assistant...',
'es': 'Eres un asistente de soporte al cliente ΓΊtil...',
'fr': 'Vous Γͺtes un assistant de support client utile...'
};
// Route questions to different knowledge bases based on department
const department = $json.body.Data.ChatMessage.Department;
const vectorStoreKey = `vector_store_${department}`;
// Track conversation metrics
const analytics = {
userId: $json.body.Data.ChatMessage.User.Id,
timestamp: new Date().toISOString(),
question: $json.body.Data.ChatMessage.Content,
response: $json.response,
responseTime: $json.processingTime
};
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 26 workflow blocks. Download the JSON for the full node graph.
| Workflow | Create a knowledge base chatbot with Google Drive & GPT-4o using vector search |
|---|---|
| Complexity | advanced |
| Nodes | 26 |
| Categories | Support Chatbot, AI RAG |
| Author | Gofive |
| Published | 22 Jul 2025 |
Use the JSON export at /data/workflows/6250/6250.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Template: Create an AI Knowledge Base Chatbot with Google Drive and OpenAI GPT (Venio/Salesbear) Template Overview This comprehensive n8n workflow template creates an intelligent AI chatbot that...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI RAG use case.