🤖 AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + Qdrant
Configured with Agent, Chat Trigger, Document Default Data Loader, Embeddings Open Ai, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Files / media
- Transform
- Data store
- Routing
- Wait
- Trigger
- AI & models
- Code
- Messaging
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Data Loader | Files / media | Document Default Data Loader | See node parameters |
| Token Splitter | Transform | Text Splitter Token Splitter | See node parameters |
| Qdrant Vector Store | Data store | Vector Store Qdrant | See node parameters |
| Loop Over Items | Routing | Loop Over Items | See node parameters |
| Wait | Wait | Wait | See node parameters |
| When clicking ‘Test workflow’ | Trigger | Manual Trigger | See node parameters |
| Google Gemini Chat Model | AI & models | LM Chat Google Gemini | See node parameters |
| Merge | Transform | Merge | See node parameters |
| Extract Meta Data | AI & models | Information Extractor | See node parameters |
| Get File Contents | Transform | Extract From File | text |
| Download File From Google Drive | Files / media | Google Drive | download |
| Find File Ids in Google Drive Folder | Files / media | Google Drive | fileFolder |
| text-embeddings-3-large | AI & models | Embeddings Open Ai | See node parameters |
| Google Folder ID | Transform | Edit Fields | See node parameters |
| gpt-4o-mini1 | AI & models | OpenAI Chat Model | See node parameters |
| Delete Qdrant Points by File ID | Code | Code | See node parameters |
| Qdrant Collection Name | Transform | Edit Fields | See node parameters |
| File Id List | Transform | Summarize | See node parameters |
| Merge1 | Transform | Merge | See node parameters |
| Merge2 | Transform | Merge | See node parameters |
| Confirm Qdrant Delete Points | Messaging | Telegram | sendAndWait |
| If | Routing | If | See node parameters |
| Send Declined Message | Messaging | Telegram | See node parameters |
| Webhook | Trigger | Webhook | See node parameters |
| AI Agent | AI & models | Agent | See node parameters |
| Window Buffer Memory | Data store | Memory Buffer Window | See node parameters |
| When chat message received | Trigger | Chat Trigger | See node parameters |
| Google Gemini Chat Model1 | AI & models | LM Chat Google Gemini | See node parameters |
| text-embeddings-3-large1 | AI & models | Embeddings Open Ai | See node parameters |
| Google Drive | Files / media | Google Drive | createFromText |
| Respond to User | Transform | Edit Fields | See node parameters |
| Update Chat History | Files / media | Google Docs | update |
| Qdrant Vector Store Tool | Data store | Vector Store Qdrant | See node parameters |
| OpenAI Chat Model | AI & models | OpenAI Chat Model | See node parameters |
| Send Completed Message | Messaging | Telegram | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
googleDocsOAuth2ApigoogleDriveOAuth2ApigooglePalmApiopenAiApiqdrantApitelegramApi
Workflow notes
🌟Workflow Config
🌟Workflow Config
- Google Drive Folder Id
- Qdrant Collection Name
- List of Google Drive File Id's
Delete From Qdrant Vector Store
Delete From Qdrant Vector Store
This operation can not be undone!!!
Human In The Loop
Human In The Loop
User must verify deletion of points from Qdrant vector store
🤖 AI-Powered RAG Chatbot with Google Drive Integration
🤖 AI-Powered RAG Chatbot with Google Drive Integration
This workflow creates a powerful RAG (Retrieval-Augmented Generation) chatbot that can process, store, and interact with documents from Google Drive using Qdrant vector storage and Google's Gemini AI.
How It Works
Document Processing & Storage 📚
- Retrieves documents from a specified Google Drive folder
- Processes and splits documents into manageable chunks
- Extracts metadata using AI for enhanced search capabilities
- Stores document vectors in Qdrant for efficient retrieval
Intelligent Chat Interface 💬
- Provides a conversational interface powered by Google Gemini
- Uses RAG to retrieve relevant context from stored documents
- Maintains chat history in Google Docs for reference
- Delivers accurate, context-aware responses
Vector Store Management 🗄️
- Features secure delete operations with human verification
- Includes Telegram notifications for important operations
- Maintains data integrity with proper version control
- Supports batch processing of documents
Setup Steps
-
Configure API Credentials:
- Set up Google Drive & Docs access
- Configure Gemini AI API
- Set up Qdrant vector store connection
- Add Telegram bot for notifications
-
Configure Document Sources:
- Set Google Drive folder ID
- Define Qdrant collection name
- Set up document processing parameters
-
Test and Deploy:
- Verify document processing
- Test chat functionality
- Confirm vector store operations
- Check notification system
This workflow is ideal for organizations needing to create intelligent chatbots that can access and understand large document repositories while maintaining context and providing accurate responses through RAG technology.
🤖 AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + Qdrant
🤖 AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + Qdrant
Purpose and structure
This folder contains the 🤖 AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + Qdrant workflow. Its executable nodes use agent, chatTrigger, code, documentDefaultDataLoader, embeddingsOpenAi, extractFromFile, googleDocs, googleDrive, if, informationExtractor, lmChatGoogleGemini, lmChatOpenAi, manualTrigger, memoryBufferWindow, merge, set, splitInBatches, summarize, telegram, textSplitterTokenSplitter, vectorStoreQdrant, wait, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
When clicking ‘Test workflow’, Webhook, When chat message received
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Telegram/1185_Telegram_Wait_Automate_Webhook.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- Prepare Qdrant Vector Store
- Perform Qdrant Vector Store Operations
- Extract Metadata for Qdrant Hybrid Search
- Google Drive
- ✨ Save Documents to Qdrant Vector Store
- 👍Start Here!
- 🤖Retrieve Content from Qdrant Vector Store
- 🗣️ Chat with Your Documents
- Step 1 - Save Documents to Qdrant Vector Store
- Step 2 - Chat with Your Documents from Qdrant Vector Store
- Save Chat History