Leadership
Slack RAG AI Agent with Qdrant and Ollama
Slack AI personal assistant using Ollama LLM, Qdrant RAG from Google Drive docs, Postgres memory; handles queries, calendar events via integrated tools.
Built · ~9 hours saved per week
Slack users and teams needing an AI assistant for quick queries, document-based answers, and calendar tasks.
This workflow creates a Slack bot that answers questions using AI. It pulls info from stored documents via RAG, manages calendar events, and adds new docs from Google Drive automatically.
1. Set up credentials for Slack, Ollama, Qdrant, Postgres, and Google Drive in n8n. 2. Configure the Slack app to trigger on mentions. 3. Point Google Drive trigger to your RAG folder. 4. Activate the workflow.
n8n instance with Langchain nodes; running Ollama server; Qdrant vector DB; Postgres for memory; Google Drive access; Slack workspace.
Change Ollama model; add new tools to AI Agent; update prompts for better responses; adjust chunk sizes in document processing; integrate more sub-workflows for tools.
Key Technologies: n8n,Slack,Ollama (LLM and Embeddings),Qdrant (Vector Store),Postgres (Chat Memory),Google Drive,Langchain (AI Nodes)
Automation Value: Saves time on routine Slack queries by providing instant AI responses. Enables knowledge retrieval from company docs without manual search. Automates document ingestion to keep AI knowledge base current. Handles calendar bookings and checks via natural language, reducing scheduling errors. Scales team support without adding staff.
Best Practices: Use descriptive names and colors for nodes to aid maintenance. Implement error handling in code nodes, like Qdrant Upsert, to log issues. Monitor triggers for rate limits, especially Google Drive polls. Test AI prompts iteratively for better tool usage and accuracy. Secure credentials and use environment variables for sensitive data. Regularly backup Postgres memory and Qdrant collections.
Tags: Chatbot, Slack, Operations Automations, Reports & Analytics, RAG, System (Parent/Child)
Integrations: Slack, Postgres, Ollama, Vector Store, Google Drive, AI Agent, Code