Chat with PDF docs using AI (quoting sources)
n8n template #2165Summary
Use templateThis workflow allows you to ask questions about a PDF document. The answers are provided by an AI model of your choice, and the answer includes a citation pointing to the information it used. You can use n8n’s built-in chat interface to ask the questions, or you could customise this workflow to use another one (e.g. Slack, Teams, etc.) Example The workflow is set up with the Bitcoin whitepaper. So you could ask things like: Question: “Which email provider does the creator of Bitcoin use?“ Answer: “GMX [Bitcoin whitepaper.pdf, lines 1-35]” Requirements A Pinecone account (they have a free tier at the time of writing that is easily enough for this workflow) Access to a large language model (e.
Hand off to your agent
Prompt
Help me set up the n8n workflow "Chat with PDF docs using AI (quoting sources)" (https://n8n.io/workflows/2165). It uses: Google Drive, Code, Basic LLM Chain, Embeddings OpenAI, OpenAI Chat Model, Structured Output Parser, Recursive Character Text Splitter, Pinecone Vector Store, Default Data Loader. 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
Google DriveCodeBasic LLM ChainEmbeddings OpenAIOpenAI Chat ModelStructured Output ParserRecursive Character Text SplitterPinecone Vector StoreDefault Data Loader
Similar workflows
NameViews
- AI-Powered RAG Document Processing & Chatbot with Google Drive, Supabase, OpenAI11K
- Explore n8n Nodes in a Visual Reference Library5,197
- Ai email auto-responder system- AI RAG agent for email inbox1,023
- Automate business partner outreach with Google Maps, GPT-4 & WhatsApp917
- WhatsApp Group Chat with Your Vector Database — No Facebook Business Required779
- AI-Powered MIS Agent437
- Smart Customer Support System with GPT-4o, Gmail, Slack & Drive Knowledge Base'423
- Automate sales cold calling pipeline with Apify, gpt-5.6-terra, and WhatsApp34K