Files & Documents

Upload Files and Create an Interactive OpenAI Assistant

10 nodes 131 82 Automatic trigger
Download

Workflow Description

An intelligent workflow that uploads documents from Google Drive, provisions an OpenAI assistant trained on file content, and enables real-time chat interactions to answer questions and extract insights from your documents.

How it works

  1. 1.Trigger the workflow manually or via incoming chat message
  2. 2.Fetch a file from Google Drive and pass it to OpenAI
  3. 3.Create a specialized assistant configured with the document content
  4. 4.Listen for incoming user questions through the chat interface
  5. 5.Process queries through the assistant and return contextual responses

Use cases

  • Analyze lengthy documents interactively instead of manual reading and note-taking
  • Extract specific data points from contracts, reports, or compliance documents
  • Automate customer support by answering repetitive questions about uploaded files

Requirements

  • Active OpenAI account with valid API key
  • Google Drive access with documents ready for analysis
  • Chat platform or message handler connected to receive user queries

Service Value

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

Apps Used

Google Drive Chat Trigger OpenAI

Details

Trigger Automatic trigger
Nodes 10
Apps 3
Views 131
Downloads 82

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

When clicking "Test workflow"

Manual Trigger

#1

Sticky Note

Sticky Note

#2

Get File

Google Drive

#3

Chat Trigger

Chat Trigger

#4

Sticky Note1

Sticky Note

#5

Sticky Note2

Sticky Note

#6

Sticky Note3

Sticky Note

#7

OpenAI Assistant

OpenAI

#8

Upload File to OpenAI

OpenAI

#9

Create new Assistant

OpenAI

#10