AI Agents

Generating image embeddings by text summarization

22 nodes 216 148 Automatic trigger
Download

Workflow Description

Extract documents from Google Drive, process their content into manageable text chunks, generate semantic embeddings using OpenAI, and store them in an in-memory vector database for intelligent retrieval and semantic search capabilities.

How it works

  1. 1.Retrieve and load documents from Google Drive storage
  2. 2.Split text content recursively while maintaining context
  3. 3.Generate OpenAI embeddings for processed text segments
  4. 4.Store embeddings in memory-based vector store for fast retrieval

Use cases

  • Semantic search across large corporate document libraries
  • Retrieve most relevant documents based on natural language queries
  • Build intelligent question-answering systems over company documentation

Requirements

  • Valid OpenAI API credentials and available quota
  • Authorized access to Google Drive account
  • Support for multiple document formats (PDF, Word, text)

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 216
Downloads 148

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

Get Image Keywords

OpenAI

#19

In-Memory Vector Store

Vector Store In Memory

#20

Embeddings OpenAI

OpenAI

#21

Search for Image

Vector Store In Memory

#22