Actions75
- 空间 Actions
- 工作项实例读写 Actions
- 工作项实例搜索 Actions
- 工作项配置 Actions
- 流程模板配置 Actions
- 流程与节点 Actions
- 视图 Actions
- 子任务 Actions
- 空间关联 Actions
- 评论 Actions
- 附件 Actions
- 用户 Actions
- 群组 Actions
- 度量 Actions
- 角色与人员配置 Actions
附件 → 文件上传
AI-generatedOverview
This node operation uploads files as attachments to a specified project space in Feishu. It is useful for automating file uploads within workflows, such as attaching documents, images, or other binary data to project spaces for collaboration or record-keeping. For example, users can upload files from binary data fields in their workflow to a Feishu project space automatically.
Use Case Examples
- Uploading a PDF report stored in a binary field to a project space for team access.
- Automatically attaching images from a form submission to a Feishu project space.
Properties
| Name | Meaning |
|---|---|
| 空间 | The project space to which the file will be uploaded. Users can select from a list or manually input the project_key. |
| Input Binary Field | The name of the binary data field containing the file to upload. The attachment size limit is currently 100MB. |
| Options | Additional options for the upload operation, including batching and timeout settings. |
Output
JSON
error- Error message if the upload fails for an item.details- Detailed error information if available.
Dependencies
- Requires Feishu Project API credentials for authentication.
Troubleshooting
- Ensure the project_key is valid and accessible by the API credentials used.
- Verify the binary data field name matches the input data containing the file.
- Check file size does not exceed 100MB limit.
- If batching is enabled, ensure batch size and interval are set appropriately to avoid rate limiting or timeouts.
- Common errors include NodeOperationError for unsupported methods and API errors for invalid inputs or permissions.
Links
- Feishu Attachment Upload Documentation - Official documentation on attachment upload limits and usage in Feishu projects.