Actions75
- 空间 Actions
- 工作项实例读写 Actions
- 工作项实例搜索 Actions
- 工作项配置 Actions
- 流程模板配置 Actions
- 流程与节点 Actions
- 视图 Actions
- 子任务 Actions
- 空间关联 Actions
- 评论 Actions
- 附件 Actions
- 用户 Actions
- 群组 Actions
- 度量 Actions
- 角色与人员配置 Actions
附件 → 下载附件
AI-generatedOverview
This node operation downloads an attachment from a specified project space in Feishu Project. It is useful for retrieving files attached to work items within a project, such as documents, images, or other media, enabling automation workflows to access and process these files. For example, it can be used to automatically download and save attachments from project tasks for backup or further processing.
Use Case Examples
- Automatically download attachments from a work item in a project space for archival.
- Fetch and process files attached to tasks in a project for reporting or integration with other systems.
Properties
| Name | Meaning |
|---|---|
| 空间 | The project space from which to download the attachment. Can be selected from a list or entered manually as a project key. |
| 工作项类型 Name or ID | The type of work item within the selected project space. This is required to specify the context of the attachment. |
| 工作项实例ID | The ID of the specific work item instance from which the attachment will be downloaded. |
| 附件ID | The unique ID of the attachment to download, supporting files up to 100MB. |
| Put Output File in Field | The name of the output binary field where the downloaded file will be stored. |
| Options | Additional options for the download operation, including file name, MIME type, and request timeout. |
Output
Binary
The downloaded attachment file is output as binary data in the specified output field.
JSON
data- The JSON metadata or response related to the downloaded attachment.
Dependencies
- Requires Feishu Project API credentials for authentication.
Troubleshooting
- Ensure the project space (project_key) and work item type are correctly selected and valid.
- Verify the work item instance ID and attachment ID are correct and accessible.
- Check that the attachment size does not exceed the 100MB limit.
- If a timeout occurs, consider increasing the timeout option or checking network connectivity.
Links
- 获取空间下工作项类型 - Documentation on how to get work item types under a project space in Feishu Project.