AutomationMart
Home/Browse/Pdf RAG agent with Telegram chat & auto-ingestion from Google Drive
n8n

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

n8nn8n32 modulesv1.0
OpenAIGoogle DriveTelegram

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
Pdf RAG agent with Telegram chat & auto-ingestion from Google Drive workflow diagram

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.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 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

Use module Create a Job to merge a large number of files. The scenario [on this link](https://www.integromat.com/en/integration/3062-create-a-new-job-for-export-url-tasks-download-files-from-export-url-tasks-in-cloudconvert) may assist with exporting/downloading the files and uploading them back to Google Drive after the job is finished.

Free

YouTube video summary to Discord with GPT-4o, Slack approval, and Google Sheets

Workflow Overview This advanced n8n automation is a sophisticated content intelligence tool that transforms YouTube video discovery into a seamless, multi-platform content distribution system. By leveraging RSS, AI, and multiple communication platforms, this workflow: 1. Discovers New Content: - Monitors YouTube channels via RSS feed - Captures new video uploads automatically - Extracts critical video metadata 2. Generates Intelligent Summaries: - Leverages OpenAI's GPT models to analyze vi

Free

Classify and summarize WeChat articles with GPT-4 Nano to Google Sheets and Notion

Who’s it for 👥 This template is perfect for content creators, marketers, and researchers managing WeChat public account articles! 🚀 It’s ideal for n8n newcomers or anyone wanting to save time on manual content analysis, especially if you use Google Sheets for tracking. 📊 Whether you’re into AI, 欧阳良宜, or automation, this is for you! 😄 How it works / What it does 🔧 This workflow automates the retrieval, filtering, classification, and summarization of WeChat articles. 🌐 It reads RSS feed lin

Free

Daily affirmations & weekly gratitude digest with Notion, Email & Telegram

Affirmation Sender + Weekly Gratitude Digest v2 A gentle, automated wellness ritual for high-impact women who scale with grace. 📌 What it does - Every morning at 7 a.m. (your timezone) → a fresh affirmation lands in Email, Telegram, or both. - Every Sunday at 6 p.m. → a beautiful recap of your last-7-day gratitude notes is delivered. - Logs everything to a simple Notion hub so you can revisit, review, or share. ✨ Out-of-the-box experience | Channel | Morning Affirmation | Sunday Digest | |-

Free

Automatizar Respostas no Telegram com Zaia

Aprimore seu engajamento no Telegram automatizando respostas com a Zaia. Esta ferramenta assegura que você mantenha um alto nível de serviço e responsividade, promovendo uma melhor comunicação com seu público.

Free

Save new Instagram photos to Google Drive

Every time you upload a new photo to Instagram, Make will automatically save that photo to a selected Google Drive folder.

Free

Extract and merge Twitter (X) threads using TwitterAPI.io

Twitter (X) Thread Fetcher: Extract and Merge Tweets from Threads What it does - Thread Detection: Automatically detects whether the provided Twitter link is a single tweet or a thread. - Tweet Extraction: Fetches and returns the content of a single tweet, or gathers all tweets in a thread by retrieving the first tweet and all connected replies. - Thread Merging: Merges all tweets in the correct order to reconstruct the complete thread, filtering out any empty results. - Seamless Integration: Ea

Free

Generate images and convert to video using Flux, Kraken & Runway

(Image Generation → Hosting → Video Generation) This workflow is designed for creators, automation enthusiasts, and indie hackers who want to generate image-based videos automatically using AI tools — at a low cost. --- ⚙️ Workflow Overview This automation performs the following steps: 1. Trigger (Schedule or manual) 2. Generate an image using Flux (choose between two APIs) 3. Upload the image to Kraken.io to get a public URL 4. Send the image to Runway ML (choose between two APIs) to generate a

Free

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.

Log in to review
Free
No ratings yet

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.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free