This workflow corresponds to n8n.io template #4525 — 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": "ALajUsJPZXlb0D1x",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "The Ultimate Beginner's Guide to an AI-Powered Telegram Assistant (PDF, Brave search & Google Suite)",
"tags": [],
"nodes": [
{
"id": "6f540a06-307d-4381-879c-22fc06d83d38",
"name": "Sticky Note12",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1200,
-2460
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "49427549-ac69-48ff-8a1c-c00b20391adb",
"name": "Listen for incoming events",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-600,
-1120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "73100ab7-d606-445d-a39d-c8ef00a73c36",
"name": "Download voice file",
"type": "n8n-nodes-base.telegram",
"position": [
120,
40
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "470d604b-f19b-4293-8ced-8d852f7cf81f",
"name": "Combine content and set properties",
"type": "n8n-nodes-base.set",
"position": [
520,
40
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "87eb6606-4f1e-4c42-96be-eda43a4b8463",
"name": "Convert audio to text",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
320,
40
],
"parameters": {},
"typeVersion": 1.5
},
{
"id": "147696af-a13d-4c1f-89c1-f20090fa2247",
"name": "Send Typing action",
"type": "n8n-nodes-base.telegram",
"position": [
-600,
-1700
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "4effd9e6-718e-4b3d-a768-15c87e3fe214",
"name": "Sticky Note13",
"type": "n8n-nodes-base.stickyNote",
"position": [
-620,
-1380
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "c6e72643-dae3-42d2-836c-268ffa42a57b",
"name": "Sticky Note14",
"type": "n8n-nodes-base.stickyNote",
"position": [
40,
-140
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "5d22094e-3ba6-4e22-87cb-a49fbc25abdb",
"name": "Sticky Note15",
"type": "n8n-nodes-base.stickyNote",
"position": [
280,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "93224881-1742-4c93-ac54-bd75b9620811",
"name": "Sticky Note16",
"type": "n8n-nodes-base.stickyNote",
"position": [
-900,
-1120
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a607a802-d23d-40cf-9a24-2cce9aba5cd9",
"name": "Call Replicate API",
"type": "n8n-nodes-base.httpRequest",
"position": [
1180,
40
],
"parameters": {},
"typeVersion": 2
},
{
"id": "638d6928-aab0-410f-8131-5b8aaa2ef174",
"name": "Send AI Voice Response via Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
1740,
40
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "69d14b4d-fb8e-4648-b2aa-ca62c808553a",
"name": "Download Replicate Audio",
"type": "n8n-nodes-base.httpRequest",
"position": [
1460,
40
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "774e0deb-ebf3-48a6-a728-f39b17bbcbee",
"name": "Google Gemini Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
100,
880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0cd0d71f-c700-47df-9f93-b15421e3c65e",
"name": "Send AI Text Response (Chat)",
"type": "n8n-nodes-base.telegram",
"position": [
540,
660
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a36469f6-1352-466f-b1e7-a9ccb5da712d",
"name": "Send Brave Search Results via Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
600,
-1140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7cce4b9e-405e-40b5-8ba6-afb23bcd8408",
"name": "Think",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
500,
880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "5fefa188-9115-4443-ba0e-9b801fe9e446",
"name": "Calculator",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
400,
880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "38027e72-7341-4b40-8568-fd7a45c00efa",
"name": "Date & Time",
"type": "n8n-nodes-base.dateTimeTool",
"position": [
600,
880
],
"parameters": {},
"typeVersion": 2
},
{
"id": "615c9b57-1192-40ae-87c6-19da126c02df",
"name": "Brave Search 2",
"type": "@brave/n8n-nodes-brave-search.braveSearch",
"position": [
80,
-1140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "842badfe-96df-4532-b05f-183455a3727d",
"name": "Brave Search",
"type": "@brave/n8n-nodes-brave-search.braveSearchTool",
"position": [
700,
880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "06ac04e8-cbc6-4645-8dcc-31affdebe8cf",
"name": "Google Calendar Create Event",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
300,
880
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "fb06828c-0b95-41c3-b077-08788366ae01",
"name": "Google Calendar Next Holiday",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
800,
880
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "7b894d20-dced-4696-9beb-eb3ef0a03937",
"name": "Question and Answer Chain",
"type": "@n8n/n8n-nodes-langchain.chainRetrievalQa",
"position": [
200,
1240
],
"parameters": {},
"typeVersion": 1.5
},
{
"id": "bf878cbe-559c-4f7a-be37-306b2ee156dd",
"name": "Vector Store Retriever",
"type": "@n8n/n8n-nodes-langchain.retrieverVectorStore",
"position": [
280,
1420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a257406b-4cfd-4243-8969-46b49341898c",
"name": "Qdrant Vector Store1",
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"position": [
200,
1560
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "ab0dbdd8-1881-4e44-aebe-b66927a79664",
"name": "Embeddings OpenAI1",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
200,
1700
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a21d4847-fd92-4533-8bae-f0dd177cf490",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
40,
1140
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "66208578-57a8-4ce6-a45a-0f33decfc81b",
"name": "Gemini for RAG Answer",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
100,
1420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0343b12a-28ae-41d5-872a-19d03259b6bd",
"name": "Send RAG Answer via Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
620,
1240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "aa9e6bba-7469-436f-b634-ae741e985027",
"name": "Refresh collection",
"type": "n8n-nodes-base.httpRequest",
"position": [
80,
-2160
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "080d93f1-df36-4a64-8009-2b42fbc4a489",
"name": "Search PDFs",
"type": "n8n-nodes-base.googleDrive",
"position": [
360,
-2160
],
"parameters": {},
"typeVersion": 3
},
{
"id": "be453484-43af-44bd-8c7a-0ad3ce9dbf85",
"name": "Send PDF Search Results via Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
600,
-2160
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c214369a-c777-49b1-8455-05689e649c7a",
"name": "Send Qdrant Indexing Confirmation",
"type": "n8n-nodes-base.telegram",
"position": [
2320,
-1920
],
"parameters": {},
"typeVersion": 1
},
{
"id": "513472b6-6ab5-4a8f-9734-58dc92891a76",
"name": "Mistral Upload",
"type": "n8n-nodes-base.httpRequest",
"position": [
500,
-1740
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "4f760374-e51f-4060-827c-f9c45cbc3385",
"name": "Mistral Signed URL",
"type": "n8n-nodes-base.httpRequest",
"position": [
820,
-1740
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "a1daf9ad-1585-41e9-9908-e66f04d66f84",
"name": "Mistral DOC OCR",
"type": "n8n-nodes-base.httpRequest",
"position": [
1140,
-1740
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "4a57ec56-0955-44f2-bb71-712f91280fc7",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"position": [
1860,
-1740
],
"parameters": {},
"typeVersion": 3
},
{
"id": "e8372f21-27f1-4aa0-9a77-420a843ed87f",
"name": "Embeddings OpenAI",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
2660,
-1540
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "9d2487e1-ef23-48c2-8beb-4b7175ee4777",
"name": "Default Data Loader",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
2760,
-1560
],
"parameters": {},
"typeVersion": 1
},
{
"id": "fef676b7-5e9e-4ebc-8eab-50a24d46f061",
"name": "Token Splitter",
"type": "@n8n/n8n-nodes-langchain.textSplitterTokenSplitter",
"position": [
2780,
-1420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1baa5ead-f0cb-41a5-b1b8-2f42c57eb82d",
"name": "Code",
"type": "n8n-nodes-base.code",
"position": [
1460,
-1740
],
"parameters": {},
"typeVersion": 2
},
{
"id": "f63ddfa2-523a-40be-b246-11ea53768cdb",
"name": "Wait",
"type": "n8n-nodes-base.wait",
"position": [
3180,
-1720
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "5da41e9e-0a2a-4a62-8e86-fbaeae0f5791",
"name": "Qdrant Vector Store",
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"position": [
2700,
-1720
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "ee2047fd-3a20-4813-8f05-d5d499e36c16",
"name": "Set page",
"type": "n8n-nodes-base.set",
"position": [
2320,
-1720
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "ce674bea-0e4a-4b5b-a205-d11a6b187548",
"name": "Get PDF",
"type": "n8n-nodes-base.googleDrive",
"position": [
180,
-1740
],
"parameters": {},
"typeVersion": 3
},
{
"id": "b8a9c4bb-af0c-4810-81a3-5449e69d3ca4",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
40,
-1940
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b0f639cc-4cf2-45db-8d8b-0582cfb0e674",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
40,
-920
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "6c57d895-f217-49e8-8a5f-bd46e947e456",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
40,
-1240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "978317f1-4052-4f54-b262-382e71bdb80f",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
40,
540
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2e957657-5a6c-4033-b88f-d08ea4dfdc06",
"name": "AI Agent1",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
180,
660
],
"parameters": {},
"typeVersion": 2
},
{
"id": "689c0e8b-1a78-4076-a2d2-0169bb0e94e1",
"name": "Determine content type1",
"type": "n8n-nodes-base.switch",
"position": [
-460,
-1080
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "3d8c4eea-8c89-41b6-aa84-f81ce11fe673",
"name": "Google Gemini Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
700,
300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "01e655ac-92d8-41a0-8bf2-958ded989bf1",
"name": "Think1",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
1100,
300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ae27817c-4208-4328-9712-707404a23190",
"name": "Calculator1",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
1000,
300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e87e463c-6b5c-4df8-838b-3b302a9b34a8",
"name": "Date & Time1",
"type": "n8n-nodes-base.dateTimeTool",
"position": [
1200,
300
],
"parameters": {},
"typeVersion": 2
},
{
"id": "d4de61f1-54e6-49ad-aef4-c3f9ecdaf97b",
"name": "Brave Search1",
"type": "@brave/n8n-nodes-brave-search.braveSearchTool",
"position": [
1300,
300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8679a8a1-6cbd-43bd-bc9b-3a6ede23217f",
"name": "Google Calendar Create Event1",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
900,
300
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "5a042f2e-979d-4e3d-bd71-841e77f71ebe",
"name": "Google Calendar Next Holiday1",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
1400,
300
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "65bcb0e9-0fb7-4808-aa58-9a5c8f006f31",
"name": "AI Agent3",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
780,
40
],
"parameters": {},
"typeVersion": 2
},
{
"id": "740c2ee1-b683-4c39-bd74-b410fd110a4f",
"name": "Window Buffer Memory2",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
800,
300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "fc4de923-7f86-4260-9892-ab959fea678f",
"name": "Help Responder1",
"type": "n8n-nodes-base.telegram",
"position": [
-1080,
-1700
],
"parameters": {},
"typeVersion": 1
},
{
"id": "053bbd12-ed22-492c-a214-7fb5a525329e",
"name": "Window Buffer Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
200,
880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "281e3787-048a-445a-b18f-f3eaed7eaf72",
"name": "Airbnb MCP",
"type": "n8n-nodes-mcp.mcpClientTool",
"position": [
1580,
300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8b483aef-8f3a-4419-ac16-ff0221c081ca",
"name": "Airbnb Tools",
"type": "n8n-nodes-mcp.mcpClientTool",
"position": [
1500,
300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "be91115a-bb69-46aa-85f4-8dde900ceba0",
"name": "Airbnb MCP1",
"type": "n8n-nodes-mcp.mcpClientTool",
"position": [
1000,
880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ab93549d-c501-431f-9e18-1efdc2345c0d",
"name": "Airbnb Tools1",
"type": "n8n-nodes-mcp.mcpClientTool",
"position": [
920,
880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f02ca912-93d8-499f-bdcc-3dcbd2a6d4b5",
"name": "Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
320,
-480
],
"parameters": {},
"typeVersion": 3
},
{
"id": "d81d6347-bf1a-4518-88c6-478256623737",
"name": "Google Docs",
"type": "n8n-nodes-base.googleDocs",
"position": [
540,
-480
],
"parameters": {},
"typeVersion": 2
},
{
"id": "bd7d1e56-f3a5-433a-89dc-859e3e2f1db4",
"name": "Google Drive1",
"type": "n8n-nodes-base.googleDrive",
"position": [
760,
-480
],
"parameters": {},
"typeVersion": 3
},
{
"id": "c46f7d94-f9f2-4024-9470-05a7c091cf53",
"name": "Google Drive2",
"type": "n8n-nodes-base.googleDrive",
"position": [
980,
-480
],
"parameters": {},
"typeVersion": 3
},
{
"id": "c076b601-5dc2-4f15-baf2-9d22734b0e23",
"name": "Edit Fields",
"type": "n8n-nodes-base.set",
"position": [
80,
-480
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "dc406725-5970-4621-ae8c-ed9fd0e979f8",
"name": "Send Invoice PDF via Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
980,
-600
],
"parameters": {},
"typeVersion": 1
},
{
"id": "91f9cf53-d7cf-467b-a329-e20d20fc59f2",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-700,
-1780
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "07cc7026-b939-4342-a7b1-992c3fe40f06",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
40,
-620
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "4858c2d0-fc93-49a3-b16c-24fcbd6ccf45",
"name": "Google Calendar 2",
"type": "n8n-nodes-base.googleCalendar",
"position": [
100,
-860
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "5fff106a-f0f0-4352-8ddb-e9857152ebc9",
"name": "Send Birthday List via Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
620,
-860
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f78f7960-94c4-407c-95a3-1d5e688d6180",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1180,
-1780
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8fca9aba-a13b-4cd1-b8e2-d4d418ac20e8",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
40,
-2260
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "012ed105-340a-417c-b5c2-b53ef1643635",
"connections": {
"Code": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Wait": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Think": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
}
]
]
},
"Think1": {
"ai_tool": [
[
{
"node": "AI Agent3",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get PDF": {
"main": [
[
{
"node": "Mistral Upload",
"type": "main",
"index": 0
}
]
]
},
"Set page": {
"main": [
[
{
"node": "Qdrant Vector Store",
"type": "main",
"index": 0
}
]
]
},
"AI Agent1": {
"main": [
[
{
"node": "Send AI Text Response (Chat)",
"type": "main",
"index": 0
}
]
]
},
"AI Agent3": {
"main": [
[
{
"node": "Call Replicate API",
"type": "main",
"index": 0
}
]
]
},
"Airbnb MCP": {
"ai_tool": [
[
{
"node": "AI Agent3",
"type": "ai_tool",
"index": 0
}
]
]
},
"Calculator": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
}
]
]
},
"Airbnb MCP1": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
}
]
]
},
"Calculator1": {
"ai_tool": [
[
{
"node": "AI Agent3",
"type": "ai_tool",
"index": 0
}
]
]
},
"Date & Time": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Google Drive",
"type": "main",
"index": 0
}
]
]
},
"Google Docs": {
"main": [
[
{
"node": "Google Drive1",
"type": "main",
"index": 0
}
]
]
},
"Search PDFs": {
"main": [
[
{
"node": "Send PDF Search Results via Telegram",
"type": "main",
"index": 0
}
]
]
},
"Airbnb Tools": {
"ai_tool": [
[
{
"node": "AI Agent3",
"type": "ai_tool",
"index": 0
}
]
]
},
"Brave Search": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
}
]
]
},
"Date & Time1": {
"ai_tool": [
[
{
"node": "AI Agent3",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Drive": {
"main": [
[
{
"node": "Google Docs",
"type": "main",
"index": 0
}
]
]
},
"Airbnb Tools1": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
}
]
]
},
"Brave Search1": {
"ai_tool": [
[
{
"node": "AI Agent3",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Drive1": {
"main": [
[
{
"node": "Google Drive2",
"type": "main",
"index": 0
},
{
"node": "Send Invoice PDF via Telegram",
"type": "main",
"index": 0
}
]
]
},
"Google Drive2": {
"main": [
[]
]
},
"Brave Search 2": {
"main": [
[
{
"node": "Send Brave Search Results via Telegram",
"type": "main",
"index": 0
}
]
]
},
"Mistral Upload": {
"main": [
[
{
"node": "Mistral Signed URL",
"type": "main",
"index": 0
}
]
]
},
"Token Splitter": {
"ai_textSplitter": [
[
{
"node": "Default Data Loader",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "Send Qdrant Indexing Confirmation",
"type": "main",
"index": 0
}
],
[
{
"node": "Set page",
"type": "main",
"index": 0
}
]
]
},
"Mistral DOC OCR": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Embeddings OpenAI": {
"ai_embedding": [
[
{
"node": "Qdrant Vector Store",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Google Calendar 2": {
"main": [
[
{
"node": "Send Birthday List via Telegram",
"type": "main",
"index": 0
}
]
]
},
"Call Replicate API": {
"main": [
[
{
"node": "Download Replicate Audio",
"type": "main",
"index": 0
}
]
]
},
"Embeddings OpenAI1": {
"ai_embedding": [
[
{
"node": "Qdrant Vector Store1",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Mistral Signed URL": {
"main": [
[
{
"node": "Mistral DOC OCR",
"type": "main",
"index": 0
}
]
]
},
"Refresh collection": {
"main": [
[
{
"node": "Search PDFs",
"type": "main",
"index": 0
}
]
]
},
"Default Data Loader": {
"ai_document": [
[
{
"node": "Qdrant Vector Store",
"type": "ai_document",
"index": 0
}
]
]
},
"Download voice file": {
"main": [
[
{
"node": "Convert audio to text",
"type": "main",
"index": 0
}
]
]
},
"Qdrant Vector Store": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"Qdrant Vector Store1": {
"ai_vectorStore": [
[
{
"node": "Vector Store Retriever",
"type": "ai_vectorStore",
"index": 0
}
]
]
},
"Window Buffer Memory": {
"ai_memory": [
[
{
"node": "AI Agent1",
"type": "ai_memory",
"index": 0
}
]
]
},
"Convert audio to text": {
"main": [
[
{
"node": "Combine content and set properties",
"type": "main",
"index": 0
}
]
]
},
"Gemini for RAG Answer": {
"ai_languageModel": [
[
{
"node": "Question and Answer Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Window Buffer Memory2": {
"ai_memory": [
[
{
"node": "AI Agent3",
"type": "ai_memory",
"index": 0
}
]
]
},
"Vector Store Retriever": {
"ai_retriever": [
[
{
"node": "Question and Answer Chain",
"type": "ai_retriever",
"index": 0
}
]
]
},
"Determine content type1": {
"main": [
[
{
"node": "Help Responder1",
"type": "main",
"index": 0
}
],
[
{
"node": "Refresh collection",
"type": "main",
"index": 0
}
],
[
{
"node": "Get PDF",
"type": "main",
"index": 0
}
],
[
{
"node": "Question and Answer Chain",
"type": "main",
"index": 0
}
],
[
{
"node": "Google Calendar 2",
"type": "main",
"index": 0
}
],
[
{
"node": "Brave Search 2",
"type": "main",
"index": 0
}
],
[
{
"node": "Download voice file",
"type": "main",
"index": 0
}
],
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
],
[
{
"node": "Help Responder1",
"type": "main",
"index": 0
}
],
[
{
"node": "AI Agent1",
"type": "main",
"index": 0
}
]
]
},
"Download Replicate Audio": {
"main": [
[
{
"node": "Send AI Voice Response via Telegram",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent1",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Google Gemini Chat Model1": {
"ai_languageModel": [
[
{
"node": "AI Agent3",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Question and Answer Chain": {
"main": [
[
{
"node": "Send RAG Answer via Telegram",
"type": "main",
"index": 0
}
]
]
},
"Listen for incoming events": {
"main": [
[
{
"node": "Send Typing action",
"type": "main",
"index": 0
},
{
"node": "Determine content type1",
"type": "main",
"index": 0
}
]
]
},
"Google Calendar Create Event": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Calendar Next Holiday": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Calendar Create Event1": {
"ai_tool": [
[
{
"node": "AI Agent3",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Calendar Next Holiday1": {
"ai_tool": [
[
{
"node": "AI Agent3",
"type": "ai_tool",
"index": 0
}
]
]
},
"Combine content and set properties": {
"main": [
[
{
"node": "AI Agent3",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
How this works
This workflow creates a Telegram bot that acts as an intelligent personal assistant, letting users send voice messages or questions and receive instant, accurate replies drawn from both AI knowledge and their own PDF documents. It handles voice-to-text conversion, performs retrieval-augmented searches across uploaded files, and pulls live data from Google Workspace tools when needed. The core step is the Gemini-powered reasoning node that decides whether to answer directly, consult the document store, or call external tools.
Use it when you need a single conversational entry point to your documents and Google services; avoid it for high-volume customer support or when strict data residency rules apply. A common variation replaces the RAG step with live web search or adds scheduled daily briefings pulled from Sheets.
About this workflow
This comprehensive workflow bundle is designed as a powerful starter kit, enabling you to build a multi-functional AI assistant on Telegram. It seamlessly integrates AI-powered voice interactions, an intelligent PDF document search using a Retrieval-Augmented Generation (RAG)…
Source: https://n8n.io/workflows/4525/ — 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.
A lightweight, self-hosted AI assistant built entirely in n8n. Multi-channel messaging (Telegram, WhatsApp, Gmail), persistent memory, task management, and autonomous work — all in a single visual wor
This workflow implements an advanced AI automation agent (OpenClaw Agent) that interacts with users through Telegram and integrates multiple AI models, external tools, and cloud services to automate c
Your AI workforce is ready. Are you?
This intelligent chatbot leverages cutting-edge financial APIs and AI-driven analysis to deliver comprehensive stock research reports. Get instant access to professional-grade investment analysis that
This advanced n8n workflow automates the full lead enrichment, qualification, and personalized outreach process tailored specifically for the B2B real estate sector. Integrating top platforms like Api