Pdf RAG agent with Telegram chat & auto-ingestion from Google Drive
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 accept PDFs uploaded directly through Telegram, then processes and stores them in a PostgreSQL vector database using Mistral embeddings - Smart Retrieval: When users ask questions via Telegram or a web chat interface, the AI agent searches thro
At a glance
Pdf RAG agent with Telegram chat & auto-ingestion from Google Drive is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects OpenAI, Google Drive, Telegram. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- OpenAI, Google Drive, Telegram
- Modules
- 32
- Price
- Free
- Version
- v1.0

About this workflow
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 accept PDFs uploaded directly through Telegram, then processes and stores them in a PostgreSQL vector database using Mistral embeddings - Smart Retrieval: When users ask questions via Telegram or a web chat interface, the AI agent searches through the stored documents to find relevant information using vector similarity matching - Contextual Responses: Using GPT-4 and the retrieved document context, Mookie provides accurate answers based solely on the ingested documents, avoiding hallucination by refusing to answer questions not covered in the stored materials - Memory & Conversation: The system maintains conversation history for each user, allowing for natural follow-up questions and contextual discussions Set up steps Estimated setup time: 30-45 minutes You'll need to configure several external services and credentials: - Set up a PostgreSQL database with PGVector extension for document storage - Create accounts and API keys for Azure OpenAI (GPT-4), Mistral Cloud (embeddings), and Google Drive access - Connect your own LLM's if you don't have these credentials. - Configure a Telegram bot and obtain API credentials for chat functionality - Update webhook URLs throughout the workflow to match your n8n instance - Test the document ingestion pipeline with sample PDFs - Verify the chat interfaces (both Telegram and web) are responding correctly >The workflow includes approval mechanisms for PDF ingestion and handles both automated bulk processing from Google Drive and real-time document uploads through Telegram. Read the sticky notes provided in the template code for clear instructions.
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Advanced - Create a Job - upload files from Google Drive and merge them into one file in CloudConvert
YouTube video summary to Discord with GPT-4o, Slack approval, and Google Sheets
Classify and summarize WeChat articles with GPT-4 Nano to Google Sheets and Notion
Daily affirmations & weekly gratitude digest with Notion, Email & Telegram
Automatizar Respostas no Telegram com Zaia
Save new Instagram photos to Google Drive
Extract and merge Twitter (X) threads using TwitterAPI.io
Generate images and convert to video using Flux, Kraken & Runway
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you