Actions54
- 通讯录 - 成员 Actions
- 通讯录 - 部门 Actions
- 通讯录 - 角色 Actions
- 通讯录 - 管理员 Actions
- 通讯录 - 子管理员 Actions
- 轻流应用接口 - 应用管理 Actions
- 数据内容 - 应用数据 Actions
- 数据流程接口 - 流程操作 Actions
- 其他 Actions
- 任务委托 Actions
- 高级设置 Actions
其他 → 上传单个文件
AI-generatedSummary
Upload a single binary file to the Qingflow OA platform by specifying the binary data field and the file name.
Inputs
- Binary Property (required) — Name of the binary data field in the input that contains the file to upload. The file must be single and not exceed 50MB.
- File Name — Name of the file to be uploaded, including extension. If left blank, the file name from the binary data will be used; if that is also missing, 'file.bin' will be used.
- Options — Additional options for the request, including timeout in milliseconds for waiting for the server response (0 means no timeout).
Output shape
a single list of items each representing the upload response for an input item
Supports batch execution. If upload succeeds, returns data constructed from the API's response. If errors occur, error data may be returned per item depending on the node's configuration for error handling.
Examples
Example 1: Uploading a single file from upstream binary data
Set 'Binary Property' to match the upstream node's Binary output field name (default 'data'), optionally specify a 'File Name' or leave empty to use the binary's filename, and optionally set a timeout.