Files & Documents

Build an intelligent OpenAI Assistant connected to Google Drive

12 nodes 129 105 Automatic trigger
Download

Workflow Description

Automation that links an OpenAI Assistant to Google Drive for retrieving and processing documents, preserving conversation context through a memory window, activated via chat or manual trigger.

How it works

  1. 1.Receive trigger from chat message or manual button press
  2. 2.Retrieve relevant files from Google Drive
  3. 3.Send context and files to OpenAI Assistant for processing
  4. 4.Store conversation history in memory buffer for contextual responses

Use cases

  • Answer employee questions about stored document content
  • Automatically analyze Google Drive reports and respond to inquiries about them

Requirements

  • Active OpenAI account with API key configured
  • Google account with Google Drive access permissions

Service Value

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

Apps Used

Google Drive Chat Trigger Memory OpenAI

Details

Trigger Automatic trigger
Nodes 12
Apps 4
Views 129
Downloads 105

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

/

When clicking ‘Test workflow’

Manual Trigger

#1

Google Drive

Google Drive

#2

When chat message received

Chat Trigger

#3

Window Buffer Memory

Memory Buffer Window

#4

OpenAI

OpenAI

#5

OpenAI2

OpenAI

#6

Sticky Note

Sticky Note

#7

Sticky Note1

Sticky Note

#8

Sticky Note2

Sticky Note

#9

OpenAI1

OpenAI

#10

Sticky Note3

Sticky Note

#11

OpenAI Assistent

OpenAI

#12