AI Agents

Extract and intelligently search Google Drive documents with AI

22 nodes 294 160 Automatic trigger
Download

Workflow Description

Automation that retrieves files from Google Drive, splits document content into manageable text chunks, converts them into vector embeddings using OpenAI, and stores them in memory for semantic search and intelligent document retrieval.

How it works

  1. 1.Start automation manually with user input or trigger
  2. 2.Fetch files and folders from Google Drive storage
  3. 3.Split document content into smaller text segments for processing
  4. 4.Generate vector embeddings for each segment using OpenAI models
  5. 5.Store embeddings in memory-based vector store for fast retrieval
  6. 6.Query documents semantically and return relevant results

Use cases

  • Semantic search across enterprise document archives and repositories
  • Analyze stored documents and generate intelligent summaries on demand

Requirements

  • Active Google account with full access permissions to Google Drive
  • Valid OpenAI API key configured for embedding generation

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Google Drive Document Default Data Loader Text Splitter OpenAI Memory

Details

Trigger Automatic trigger
Nodes 22
Apps 5
Views 294
Downloads 160

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 (22)

/

When clicking "Test workflow"

Manual Trigger

#1

Google Drive

Google Drive

#2

Get Color Information

Edit Image

#3

Resize Image

Edit Image

#4

Default Data Loader

Document Default Data Loader

#5

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#6

Sticky Note

Sticky Note

#7

Sticky Note1

Sticky Note

#8

Sticky Note2

Sticky Note

#9

Combine Image Analysis

Merge

#10

Document for Embedding

Set

#11

Sticky Note3

Sticky Note

#12

Sticky Note4

Sticky Note

#13

Sticky Note5

Sticky Note

#14

Sticky Note6

Sticky Note

#15

Embeddings OpenAI1

OpenAI

#16

Sticky Note7

Sticky Note

#17

Sticky Note8

Sticky Note

#18

In-Memory Vector Store

Vector Store In Memory

#19

Embeddings OpenAI

OpenAI

#20

Search for Image

Vector Store In Memory

#21

Get Image Keywords

OpenAI

#22