OpenAI Assistant workflow: upload file, create an Assistant, chat with it!
Ready for 3.0What 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).
- OpenAI: work with assistant
- Get File (Google Drive): download
- Upload File to OpenAI (OpenAI): work with file
- Create new Assistant (OpenAI): create (assistant)
Services it uses
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)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Drive
n8n-nodes-base.googleDrive - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - OpenAI
@n8n/n8n-nodes-langchain.openAi
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…