Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Telegram chat with PDF

n8n template #2392
What 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

How to set it up

  1. Open template #2392 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 4 credentials under Credentials → Add credential: Telegram, Embeddings OpenAI, Pinecone Vector Store, Groq Chat Model. Then open each of those nodes and pick the credential.
  3. Check the model in the Groq Chat Model node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

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

Questions

Yes. felipe biava cataneo published it free on n8n.io, and it has 16K views. It runs on n8n Cloud or a self-hosted n8n instance.

Telegram, Embeddings OpenAI, Pinecone Vector Store, Groq Chat Model. The other 5 nodes are built into n8n.

Similar workflows

NameViews
  1. Advanced AI Demo (Presented at AI Developers #14 meetup)24K
  2. Chat with PDF docs using AI (quoting sources)95K
  3. Supabase Insertion & Upsertion & Retrieval24K
  4. Build a PDF Document RAG System with Mistral OCR, Qdrant and Gemini AI20K
  5. Build an AI-Powered Tech Radar Advisor with SQL DB, RAG, and Routing Agents12K
  6. Create a Multi-Modal Telegram Support Bot with GPT-4 and Supabase RAG10K
  7. Explore n8n Nodes in a Visual Reference Library5,197
  8. Ask questions about a PDF using AI118K