Skip to content
FlowHubFluxonLab
Binary Input Loader
AI Automationfree

Ask questions about a PDF using AI

by David Robertsadapted from n8n official workflow galleryUpdated Aug 2026
RequiresBinary Input LoaderBinary Input LoaderEmbeddings OpenAIEmbeddings OpenAIGoogle DriveGoogle DriveOpenAI Chat ModelOpenAI Chat ModelPinecone: InsertPinecone: InsertPinecone: LoadPinecone: LoadQuestion and Answer ChainQuestion and Answer ChainRecursive Character Text SplitterRecursive Character Text SplitterVector Store RetrieverVector Store Retriever
Share Post Share
MaWhen clicking 'Test Workflow' buttonWhen clicking '…VSPinecone Vector StorePinecone Vector…ChWhen chat message receivedWhen chat messa…AgQuestion & AnswerQuestion & Answ…SeSet Google Drive file URLSet Google Driv…Google DriveDDDefault Data LoaderDefault Data Lo…TSRecursive Character Text SplitterRecursive Chara…Embeddings OpenAI1Embeddings Open…Embeddings OpenAIEmbeddings Open…VSPinecone Vector Store1Pinecone Vector…OpenAI Chat ModelOpenAI Chat Mod…123456
1/5
FLOWS
STEPS · 6
Run manually by an operator

The 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.

Tags

n8nreference-onlychain-retrieval-qadocument-binary-input-loaderembeddings-open-aigoogle-drivelm-chat-open-airetriever-vector-storetext-splitter-recursive-character-text-splittervector-store-pinecone-insertvector-store-pinecone-load
Connects
binaryinputloaderBinary Input LoaderembeddingsopenaiEmbeddings OpenAIgoogledriveGoogle DriveopenaichatmodelOpenAI Chat ModelpineconeinsertPinecone: InsertpineconeloadPinecone: Load
CategoryAI Automation
Triggermanual
Complexitycomplex
Nodes12
AddedOct 3, 2023

Related workflows

See all AI Automation
DhtmlWopenaichatmodel
free

Scrape and summarize webpages with AI

This workflow integrates both web scraping and NLP functionalities. It uses HTML parsing to extract links, HTTP requests to fetch essay content, and AI-based summarization using GPT-4o. It's an excellent example of an end-to-end automated task that is not only efficient but also provides real value by summarizing valuable content. Note that to use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
ACDgmail
free

AI: Summarize podcast episode and enhance using Wikipedia

The workflow automates the process of creating a summarized and enriched podcast digest, which is then sent via email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
openaichatmodelquestionandanswerchainworkflowretriever
free

AI: Ask questions about any data source (using the n8n workflow retriever)

This template aims to perform Q&A on data retrieved from another n8n workflow. Since that workflow can be used to retrieve any data from any service, this template can be used to ask questions about any data. It uses a manual trigger, various AI nodes, and an OpenAI Chat Model to extract and provide relevant information based on a specific query. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team