Templates / Pdf RAG agent with Telegram chat & auto-ingestion from Google Drive

Pdf RAG agent with Telegram chat & auto-ingestion from Google Drive

Ready for 3.0

by Meelioo ✓ · 1,516 views · created 2025-09-23 · 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 32 nodes and runs manually, when you click “Execute workflow” (plus 3 other triggers). Along the way it connects Azure OpenAI Chat Model, Embeddings Mistral Cloud, Postgres PGVector Store and Google Drive and 1 more.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 3 other triggers).

  1. List All File Names (Google Drive): work with file folder
  2. AI Agent: runs an AI agent, with model: Azure OpenAI Chat Model; 1 tool (Postgres PGVector Store); memory: Simple Memory
  3. Postgres PGVector Store: stores documents in the Postgres PGVector Store vector store, with embeddings: Embeddings Mistral Cloud; document loader: Default Data Loader
  4. If: checks a condition and branches into true / false
  5. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  6. AI Agent: runs an AI agent, with model: Azure OpenAI Chat Model; 1 tool (Postgres PGVector Store); memory: Simple Memory
  7. If: checks a condition and branches into true / false
  8. Download Corresponding File (Google Drive): download
  9. Send a Text Message (Telegram): uses Telegram
  10. Approve Ingestion (Telegram): send and wait for a reply

…plus 7 more steps. See the full node list below.

Services it uses

Azure OpenAI Chat ModelEmbeddings Mistral CloudPostgres PGVector StoreGoogle DriveTelegram

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 (16)

From the author

How it works This workflow creates an intelligent document assistant called "Mookie" that can answer questions based on your uploaded documents. Here's how it operates: - Document Ingestion: The system can automatically load PDF files from Google Drive or…

Excerpt from Meelioo'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.