How to add file to OpenAI Assistant vector store?

Describe the problem/error/question

I want to upload a file to the OpenAI Assistant’s Vector Store. This will allow me to update the knowledge base of my assistant real time.

I don’t see that option in n8n OpenAI integration. Am I missing something?

What is the error message (if any)?

No error message, just missing functionality.

Please share your workflow

Trigger: Google Drive file created
Action1: Download Google Drive file
Action2: Upload file using OpenAI “Upload a file” operation

Expected outcome: File is uploaded to my selected assistant’s vector file store.
Actual outcome: File is uploaded to my OpenAI storage, but not to my specific Assistant.

Note: I see @Omnibas created a custom API call to accomplish this, but thought it may be available via the n8n curated OpenAI integration.

Questions openai

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @n8-builder-dude,

It looks like we might not support this as the moment, The custom API call you found looks like it might be the best way to handle it for now.

thank you!
Is there a place where I can submit a feature request or contribute code myself?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.