Search company documents from Google Drive using AI-powered answers
Workflow Description
An intelligent workflow that retrieves documents from Google Drive, segments them into searchable chunks, stores embeddings in a vector database, and deploys an AI agent powered by Google Gemini to answer employee questions about company content in real time.
How it works
- 1.Automatically load documents from specified Google Drive folders
- 2.Split text into chunks and convert to embeddings using Google Gemini
- 3.Store vectors in Pinecone for fast semantic search and retrieval
- 4.Activate an AI agent that responds to chat questions using retrieved documents
- 5.Maintain conversation history for improved context and continuity
Use cases
- Instant answers to employee questions about company policies, procedures, and contracts
- Internal AI assistant that responds to team inquiries based on organizational documents
- On-demand document analysis and summaries for long-form content
Requirements
- Google Cloud account with Google Drive API and Gemini API enabled
- Pinecone API key for vector storage and retrieval
- Read access to target folders in Google Drive
- Active subscription to Google Gemini service
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (18)
Pinecone Vector Store
Vector Store Pinecone
Embeddings Google Gemini
Gemini Model
Default Data Loader
Document Default Data Loader
Recursive Character Text Splitter
Text Splitter Recursive Character Text Splitter
AI Agent
Agent
Vector Store Tool
Tool Vector Store
Pinecone Vector Store (Retrieval)
Vector Store Pinecone
Embeddings Google Gemini (retrieval)
Gemini Model
Download File From Google Drive
Google Drive
Sticky Note2
Sticky Note
Google Drive File Updated
Google Drive Trigger
Google Drive File Created
Google Drive Trigger
Window Buffer Memory
Memory Buffer Window
When chat message received
Chat Trigger
Sticky Note
Sticky Note
Google Gemini Chat Model
Gemini Model
Google Gemini Chat Model (retrieval)
Gemini Model
Sticky Note1
Sticky Note