Files & Documents

Upload Files and Create an OpenAI Assistant for Instant Conversations

10 nodes 132 107 Automatic trigger
Download

Workflow Description

A workflow that enables uploading documents from Google Drive, creating a specialized OpenAI assistant based on file content, and engaging in real-time conversations through a chat interface to extract insights and analyze information efficiently.

How it works

  1. 1.Trigger the workflow manually or through user chat interaction
  2. 2.Select and upload a file from Google Drive to the workflow
  3. 3.Create an OpenAI assistant configured to understand and reference the uploaded file content
  4. 4.Initiate a conversation session with the assistant to ask questions and receive instant answers
  5. 5.Store conversation history for future reference and audit trails

Use cases

  • Analyze lengthy documents with AI assistance without manual full reading
  • Answer specific questions about uploaded file content on demand
  • Extract key data and insights from documents quickly and accurately

Requirements

  • Active OpenAI account with valid API key configured
  • Authorized Google Drive connection with file access permissions
  • Sufficient n8n workflow execution permissions and credits

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 132
Downloads 107

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