Use this comprehensive n8n workflow to automate document processing. It integrates Google Drive or a file upload form with OpenAI embeddings and Qdrant, forming a powerful RAG knowledge base queryable via a Gemini-powered chatbot. This n8n template enhances document searchability.
Download this n8n workflow template and start using it instantly.
This sophisticated n8n workflow provides a complete solution for continuous document ingestion and semantic search capability. It addresses the common challenge of converting unstructured files (like PDFs and documents) into structured, queryable vectors in Qdrant. The n8n automation includes two primary ingestion methods: automated monitoring of a Google Drive folder or manual file uploads via a web form. After ingestion, the data is chunked, embedded using OpenAI's powerful embedding model, and indexed in Qdrant. Crucially, the n8n template includes a warning and a functional step to delete processed files from Google Drive to maintain a clean source folder, making this a complete 'process and purge' system. Finally, the third path of this n8n workflow demonstrates a RAG chatbot endpoint using Google Gemini and the newly populated Qdrant vector store, showcasing the power of combining modern AI tools within a single n8n execution flow.
This n8n workflow operates across three parallel processing paths.
New File In Google Drive Folder n8n trigger or the Manually Trigger Workflow n8n node.List Files in Google Drive Folder node fetches files (one at a time due to batching logic).Download File retrieves the document, converting it to PDF format for consistent processing.Data Loader and Recursive Character Text Splitter (chunk size 1500, overlap 250) to break the document into digestible parts.Embeddings OpenAI creates vector representations using the text-embedding-3-large model.Insert to Qdrant stores these vectors in the specified collection.Delete File removes the source file from Google Drive. Using this n8n node ensures files are processed only once.File Upload Form n8n trigger captures uploaded files.Code n8n node (Split Form Files) handles multi-file uploads by separating them into individual items.Split Form Batches processes each file sequentially.Embeddings OpenAI 1 n8n node, and inserted into Qdrant using Insert to Qdrant 1.When chat message received n8n trigger activates the chatbot logic.AI Agent uses Simple Memory to maintain context.Google Gemini Chat Model for responses.Qdrant Vector Store as a tool, querying the indexed knowledge base (with Embeddings OpenAI 2) to retrieve relevant documents before formulating an answer. This powerful n8n automation allows for immediate querying of newly processed documents.To use this n8n workflow, follow these steps:
Google Drive OAuth2 API credential with permissions to read, download, and delete files in the specified folder. Update the folder ID in both the New File In Google Drive Folder trigger and the List Files in Google Drive Folder n8n node.OpenAI API Key credential for the three Embeddings OpenAI nodes. These are necessary to generate high-quality vector embeddings.Qdrant API credential, providing the API key and endpoint for your cloud Qdrant instance. Ensure the collection name ('fairwork' in this n8n template) is correct across all Qdrant nodes.Google Gemini (PaLM) Api credential if you intend to use the RAG chatbot feature.text-embedding-3-large model.Google Gemini Chat Model and the Qdrant Vector Store tool to intelligently answer user questions based on the stored document data.Automate customer feedback processing using n8n, OpenAI for sentiment analysis, generating PDF reports, and sending personalized email summaries via Gmail. Deploy this powerful n8n workflow today.

Use this robust n8n workflow to automate asynchronous AI generation with Replicate. This n8n workflow includes necessary polling logic, an n8n trigger, and HTTP request n8n node configuration for reliable results.

Secure your contact form submissions. This n8n workflow validates input against injection attempts, cleans data, and logs validated submissions directly to MongoDB Atlas using custom JavaScript.

A robust n8n workflow template for processing documents (PDF, Word, Images) from Google Drive, generating detailed performance analytics and quality scores using the PDF Vector n8n node.

I'm passionate about combining traditional web development with AI and automation to create impactful online solutions. As Founder & CEO of Jezweb, an award-winning Newcastle, Australia agency, I lead a 30+ person team delivering high-quality web design, development, and hosting services to over 3000 clients.







































