Files & Documents

Create a Smart Assistant Connected to Your Google Drive Files

12 nodes 108 72 Automatic trigger
Download

Workflow Description

Build an intelligent assistant powered by OpenAI that interacts with users via chat and accesses your Google Drive files directly. The system maintains conversation history for contextual, accurate responses while keeping all document interactions seamless and efficient.

How it works

  1. 1.Receive user message through chat interface
  2. 2.Search and retrieve relevant files from Google Drive
  3. 3.Process message with conversation memory and context
  4. 4.Send query to OpenAI for intelligent response generation
  5. 5.Deliver answer to user with relevant file suggestions

Use cases

  • Smart assistant answering employee questions based on stored company documents
  • Automatic report analysis from Google Drive with instant team inquiries response

Requirements

  • Active OpenAI account with API key
  • Google Workspace or Google Drive account connected to n8n

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 108
Downloads 72

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