Actions7
- Response Actions
- File Actions
- Sync Actions
- Folder Actions
File → Upload
AI-generatedSummary
Uploads an input binary file to a One-Hub chat, optionally placing it in a storage folder and overriding its filename. Sends the file to the One-Hub File API for each input item.
Inputs
- Chat ID (required) — The chat GUID that owns the uploaded file.
- Binary Property (required) — Name of the input item's binary property containing the file; defaults to
file. The operation errors if that property is missing. - Path — Folder path inside the chat storage. Leave empty to upload to the root; an empty path is omitted from the request.
- File Name — Optional filename override. If empty, uses the incoming binary filename, or
fileif none is available.
Output shape
A list of JSON items containing the File API response for each input item.
Each response is converted to JSON output; array responses are split into items, and a null response becomes an empty object. With Continue On Fail enabled, an item error is returned as
{ "error": "..." }.