Turn a PDF from Google Drive into a chat ready knowledge base and answer questions through a simple webhook. Great for customer support teams that need fast, accurate answers from trusted documents.
The flow ingests a PDF from Google Drive, splits the text into readable chunks, and creates embeddings with OpenAI. It saves the vectors in a Qdrant collection. When a POST request hits the webhook with an input and a company value, the system selects the matching Qdrant collection, retrieves the top 5 relevant chunks, and uses an OpenAI chat model to form a clear answer. The result is sent back instantly through the response node. You can also test live with the manual chat trigger in n8n.
Setup needs accounts for Google Drive, OpenAI, and Qdrant. Provide a Google Drive file ID, an OpenAI API key, and a Qdrant URL and key. Send POST requests that include input and company fields to route queries to the right collection. Expect shorter handle time, fewer repeated questions for agents, and the ability to scale support without adding headcount. Useful for help centers, onboarding guides, and policy FAQ support.