AcademyWorkflowsProductivity

Chat with PDF docs using AI (quoting sources)

Teams that need quick, sourced answers from long PDF documents.

  • Recommendedour rating
  • 95,385views on n8n
Open on n8n.io ↗

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

chat-with-pdf-docs-using-ai-quoting-sources.json

Loading the file...

What it does

An n8n workflow that lets you ask questions about a PDF. It splits the document, stores it in a Pinecone vector store, and answers with an AI model, including a citation that points to the passage it used. It uses n8n's built-in chat interface.

Use cases

  1. 01Ask questions about a long report
  2. 02Check which lines an answer came from
  3. 03Query a contract or policy PDF

Connects

Google Drive · Code · Basic LLM Chain · Embeddings OpenAI · OpenAI Chat Model · Structured Output Parser · Recursive Character Text Splitter · Pinecone Vector Store · Default Data Loader

Questions about
Chat with PDF docs using AI (quoting sources).

What is Chat with PDF docs using AI (quoting sources) used for?

Teams that need quick, sourced answers from long PDF documents. An n8n workflow that lets you ask questions about a PDF. It splits the document, stores it in a Pinecone vector store, and answers with an AI model, including a citation that points to the passage it used. It uses n8n's built-in chat interface.

How do I import Chat with PDF docs using AI (quoting sources) 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 Chat with PDF docs using AI (quoting sources) 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.