AI Agents

Automate Google Drive

15 nodes 211 131 Automatic trigger
Download

Workflow Description

An automation workflow that connects Google Drive with an intelligent agent to process documents automatically. Loads files, splits them into manageable text segments, generates semantic embeddings via OpenAI, and stores them in Pinecone for smart retrieval.

How it works

  1. 1.Trigger the workflow manually or via chat interface
  2. 2.Load documents from Google Drive using the data loader
  3. 3.Split text content into processable chunks with TextSplitter
  4. 4.Generate OpenAI embeddings and store in Pinecone vector store
  5. 5.Activate the AI agent to answer questions about stored documents

Use cases

  • Build a searchable knowledge repository from Google Drive files using semantic search
  • Automatically answer employee questions based on stored document content

Requirements

  • Active Google Drive account with access permissions
  • API keys for OpenAI and Pinecone services

Service Value

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

Apps Used

Vector Store Chat Trigger AI Agent Google Drive Document Default Data Loader Text Splitter OpenAI

Details

Trigger Automatic trigger
Nodes 15
Apps 7
Views 211
Downloads 131

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

/

Sticky Note

Sticky Note

#1

Sticky Note1

Sticky Note

#2

Sticky Note2

Sticky Note

#3

When clicking 'Test Workflow' button

Manual Trigger

#4

Pinecone Vector Store

Vector Store Pinecone

#5

When chat message received

Chat Trigger

#6

Question & Answer

Agent

#7

Set Google Drive file URL

Set

#8

Google Drive

Google Drive

#9

Default Data Loader

Document Default Data Loader

#10

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#11

Embeddings OpenAI1

OpenAI

#12

Embeddings OpenAI

OpenAI

#13

Pinecone Vector Store1

Vector Store Pinecone

#14

OpenAI Chat Model

OpenAI

#15