AI Agents

Automate Google Sheets

37 nodes 226 122 Automatic trigger
Download

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. 1.Trigger workflow manually or via event-based activation
  2. 2.Load documents and generate OpenAI embeddings for semantic understanding
  3. 3.Split content into manageable chunks and store in Qdrant vector database
  4. 4.Query vector store to extract context-relevant information using LLM
  5. 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

Document Default Data Loader Text Splitter OpenAI Google Sheets Twitter/X Vector Store

Details

Trigger Automatic trigger
Nodes 37
Apps 6
Views 226
Downloads 122

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (37)

/

When clicking ‘Test workflow’

Manual Trigger

#1

Zip Entries

Set

#2

Extract Reviews

HTML Page

#3

Reviews to List

Split Out

#4

Default Data Loader

Document Default Data Loader

#5

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#6

Embeddings OpenAI

OpenAI

#7

Set Variables

Set

#8

Get Payload of Points

HTTP Request

#9

Clusters To List

Split Out

#10

OpenAI Chat Model

OpenAI

#11

Only Clusters With 3+ points

Filter

#12

Set Variables1

Set

#13

Find Reviews

HTTP Request

#14

Prep Output For Export

Set

#15

Export To Sheets

Google Sheets

#16

Clear Existing Reviews

HTTP Request

#17

Trigger Insights

Execute Workflow

#18

Prep Values For Trigger

Set

#19

Execute Workflow Trigger

Execute Workflow Trigger

#20

Sticky Note

Sticky Note

#21

Sticky Note1

Sticky Note

#22

Get TrustPilot Page

HTTP Request

#23

Sticky Note2

Sticky Note

#24

Qdrant Vector Store

Vector Store Qdrant

#25

Sticky Note3

Sticky Note

#26

Sticky Note4

Sticky Note

#27

Sticky Note5

Sticky Note

#28

Sticky Note7

Sticky Note

#29

Sticky Note8

Sticky Note

#30

Sticky Note6

Sticky Note

#31

Sticky Note9

Sticky Note

#32

Apply K-means Clustering Algorithm

Code

#33

Sticky Note10

Sticky Note

#34

Customer Insights Agent

Information Extractor

#35

Sticky Note12

Sticky Note

#36

Sticky Note11

Sticky Note

#37