🔬 Automate a ‘Chat with your PDF’ Bot on Telegram with Google Gemini & Pinecone

682 views · 🔬 Document Extraction & Analysis

Description

This n8n template from Intuz provides a complete solution to automate a powerful, AI-driven ‘Chat with your PDF’ bot on Telegram.

It uses Retrieval-Augmented Generation (RAG) to allow users to upload documents, which are then indexed into a vector database, enabling the bot to answer questions based only on the provided content.

Who’s this workflow for?

How it works

This workflow has two primary functions: indexing a new document and answering questions about it.

1. Uploading & Indexing a Document:

2. Asking a Question (RAG):

Key Requirements to Use This Template

1. n8n Instance & Required Nodes:

2. Telegram Account:

3. Google Gemini AI Account:

4. Pinecone Account:

Setup Instructions

1. Telegram Configuration:

2. Pinecone Configuration:

3. Google Gemini Configuration:

4. Activate and Use:

Connect with us

For Custom Workflow Automation

Click here- Get Started

🔗 Nodes Used

Telegram, Telegram Trigger, Stop and Error, Question and Answer Chain, Vector Store Retriever, Recursive Character Text Splitter

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup