Company RAG and data queries

Financial PDF Qdrant indexing and webhook Q&A workflow

Short answer

This n8n workflow pulls a financial PDF report from Google Drive, parses it through a dedicated binary PDF loader and indexes 3,000-character chunks into Qdrant. Queries arrive through either manual chat or a POST webhook specifying the company collection. The retrieval QA chain returns top-5 answers via webhook.

Catalogue ID
#1255
Functional nodes
14
Connections
12
Trigger
manualChatTrigger, webhook, manualTrigger
AI layer
AI-assisted
Business problem solved

Business problem solved

Research dashboards and internal analyst tools need fast HTTP endpoints to query company filings stored per tenant. Opening multi-hundred-page annual PDFs manually slows down financial comparison.

Trigger

A manual trigger indexes the Drive PDF; manual chat and POST webhook triggers invoke the Qdrant QA chain.

Connected systems

Connected systems

  • Qdrant vector store
  • Google Drive
  • OpenAI
  • Webhook and response node
  • Manual chat trigger
  • Self-hosted n8n

Every workflow is deployed on your own server with documentation, a run log and an error queue.

Workflow architecture

Workflow architecture

  1. 1. Embeddings OpenAI1 (AI layer) (connects to Qdrant Vector Store1)
  2. 2. On new manual Chat Message (Trigger) (connects to Retrieval QA Chain)
  3. 3. Retrieval QA Chain (AI layer) (connects to Respond to Webhook)
  4. 4. Respond to Webhook (Service and data)
  5. 5. Vector Store Retriever (AI layer) (connects to Retrieval QA Chain)
  6. 6. Webhook1 (Trigger) (connects to Retrieval QA Chain)
  7. 7. When clicking Execute… (Trigger) (connects to Google Drive)
  8. 8. Google Drive (Service and data) (connects to Qdrant Vector Store)
  9. 9. Binary to Document (AI layer) (connects to Qdrant Vector Store)
  10. 10. Recursive Character Text… (AI layer) (connects to Binary to Document)
  11. 11. Embeddings OpenAI (AI layer) (connects to Qdrant Vector Store)
  12. 12. Qdrant Vector Store (AI layer)
  13. 13. Qdrant Vector Store1 (AI layer) (connects to Vector Store Retriever)
  14. 14. OpenAI Chat Model (AI layer) (connects to Retrieval QA Chain)
  • Trigger
  • AI layer
  • Logic and routing
  • Service and data

Node positions and directed links are generated from the verified catalogue record.

Workflow steps

Workflow steps

  1. 01

    Drive PDF fetch and binary loader

    Google Drive fetches the financial PDF and the binary input loader parses PDF pages cleanly.

  2. 02

    Chunking and Qdrant collection insert

    Text splits at 3,000 characters with 200-character overlap and inserts OpenAI embeddings into Qdrant.

  3. 03

    Webhook or manual chat query

    Incoming POST requests select the target Qdrant collection from body.company and run the top-5 retrieval QA chain.

  4. 04

    Direct webhook response

    Generated answers pass straight back to the calling application through the Respond to Webhook node.

Error queue and human approval

Error queue and human approval

Built-in state in the catalogue workflow

The verified catalogue workflow contains zero node-level error flags across its 14 functional nodes and 12 connections.

Production layer added by ALTAI

During live deployment, ALTAI adds collection allowlisting, webhook authentication headers, missing-collection error responses and a financial audit log.

Frequently asked

Financial PDF Qdrant webhook Q&A Frequently asked questions

Yes. Connecting a Google Drive folder list or Google Sheets batch loop ahead of the fetch node processes multiple filings.

Production deployments verify the collection name before querying Qdrant and return a clean HTTP error rather than failing mid-chain.

Yes. Self-hosted Qdrant runs inside your private infrastructure alongside n8n.

Mert Can Gundogdu
The founder takes the call, not a sales team
Next step

We write the proposal after we have found the problem together

In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.

30 minutes · no preparation needed

The call and the week of discovery are both free.Read the terms

Chat on WhatsApp