ActionOpenAIUpdated September 2026

How do I create an OpenAI vector store?

Short answer: You can create vector store in OpenAI by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the OpenAI Create Vector Store action to a workflow, map its 3 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.

Create Vector Store in OpenAI — start free
Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
Name
name
stringRequiredProduct Docs Q4
File IDs
file_ids
arrayOptionalFiles (already uploaded with purpose=assistants) to attach
Expires After (days)
expires_after_days
stringOptionalAuto-expire after N days of last activity. Leave empty for no expiry.
Sample request
{
"name": "Product Docs Q4",
"file_ids": "{{trigger.file_ids}}",
"expires_after_days": "7"
}
Returns
{
"id": "vs_abc",
"name": "Product Docs Q4",
"status": "in_progress",
"file_counts": {
"total": 5,
"failed": 0,
"completed": 0
}
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for Create Vector Store.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about Create Vector Store.

What does the Create Vector Store action do in OpenAI?
Creates a vector store (used by the File Search tool in Responses/Assistants). OpenAI handles chunking, embedding, and indexing of any files you attach.
What inputs does Create Vector Store require?
Required: Name. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if OpenAI returns an error?
The run history shows the failed step with its input and the error message OpenAI returned, so you can fix the input and run the workflow again. Automatic retries are built into HTTP steps only, where you can also set your own retry count and delay.
Does Create Vector Store support batch operations?
Run Create Vector Store inside a loop to process each item in an array. TinyCommand does not throttle calls for you, so for large arrays add a Delay step if you need to stay within OpenAI's rate limits.
More actions

Other OpenAI actions.

Create Vector Store in OpenAI — start free