Ask questions about a PDF using AI
n8n template #1960Summary
Use templateThe workflow first populates a Pinecone index with vectors from a Bitcoin whitepaper. Then, it waits for a manual chat message. When received, the chat message is turned into a vector and compared to the vectors in Pinecone. The most similar vectors are retrieved and passed to OpenAI for generating a chat response. Note that to use this template, you need to be on n8n version 1.19.4 or later.
Hand off to your agent
Prompt
Help me set up the n8n workflow "Ask questions about a PDF using AI" (https://n8n.io/workflows/1960). It uses: Google Drive, Question and Answer Chain, Binary Input Loader, Embeddings OpenAI, OpenAI Chat Model, Vector Store Retriever, Recursive Character Text Splitter, Pinecone: Insert, Pinecone: Load. 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 DriveQuestion and Answer ChainBinary Input LoaderEmbeddings OpenAIOpenAI Chat ModelVector Store RetrieverRecursive Character Text SplitterPinecone: InsertPinecone: Load
Similar workflows
NameViews
- AI Crew to Automate Fundamental Stock Analysis - Q&A Workflow28K
- Supabase Insertion & Upsertion & Retrieval24K
- Advanced AI Demo (Presented at AI Developers #14 meetup)24K
- Build and Update RAG System with Google Drive, Qdrant, and Gemini Chat1,967
- Build a self-updating RAG system with OpenAI, Qdrant and Google Drive1,412
- Build a RAG System with Automatic Citations using Qdrant, Gemini & OpenAI693
- Create a Paul Graham Essay Q&A System with OpenAI and Milvus Vector Database661
- Chat with PDF docs using AI (quoting sources)95K