飞书项目 icon

飞书项目

飞书项目管理 API 集成,支持工作项、空间、用户、工作流等完整功能

Actions75

附件 → 下载附件

AI-generated

Overview

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

  1. Automatically download attachments from a work item in a project space for archival.
  2. 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

Discussion