AI-Powered HR Assistant: RAG from Google Drive Documents
detail.loadingPreview
Automate the creation of an intelligent, internal knowledge base from your Google Drive documents. This workflow empowers an AI agent to act as a helpful HR assistant, providing employees with instant, accurate answers derived directly from your company's policies and resources.
About This Workflow
Unlock the power of your internal documents with this comprehensive Retrieval Augmented Generation (RAG) workflow. Designed to seamlessly integrate with Google Drive, it automatically indexes new or updated files, converting them into searchable vector embeddings using Google Gemini and storing them securely in Pinecone. When an employee asks a question, an n8n AI Agent, configured as a knowledgeable HR assistant, intelligently retrieves relevant information from these vectorized documents. With conversational memory and a strict adherence to company data, this solution ensures employees receive precise, context-aware answers to their HR queries, enhancing efficiency and self-service capabilities without external exposure of sensitive data.
Key Features
- Automated Document Ingestion: Continuously monitors a specified Google Drive folder for new or updated files, ensuring your knowledge base is always current.
- Advanced Embedding with Gemini: Leverages Google Gemini's powerful
text-embedding-004model to create high-quality vector representations of your company documents. - Scalable Vector Storage: Utilizes Pinecone as a robust vector database, enabling efficient retrieval of relevant document chunks for RAG.
- Intelligent AI HR Assistant: Features a pre-configured AI Agent with a system message tailored to act as an HR assistant, providing answers based only on your internal documents.
- Conversational Context: Includes a
Window Buffer Memorynode to maintain the flow and context of employee conversations, leading to more natural and effective interactions.
How To Use
- Configure Google Drive Triggers: Specify the Google Drive folder ID (
1evDIoHePhjw_LgVFZXSZyK1sZm2GHp9W) where your company documents are stored. Ensure your Google Drive OAuth2 API credentials (uixLsi5TmrfwXPeB) are set up for file access. - Set Up Pinecone Vector Store: Provide your Pinecone API credentials (
bQTNry52ypGLqt47) and verify thecompany-filesindex exists in your Pinecone environment. - Integrate Google Gemini: Connect your Google Gemini (PaLM) API credentials (
jLOqyTR4yTT1nYKi) for text embedding and AI agent functionality. - Customize AI Agent (Optional): Review the
AI Agentnode's system message. While configured as an HR assistant, you can adjust the persona and instructions to suit other departmental knowledge bases. - Activate Chat Trigger: The
When chat message receivednode serves as the input for employee queries. This typically integrates with a chat interface (e.g., custom UI, messaging app webhook) where employees will interact. - Deploy and Test: Save and activate the workflow. Upload or update a document in your specified Google Drive folder to trigger the ingestion process. Then, send a test query via the chat trigger to ensure the AI assistant responds correctly.
Apps Used
Workflow JSON
{
"id": "52d9106e-7ae4-4b23-8f8f-508144b92170",
"name": "AI-Powered HR Assistant: RAG from Google Drive Documents",
"nodes": 11,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 52d9106e-7ae4...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Google Sheets to Icypeas: Automated Bulk Domain Scanning
This workflow streamlines the process of performing bulk domain scans by integrating your Google Sheets data directly with the Icypeas platform. Automate the submission of company names from your spreadsheet to Icypeas for comprehensive domain information, saving valuable time and effort.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.