Chat with internal documents using Ollama, Supabase Vector DB & Google Drive
Transform your Google Drive into an interactive knowledge base with this advanced RAG system that lets you chat directly with your internal documents. By combining Ollama's local LLM power with Supabase's vector storage, the workflow automatically synchronizes, embeds, and indexes your files for instant retrieval. This memory-enabled agent ensures context-aware conversations while maintaining strict data privacy and real-time document updates.
Run this with your team's AIWhat This Recipe Does
The Chat-internal-documents automation transforms your static company files into an interactive intelligence asset. By connecting your Google Drive folders directly to an AI-powered knowledge base, this workflow automatically monitors for new documents, extracts essential information, and generates concise summaries. Instead of manually searching through endless folders and PDFs, your team can instantly query internal data to find answers about company policies, project histories, or technical specifications. This automation bridges the gap between raw data storage and actionable insights, ensuring that your organization's collective knowledge is always accessible and up to date. By streamlining the document retrieval process, you reduce administrative overhead and empower your employees to make faster, data-driven decisions based on the most current information available in your secure cloud storage.
What your team gets
Forms and dashboards, so it is not a script only one person understands
Runs on your schedule in the cloud, so it does not stop when a laptop closes
Endpoints, so the rest of your stack can trigger the same work
Google Drive, Supabase, Http, Universal Summarizer by Kagi connected for the team, not per person
How It Works
- 1
Open the recipe and connect your accounts
Connect Google Drive and Supabase once, in your team cloud, and nobody has to do it again on their own machine
- 2
Tell your own agent what is different about your process
Claude, ChatGPT, Cursor, whichever your team already uses. It adapts the recipe to how you actually work
- 3
Run it, then leave it running
It lives in your team cloud, so it keeps going after you close the laptop and every teammate's AI can use it
Who Uses This
- Human Resources teams use this to create a searchable database of employee handbooks and policy documents for instant inquiry response.
- Project Managers use this to automatically index and summarize project reports, allowing stakeholders to quickly catch up on historical milestones.
- Sales and Support teams use this to query technical product documentation and case studies while interacting with prospects or customers.
Frequently Asked Questions
What types of files can this automation process?
The workflow is designed to extract text from common document formats stored in Google Drive, including PDFs, text files, and standard office documents.
Does the system update automatically when I add new files?
Yes, the Google Drive trigger monitors your specified folders and initiates the extraction and indexing process as soon as a new file is uploaded.
How does the AI handle long or complex documents?
The automation uses an aggregation and summarization step to condense large amounts of information into digestible summaries that are easy to search and query.
Where is the extracted information stored?
The data is securely indexed in Supabase, providing a structured and high-performance database that serves as the foundation for your custom internal chat application.
Coming from n8n?
This recipe uses nodes like Langchain.documentDefaultDataLoader, StickyNote, GoogleDrive, GoogleDriveTrigger and 17 more. On Runwork, you don't need to learn n8n's workflow syntax. Describe what you want to your own AI agent in plain English.
Based on n8n community workflow. View original
Related Recipes
Build a document QA system with Google Drive, Pinecone, and OpenAI RAG
This automation streamlines document management by instantly reacting to file changes within your Google Drive. Instead of manually monitoring folders or waiting for notifications, this workflow detects new or updated files and triggers immediate downstream actions. For businesses handling high volumes of documentation, this ensures that team members are alerted the moment a contract is uploaded, a report is edited, or a client submits a project brief. By converting Google Drive into an active participant in your workflow, you eliminate the latency between document creation and business action. This results in faster response times, improved project momentum, and the removal of administrative bottlenecks that typically slow down collaborative environments. Whether you are managing legal documents, marketing assets, or internal reports, this automation provides a reliable bridge between your storage system and your operational processes.
Automate vendor due diligence research with Gemini & Jina AI
This AI Safety and Compliance automation provides a robust framework for organizations to vet content and data against internal policies and regulatory standards. By utilizing a structured form trigger, the workflow captures submissions and subjects them to an intelligent analysis process powered by Jina AI. It evaluates inputs for potential risks, compliance violations, or safety concerns, ensuring that every piece of data moving through your pipeline adheres to predefined safety protocols. The system includes built-in wait states and conditional logic to allow for human-in-the-loop verification when necessary, finally consolidating all findings into a centralized Google Sheets repository for auditing. This automation eliminates the manual bottleneck of compliance reviews, reduces the risk of human error in safety assessments, and provides a transparent audit trail for stakeholders and regulators.
AI-powered document chat with Nextcloud files using LangChain and OpenAI
This AI-driven document management automation transforms how your organization interacts with stored data. By integrating a conversational AI interface with NextCloud, this workflow allows team members to query, extract, and analyze information from files using natural language. Instead of manually searching through folders and reading dozens of documents to find specific details, users can simply ask questions and receive structured summaries or specific data points instantly. The system intelligently routes requests, processes various file types through automated extraction, and aggregates results into a cohesive response. This significantly reduces the time spent on administrative research and ensures that critical information trapped in static documents becomes an accessible, actionable asset for your entire team. By bridging the gap between raw file storage and intelligent retrieval, this automation empowers better decision-making and accelerates project timelines.
Generate product images & videos with Gemini AI, DeepSeek, and GoAPI for e-commerce
This automated content generation system streamlines the transition from raw data to production-ready assets. By integrating powerful web requests and HTML processing, the workflow automatically fetches, structures, and formats content based on your specific requirements. The inclusion of a Form Trigger allows team members to initiate content requests instantly, while the built-in logic handling ensures that data is validated and converted into the correct file formats before delivery. To ensure reliability in business operations, the system features a dedicated error-handling mechanism that sends immediate notifications via Discord if a process requires attention. This eliminates the manual overhead of constant monitoring and allows your creative team to focus on strategy rather than data entry. By standardizing the content creation pipeline, businesses can maintain a consistent brand voice and accelerate their publishing schedule without increasing headcount or technical complexity.
Run this with the AI your team already uses
Your agent adapts it, your team cloud keeps it running, and everyone's AI can find it.
Open this recipe in Runwork