Templates / Create an AI Telegram bot using Google Drive, Qdrant, and OpenAI GPT-4.1

Create an AI Telegram bot using Google Drive, Qdrant, and OpenAI GPT-4.1

Ready for 3.0

by Konstantin ✓ · 570 views · created 2025-12-28 · Internal Wiki, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs on Telegram events (message) (plus 1 other trigger). Along the way it connects Google Drive, Qdrant Vector Store, Telegram and Embeddings OpenAI and 1 more.

How it runs

Trigger: On Telegram events (message) (plus 1 other trigger).

  1. Filter: keeps only the items that match a condition
  2. Download File (Google Drive): download
  3. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Qdrant Knowledge Base)
  4. Insert into Qdrant (Qdrant Vector Store): stores documents in the Qdrant vector store, with embeddings: OpenAI Embeddings; document loader: Load Document Data
  5. Send Response to Telegram (Telegram): uses Telegram
  6. Move to Processed Folder (Google Drive): move

Services it uses

Google DriveQdrant Vector StoreTelegramEmbeddings OpenAIOpenAI Chat Model

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)

From the author

How it works This workflow creates an intelligent Telegram bot with a knowledge base powered by Qdrant vector database. The bot automatically processes documents uploaded to Google Drive, stores them as embeddings, and uses this knowledge to answer questions…

Excerpt from Konstantin's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.