This automation acts as a virtual company secretary, allowing employees to instantly ask questions about internal procedures directly through Slack or WhatsApp.
This automation acts as a virtual company secretary, allowing employees to instantly ask questions about internal procedures or company policies directly through Slack or WhatsApp.
Using a Retrieval-Augmented Generation (RAG) workflow, the system accesses and interprets company documents stored in Google Drive โ enabling real-time answers like:
โHow do I report a business trip?โ
โWhatโs the sick leave procedure?โ
Whenever new documents are added to the companyโs Drive folder, they are automatically processed, vectorized, and added to a Pinecone database for contextual search.
From there, the chatbot can understand and respond based on the most relevant internal files, keeping company knowledge centralized and easily accessible for all employees.
Tools Used / Stack
n8n โ Workflow automation and orchestration
Google Drive โ Document storage and trigger for new uploads
OpenAI API โ Embeddings + Chat Model for RAG and conversational logic
Pinecone โ Vector database to store and retrieve document embeddings
Slack API โ Employee communication interface
WhatsApp Business API โ Alternate chat interface for employees
Webhook & HTTP modules โ Custom data handling and routing logic
Key Features
๐ Auto-Sync Documents โ New or updated company files in Google Drive are automatically processed and indexed for semantic search.
๐ฌ Multi-Channel Interaction โ Employees can ask questions either via Slack or WhatsApp; the assistant replies on the same platform.
๐งฉ RAG-Based Contextual Responses โ Combines OpenAIโs language model with Pinecone vector search for accurate, context-aware answers.
๐ง Persistent Memory โ Simple Memory node ensures the AI agent maintains context during the conversation.
โ๏ธ Dynamic Data Flow โ The automation intelligently merges incoming data, adapts payloads, and routes responses depending on the trigger source.
๐ Scalable & Private โ Designed to operate entirely within the companyโs private cloud structure, maintaining data privacy and security.
Outcome
This automation transforms internal knowledge management into an always-on AI assistant, dramatically reducing the workload for HR and administrative teams.
Internal inquiries and emails are reduced by over 90%, limited to exceptional cases or procedures not present in company documents.
The result is significant time savings, greater operational efficiency, and truly accessible company knowledge, transforming internal policy documents into an intelligent, conversational knowledge base.
Drive folder to be monitored for new business documents
Question in English or any other language will be automatically translated
Answers for the previous questions will be sent in DM / private for privacy