Actions76
- 空间 Actions
- 工作项实例读写 Actions
- 工作项实例搜索 Actions
- 工作项配置 Actions
- 流程模板配置 Actions
- 流程与节点 Actions
- 视图 Actions
- 子任务 Actions
- 空间关联 Actions
- 评论 Actions
- 附件 Actions
- 文件 Actions
- 用户 Actions
- 群组 Actions
- 度量 Actions
- 角色与人员配置 Actions
文件 → 上传文件
AI-generatedSummary
Uploads one binary file from each input item to a Feishu Project space for use as a work item resource. The upload returns the file information; the file must later be bound to a business location such as a comment before it can be downloaded.
Inputs
- 空间 (required) — Select or enter the Feishu Project space key.
- 资源类型 (required) — Choose CommentAttachment for a comment attachment or CommentMultiTextImg for an image in comment rich text.
- Input Binary Field (required) — Name of the incoming binary field containing the file. Each item uploads one file; files are limited to 20 MB. Set the binary MIME type to match the file format for previews.
- 工作项类型 Name or ID (required) — Select or enter the work item type key in the selected space.
- 工作项实例ID (required) — ID of the work item instance to associate with the upload.
- 自定义文件名 — Optional filename including its extension; defaults to the original filename.
- 业务类型 — Optional comment_biz_type value; defaults to WORKITEM.
- Batching — Enables concurrent uploads when added. Configure items per batch (default 50; 0 is treated as 1) and the delay between batches in milliseconds (default 1000).
- Timeout — Request timeout in milliseconds; 0 means no timeout.
Output shape
A list of output items, normally one per uploaded input file.
Each successful API response is returned as JSON with input-item linking metadata. With Continue On Fail enabled, failed items produce an error object. Unbound files cannot be downloaded and are automatically deleted after 7 days if they are not bound to a business location.