Automate Google Sheets
Workflow Description
Advanced automation template combining AI-powered document processing with Google Sheets integration. Loads documents, splits content, generates embeddings, stores in vector database, extracts relevant information through semantic search, and automatically populates spreadsheets with structured results.
How it works
- 1.Trigger workflow manually or via event-based activation
- 2.Load documents and generate OpenAI embeddings for semantic understanding
- 3.Split content into manageable chunks and store in Qdrant vector database
- 4.Query vector store to extract context-relevant information using LLM
- 5.Write extracted data directly to Google Sheets with proper formatting
Use cases
- Automatically extract and organize critical information from bulk documents into trackable spreadsheets
- Analyze large text volumes and categorize them according to custom business rules
Requirements
- Valid OpenAI API key for natural language processing and embedding generation
- Google Workspace account with Sheets modification permissions
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 (37)
When clicking ‘Test workflow’
Manual Trigger
Zip Entries
Set
Extract Reviews
HTML Page
Reviews to List
Split Out
Default Data Loader
Document Default Data Loader
Recursive Character Text Splitter
Text Splitter Recursive Character Text Splitter
Embeddings OpenAI
OpenAI
Set Variables
Set
Get Payload of Points
HTTP Request
Clusters To List
Split Out
OpenAI Chat Model
OpenAI
Only Clusters With 3+ points
Filter
Set Variables1
Set
Find Reviews
HTTP Request
Prep Output For Export
Set
Export To Sheets
Google Sheets
Clear Existing Reviews
HTTP Request
Trigger Insights
Execute Workflow
Prep Values For Trigger
Set
Execute Workflow Trigger
Execute Workflow Trigger
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Get TrustPilot Page
HTTP Request
Sticky Note2
Sticky Note
Qdrant Vector Store
Vector Store Qdrant
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note7
Sticky Note
Sticky Note8
Sticky Note
Sticky Note6
Sticky Note
Sticky Note9
Sticky Note
Apply K-means Clustering Algorithm
Code
Sticky Note10
Sticky Note
Customer Insights Agent
Information Extractor
Sticky Note12
Sticky Note
Sticky Note11
Sticky Note