AI Agents

Connect Google Drive with OpenAI

22 nodes 257 124 Automatic trigger
Download

Workflow Description

An automation template that integrates Google Drive files with OpenAI models to process and analyze documents intelligently, enabling automatic data extraction and insight generation without manual intervention through vector embeddings and memory-based retrieval.

How it works

  1. 1.Trigger the workflow manually and retrieve files from the specified Google Drive folder
  2. 2.Load document content and split it into manageable text chunks using recursive character-based splitting
  3. 3.Send chunks to OpenAI for embedding generation and query responses based on vector store memory
  4. 4.Consolidate results and store them in local memory for quick reference and repeated access

Use cases

  • Automatically process large documents and extract summaries, key information, and structured data
  • Build an intelligent search system that answers user questions based on your company's document repository

Requirements

  • A Google Drive account with access permissions to the folders you want to process
  • A valid OpenAI API key with sufficient usage quota for embeddings and completions

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 257
Downloads 124

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