飞书 icon

飞书

飞书 API 集成,支持多种飞书功能

Actions112

云空间 → 上传素材

AI-generated

Summary

Upload each incoming binary file to Feishu as a drive media asset at the specified upload point. Choose a credential type and upload point type, then provide the upload point token and the binary field containing the file.

Inputs

  • 凭证类型 — Select user-level OAuth2 credentials or application-level credentials; application-level credentials are the default.
  • 上传点的类型 (required) — Select the upload destination category, such as a document image or file, spreadsheet image or file, or Bitable image or file. Defaults to the new-document image type.
  • 上传点的 Token (required) — Token identifying the Feishu document or location to which the asset will be uploaded.
  • Input Data Field Name (required) — Name of the incoming binary field containing the file. Defaults to data.
  • 自定义文件名 — Optional filename including its extension; when omitted, the original binary filename is used.
  • Checksum — Optional Adler-32 checksum. The operation’s upload implementation does not read this option.
  • Extra — Optional extra upload metadata. The operation’s upload implementation does not read this option.
  • Batching — Adding this option enables concurrent processing of input items. Items per Batch defaults to 50; Batch Interval defaults to 1000 ms between batches, with 0 disabling the wait.
  • Timeout — Optional request timeout in milliseconds; 0 means no timeout.

Output shape

One output item per successfully uploaded input item, containing the Feishu API response data, including the returned file token.

The operation processes each input item’s selected binary field and uploads it using the chosen upload point type and token. Missing binary data or API errors fail the operation unless n8n’s Continue On Fail setting is enabled, in which case an error item is returned for that input.

Links

Discussion