Chat with PDF docs using AI (quoting sources): n8n template
Chat with PDF docs using AI (quoting sources) is a free n8n workflow template by David Roberts with 16 nodes. It starts with the Manual Trigger node ("When clicking "Execute Workflow"") and uses Pinecone Vector Store, Chat Trigger, OpenAI Chat Model, Google Drive and 2 more. You can paste it into your n8n editor in one click with FlowLume.
What this workflow does, step by step
- When clicking "Execute Workflow" (Manual Trigger node)
- When chat message received (Chat Trigger node)
- Set file URL in Google Drive (Edit Fields (Set) node)
- Set max chunks to send to model (Edit Fields (Set) node)
- Download file (Google Drive node)
- Get top chunks matching query (Pinecone Vector Store node)
- Pinecone Vector Store
- Embeddings OpenAI2 (Embeddings OpenAI node)
- Prepare chunks (Code node)
- Embeddings OpenAI
- Default Data Loader
- Answer the query based on chunks (Information Extractor node)
- Recursive Character Text Splitter
- OpenAI Chat Model1 (OpenAI Chat Model node)
The full workflow has 16 nodes; this list shows the main path from the trigger.
What you need before you paste it
Connect these accounts in n8n
- Google Drive (OAuth2) · used by Download file
- OpenAI · used by OpenAI Chat Model1, Embeddings OpenAI2, Embeddings OpenAI
- Pinecone · used by Pinecone Vector Store, Get top chunks matching query
Checked with FlowLume's setup checklist on 2026-11-25. In the extension, FlowLume Pro shows this checklist for any template before you paste.
Template facts
- Author
- David Roberts (verified n8n creator)
- Nodes
- 16
- Apps
- Pinecone Vector Store, Chat Trigger, OpenAI Chat Model, Google Drive, Embeddings OpenAI, Information Extractor
- Uses AI
- Yes (n8n AI nodes)
- Categories
- Document Extraction, AI RAG
- Views on n8n.io
- 95,385
- Published
- 5 March 2024
- Price
- Free
How to paste it with FlowLume
- Install FlowLume. Add the free FlowLume extension to Google Chrome from the Chrome Web Store.
- Open n8n. Open a new or existing workflow in your n8n editor (n8n Cloud or self-hosted).
- Find the template. Click the FlowLume button at the bottom right and search for "Chat with PDF docs using AI (quoting sources)".
- Paste it. Click Paste to n8n. All nodes and connections land on your canvas.
- Connect your accounts. Add your own credentials for Google Drive (OAuth2), OpenAI, Pinecone, then run the workflow.
Similar n8n templates
- 🤖 AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + QdrantToken Splitter · Qdrant Vector Store · Google Gemini Chat Model · Information Extractor
- Ask questions about a PDF using AIVector Store Pinecone · Chat Trigger · Agent · Google Drive
- Chat with GitHub API documentation: RAG-powered chatbot with Pinecone & OpenAIHTTP Request · Pinecone Vector Store · Chat Trigger · AI Agent
- AI Crew to Automate Fundamental Stock Analysis - Q&A WorkflowGoogle Drive · Document Default Data Loader · Qdrant Vector Store · Chat Trigger
- Advanced AI Demo (Presented at AI Developers #14 meetup)Slack · Embeddings OpenAI · OpenAI Chat Model · Vector Store Retriever
- Supabase Insertion & Upsertion & RetrievalGoogle Drive · Question and Answer Chain · OpenAI Chat Model · Vector Store Retriever
Template "Chat with PDF docs using AI (quoting sources)" by David Roberts, published on n8n.io. The template and its description belong to its author; this page only summarises its structure. FlowLume is an independent tool by DrakenLume and is not affiliated with n8n GmbH. n8n is a trademark of n8n GmbH.