This workflow corresponds to n8n.io template #8147 โ we link there as the canonical source.
This workflow follows the Agent โ Documentdefaultdataloader recipe pattern โ see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide โ
{
"id": "UZz84VC8pY6FRROm",
"meta": {
"templateId": "knowledge_store_agent_with_google_drive",
"templateCredsSetupCompleted": true
},
"name": "Knowledge agent (with Google Drive, Telegram)",
"tags": [],
"nodes": [
{
"id": "708d9e4e-6566-4b18-86b8-8301bf0c72dd",
"name": "Default Data Loader",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
384,
-64
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "604a4e5e-5ccc-4db1-94dc-673711bea6af",
"name": "Download file",
"type": "n8n-nodes-base.googleDrive",
"position": [
-192,
-240
],
"parameters": {},
"typeVersion": 3
},
{
"id": "e8db240e-bb3f-43ab-b4ed-527c6c2e8f54",
"name": "Embedding model",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
144,
-48
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "99f9315f-4f3d-48d9-a6f4-8c519b249eba",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-352,
320
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "9751b75b-50ac-49c8-8f4d-24a8035b6e73",
"name": "Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-416,
560
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "167d097a-69f6-4f1b-a741-8c8936adb3d2",
"name": "Simple Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-272,
544
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "0cddc21e-a75f-48df-b168-8e288be12469",
"name": "File uploaded",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
-608,
-240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b60fde91-e9bf-4f03-a847-b471af228a95",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1024,
-16
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2fa9684d-f20a-4262-9b8b-81babb2fecc5",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
624
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "64d17551-1637-4a53-a3e0-db45894c12a6",
"name": "Insert documents",
"type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
"position": [
240,
-240
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "4f8a4a45-28a4-4684-b838-66011cc6a4a5",
"name": "Retrieve documents",
"type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
"position": [
-288,
0
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "a5249962-686f-40fe-bee4-1b7d3bea5e79",
"name": "Listen for incoming events",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-640,
320
],
"parameters": {},
"typeVersion": 1
},
{
"id": "36f64ae1-cd45-4c4d-a130-434240fae577",
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"onError": "continueErrorOutput",
"position": [
32,
320
],
"parameters": {},
"typeVersion": 1.1
}
],
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "fede1a58-ea3d-45f3-a4fa-4b4a367dadea",
"connections": {
"Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Telegram",
"type": "main",
"index": 0
}
]
]
},
"Download file": {
"main": [
[
{
"node": "Insert documents",
"type": "main",
"index": 0
}
]
]
},
"File uploaded": {
"main": [
[
{
"node": "Download file",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Embedding model": {
"ai_embedding": [
[
{
"node": "Insert documents",
"type": "ai_embedding",
"index": 0
},
{
"node": "Retrieve documents",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Retrieve documents": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Default Data Loader": {
"ai_document": [
[
{
"node": "Insert documents",
"type": "ai_document",
"index": 0
}
]
]
},
"Listen for incoming events": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Description ๐ Overview
Source: https://n8n.io/workflows/8147/ โ original creator credit. Request a take-down โ
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Order and Delivery Support. Uses lmChatOpenAi, documentDefaultDataLoader, embeddingsOpenAi, toolVectorStore. Event-driven trigger; 29 nodes.
Supabase RAG AI Agent PDFs & More. Uses lmChatOpenAi, documentDefaultDataLoader, embeddingsOpenAi, toolVectorStore. Event-driven trigger; 29 nodes.
This powerful AI automation add-on upgrades your Telegram Bot Starter Template by integrating a fully functional AI chatbot and a context-aware AI agent that answers user questions using your internal
<h2>๐ง Analyze, classify, and summarize emails using RAG (automatic taxonomy learning)</h2>
Deploy a personal AI assistant that answers recruiter questions about your skills and projects, then automatically emails your CV as a PDF attachment when requested. Upload your portfolio documents (r