Templates / OpenAI Assistant workflow: upload file, create an Assistant, chat with it!

OpenAI Assistant workflow: upload file, create an Assistant, chat with it!

Ready for 3.0

by Yulia ✓ · 22,543 views · created 2024-03-28 · Internal Wiki, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 6 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects Google Drive and OpenAI.

How it runs

Trigger: When a chat message arrives (plus 1 other trigger).

  1. OpenAI: work with assistant
  2. Get File (Google Drive): download
  3. Upload File to OpenAI (OpenAI): work with file
  4. Create new Assistant (OpenAI): create (assistant)

Services it uses

Google DriveOpenAI

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (4)

From the author

This is an end-to-end workflow for creating a simple OpenAI Assistant. The whole process is done with n8n nodes and do not require any programming experience. The workflow is divided into three main steps: Step 1: Get a Google Drive File and Upload to OpenAI…

Excerpt from Yulia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.