Run OpenAI Assistants and manage vector stores from your workflows.
Authentication: API Key. Provide your OpenAI API key when connecting.
This integration connects to the OpenAI API directly. For running AI tasks within a workflow, use the built-in AI Agent node instead, which supports OpenAI models alongside other providers.
Actions
Assistant
Runs an OpenAI Assistant and returns its response.
| Input | Required | Description |
|---|---|---|
| Assistant ID | Yes | The ID of the OpenAI Assistant to use |
| Message | Yes | The user message to send |
| Thread ID | No | Existing thread ID to continue a conversation (creates a new thread if not provided) |
| Output | Type | Description |
|---|---|---|
response | string | The assistant's reply |
threadId | string | Thread ID (use for follow-up messages) |
runId | string | Run ID |
Create Vector Store
Creates a new OpenAI vector store for use with Assistants.
| Input | Required | Description |
|---|---|---|
| Name | Yes | Name for the vector store |
| Output | Type | Description |
|---|---|---|
vectorStoreId | string | ID of the created vector store |
Upload File to Vector Store
Uploads a file and adds it to a vector store.
| Input | Required | Description |
|---|---|---|
| Vector Store ID | Yes | Target vector store |
| File | Yes | File to upload |
| Output | Type | Description |
|---|---|---|
fileId | string | ID of the uploaded file |
Delete Vector Store
Deletes a vector store.
| Input | Required | Description |
|---|---|---|
| Vector Store ID | Yes | Vector store to delete |
Retrieve Files
Returns files attached to a vector store.
| Input | Required | Description |
|---|---|---|
| Vector Store ID | Yes | Vector store to query |
| Output | Type | Description |
|---|---|---|
files | array | File objects with id, filename, status |
Was this page helpful?