AI Agents

Generate searchable embeddings from image text summaries

22 nodes 305 164 Automatic trigger
Download

Workflow Description

Automation that retrieves images from Google Drive, extracts and summarizes their text using OpenAI, then converts summaries into numerical embeddings stored in vector memory for intelligent semantic search and retrieval.

How it works

  1. 1.Manually trigger workflow to select images from Google Drive
  2. 2.Extract text content from images using document loader
  3. 3.Split extracted text into manageable chunks
  4. 4.Summarize text chunks using OpenAI language model
  5. 5.Convert summaries into vector embeddings with OpenAI
  6. 6.Store embeddings in memory for semantic search queries

Use cases

  • Index and organize large image archives by content automatically
  • Enable natural language search across image document collections
  • Automate extraction and categorization of scanned documents

Requirements

  • Active Google Drive account with image files
  • Valid OpenAI API key with embedding model access
  • Understanding of prompt engineering for text summarization

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 305
Downloads 164

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