Deploy a powerful RAG system using this n8n workflow. Index PDFs via Telegram, leverage Google Gemini LLM, and store vectors in Pinecone. A robust n8n template for conversational AI.
Download this n8n workflow template and start using it instantly.
This advanced n8n workflow provides a complete solution for creating a 'Chat with PDF' bot on Telegram. It addresses the common challenge of making unstructured data searchable and conversational. The n8n template elegantly handles two separate functions: first, allowing users to upload a PDF file for indexing (creating searchable embeddings in Pinecone), and second, executing a Retrieval-Augmented Generation (RAG) chain to answer questions based on the indexed content. Every component, from the initial n8n trigger to the final response, is optimized for performance and accuracy, relying heavily on the n8n node suite for LangChain integration, Gemini, and Pinecone, ensuring a seamless user experience.
The entire process is initiated by the Telegram Message n8n trigger when a user sends any message to the bot.
Telegram Message Trigger. The Check If is a document n8n node then acts as a router, checking if the incoming message contains a binary file (a PDF).Telegram get File n8n node downloads it. A subsequent Code n8n node ensures the binary metadata is correctly set to application/pdf. The document is then loaded and split into manageable chunks using the Recursive Character Text Splitter. These chunks are converted into numerical vectors using the Embeddings Google Gemini n8n node, and finally inserted into the Pinecone vector database using the dedicated Pinecone Vector Store n8n node. A confirmation message is sent via Telegram.Embeddings Google Gemini n8n node) and used by the Vector Store Retriever to find relevant context from Pinecone.Question and Answer Chain. This powerful n8n node utilizes the Google Gemini Chat Model to generate a precise answer, strictly adhering to the prompt which mandates using Telegram's HTML parse mode for formatting. The final response is delivered back to the user via the Telegram Response n8n node, completing the n8n workflow execution.telegram used in this specific n8n workflow.models/gemini-embedding-001 model.Deploy this sophisticated n8n workflow for automated Zoom user provisioning. This n8n template manages OAuth access token refresh using the n8n Data Table node for seamless, secure API integration.

Use this powerful n8n workflow to automatically synchronize Zoom attendee data with KlickTipp. Segment contacts and apply tags based on actual meeting attendance duration (>90%). Get started with n8n templates.

Quickly automate Zillow property scraping, filter listings by budget using a powerful n8n workflow, and save matched properties directly to Google Sheets for tracking.

Automate your Tally forms with this efficient n8n workflow. Instantly capture submissions using an n8n trigger, store lead data in Airtable, and send personalized confirmation emails via Gmail.

Streamline client onboarding using this powerful n8n workflow. Automate project folder creation in Google Drive, set up Slack and Notion pages, log details to Sheets, and generate personalized welcome emails using OpenAI (gpt-4o-mini).

Use this powerful n8n workflow to automatically fetch the latest funding round data from the Crunchbase API, parse and clean the records, and sync real-time insights to both Google Sheets and Airtable daily. Essential n8n templates for market research.

Workflow automation can help automate your routine activities and help saves $$$, as well as hours of time. As a boutique tech consulting company, Intuz help businesses with custom AI/ML, AI Workflow Automations, and software development. Automate your business workflow for: Sales Marketing Accounting Finance Operations E-Commerce Customer Support Admin & Backoffice Logistics & Supply Chain







































