Webhook and chat Qdrant Q&A across dynamic company collections
This n8n workflow fetches a PDF from Google Drive, enables page-level splitting and indexes chunks into Qdrant. Incoming enquiries enter via either chat or a POST webhook carrying a company field. The retrieval QA chain pulls the top five matches from that company's Qdrant collection and responds via webhook.
- Catalogue ID
- #0467
- Functional nodes
- 14
- Connections
- 12
- Trigger
- manualTrigger, chatTrigger, webhook
- AI layer
- AI-assisted
Business problem solved
Multi-client platforms cannot duplicate an entire workflow for every customer knowledge base. Applications also need synchronous HTTP responses rather than manual chat windows to embed Q&A inside internal dashboards.
Trigger
A manual trigger indexes the Drive PDF; chat and POST webhook triggers feed the retrieval QA chain.
Connected systems
- Qdrant vector store
- Google Drive
- OpenAI
- Webhook and response node
- Chat interface
- Self-hosted n8n
Every workflow is deployed on your own server with documentation, a run log and an error queue.
Workflow architecture
- 1. When clicking Execute… (Trigger) (connects to Google Drive)
- 2. Google Drive (Service and data) (connects to Qdrant Vector Store)
- 3. Default Data Loader (AI layer) (connects to Qdrant Vector Store)
- 4. Recursive Character Text… (AI layer) (connects to Default Data Loader)
- 5. Qdrant Vector Store (AI layer)
- 6. When chat message received (Trigger) (connects to Retrieval QA Chain)
- 7. Webhook (Trigger) (connects to Retrieval QA Chain)
- 8. Retrieval QA Chain (AI layer) (connects to Respond to Webhook)
- 9. Vector Store Retriever (AI layer) (connects to Retrieval QA Chain)
- 10. Qdrant Vector Store1 (AI layer) (connects to Vector Store Retriever)
- 11. OpenAI Chat Model (AI layer) (connects to Retrieval QA Chain)
- 12. Embeddings OpenAI1 (AI layer) (connects to Qdrant Vector Store1)
- 13. Embeddings OpenAI (AI layer) (connects to Qdrant Vector Store)
- 14. Respond to Webhook (Service and data)
- Trigger
- AI layer
- Logic and routing
- Service and data
Node positions and directed links are generated from the verified catalogue record.
Workflow steps
- 01
Page-split PDF indexing into Qdrant
Google Drive fetches the PDF, splits pages with 3,000-character chunks and embeds them into Qdrant via OpenAI.
- 02
Chat or webhook query intake
Questions arrive through either the chat trigger or a POST webhook carrying input text and company collection name.
- 03
Dynamic Qdrant retrieval and HTTP response
The retriever pulls the top five chunks from the named Qdrant collection and returns the gpt-4o-mini answer via Respond to Webhook.
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 an allowlisted collection check so callers cannot probe arbitrary collections, webhook bearer authentication and empty-result fallbacks.
Webhook Qdrant dynamic collection Q&A Frequently asked questions
The query-side Qdrant node reads the company field from the POST body so one workflow serves isolated customer collections.
Production deployments validate the requested collection against an allowlist first and return a structured error rather than exposing raw exceptions.
Yes. The Respond to Webhook node switches cleanly between plain text and structured JSON objects during setup.
Related n8n workflows
Financial PDF Qdrant webhook Q&A
Loads a Drive financial PDF via binary PDF loader into Qdrant and answers manual chat or POST webhook queries across company collections.
WooCommerce and Qdrant shopper RAG
Indexes store guides from Google Drive into Qdrant, extracts product filters from shopper messages and queries live WooCommerce tools with memory.
MongoDB Atlas travel RAG workflow
Ingests points of interest over POST webhook into MongoDB Atlas Vector Store and serves Gemini trip advice backed by MongoDB chat memory.

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