Library / RAG & Knowledge Bases
RAG & Knowledge Bases
Answer internal policy questions from Google Drive with OpenAI and Qdrant
When something happens in a connected app, it answers questions from your own knowledge base with OpenAI / ChatGPT using Qdrant, Google Drive, Slack, Google APIs.
What it does
## Self-Updating Internal Document Support Bot ### How it works This workflow keeps an internal support knowledge base updated from Google Drive and answers user questions from chat or Slack. New or updated Drive files are downloaded, routed by file type, converted or extracted to text, then re-indexed into Qdrant with OpenAI embeddings. Incoming chat and Slack questions are normalized, answered by an AI agent using Qdrant retrieval, and Slack-originated requests are posted back to Slack with formatted citations. ### Setup steps - Configure Google Drive OAuth credentials and set the Drive trigger folders/events for created and updated files. - Configure the HTTP request nodes that call Google Drive APIs for DOCX conversion/export/deletion, including OAuth scopes for Drive file copy, export, and delete operations. - Configure Qdrant credentials, collection name, and the delete-by-file_id endpoint so old vectors are removed before re-inserting updated content. - Configure OpenAI credentials for both ingestion embeddings, query embeddings, and the chat model used by the AI Agent. - Configure Slack trigger and Slack post-message credentials, channels, bot permissions, and filtering rules to ignore irrelevant events or bot messages. ### Customization Adjust supported MIME-type routes, text splitter chunk size/overlap, Qdrant metadata fields, retrieval settings, Slack citation formatting, and the AI Agent prompt to match internal documentation and response style.
The steps
- When File Created in Drive
- Download Created File
- When File Updated in Drive
- Download Updated File
- Merge Files for Processing
- Route by File Type
- Extract Text from PDF
- Text Extraction Output
- Delete Vectors by File ID
- Insert into Qdrant Vector Store
- Generate OpenAI Embeddings
- Load Default Data
- Split Text Recursively
- Extract Text from Google Doc
31 steps in total.
Similar automations
RAG & Knowledge BasesAnswer HR policy questions in Telegram with Groq, Gemini and Google Drive12 stepsRAG & Knowledge BasesAnswer HR Policy Questions from BambooHR with OpenAI39 stepsForms & SurveysAdd internal links to Japanese WordPress posts with Gemini and Slack approval31 stepsDocuments, PDF & OCRAnswer procurement policy questions with Google Drive, Gemini, and webhooks35 steps