AcademyWorkflowsProductivity

Ask questions about a PDF using AI

Teams that want to ask questions about their own documents and get answers based on the content.

  • Recommendedour rating
  • 118,063views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

ask-questions-about-a-pdf-using-ai.json

Loading the file...

What it does

An n8n workflow template that first loads a PDF into a Pinecone index as vectors, using a Bitcoin whitepaper as the example. When a chat message arrives, it finds the most similar vectors and passes them to OpenAI to write an answer. It needs n8n version 1.19.4 or later.

Use cases

  1. 01Ask questions about a report or whitepaper
  2. 02Build a simple chat over company PDFs
  3. 03Learn how document retrieval works in n8n

Connects

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

Questions about
Ask questions about a PDF using AI.

What is Ask questions about a PDF using AI used for?

Teams that want to ask questions about their own documents and get answers based on the content. An n8n workflow template that first loads a PDF into a Pinecone index as vectors, using a Bitcoin whitepaper as the example. When a chat message arrives, it finds the most similar vectors and passes them to OpenAI to write an answer. It needs n8n version 1.19.4 or later.

How do I import Ask questions about a PDF using AI into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Ask questions about a PDF using AI safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.