Telegram chat with PDF
n8n template #2392Summary
Use templateWhat this template does This template serves as a Chatbot that enables you to ask questions about the content of a PDF directly in Telegream. It checks incoming Telegram messages if they contain a document. If they do, it stores the PDF in a Pinecone Vector store. If there's no document, it will search the Vector Store for information and try to answer your question. Setup Open the Telegram app and search for the BotFather user (@BotFather) Start a chat with the BotFather Type /newbot to create a new bot Follow the prompts to name your bot and get a unique API token Save your access token and username Once you set your bot, you can send the pdf, and then ask questions about the content. How
Hand off to your agent
Prompt
Help me set up the n8n workflow "Telegram chat with PDF" (https://n8n.io/workflows/2392). It uses: Telegram, Code, Question and Answer Chain, Embeddings OpenAI, Vector Store Retriever, Recursive Character Text Splitter, Pinecone Vector Store, Default Data Loader, Groq Chat Model. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
TelegramCodeQuestion and Answer ChainEmbeddings OpenAIVector Store RetrieverRecursive Character Text SplitterPinecone Vector StoreDefault Data LoaderGroq Chat Model
Similar workflows
NameViews
- Advanced AI Demo (Presented at AI Developers #14 meetup)24K
- Automate a 'Chat with your PDF' Bot on Telegram with Google Gemini & Pinecone670
- Document Analysis & Chatbot Creation with Llama Parser, Gemini LLM & Pinecone DB2,769
- Build a RAG System with Automatic Citations using Qdrant, Gemini & OpenAI693
- Chat with PDF docs using AI (quoting sources)95K
- Supabase Insertion & Upsertion & Retrieval24K
- Build a PDF Document RAG System with Mistral OCR, Qdrant and Gemini AI20K
- Build an AI-Powered Tech Radar Advisor with SQL DB, RAG, and Routing Agents12K