飞书 icon

飞书

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

Actions112

云空间 → 分片上传素材

AI-generated

Summary

Uploads an incoming binary file to a Feishu cloud document or location using the Drive chunked media upload API, then returns the resulting file token.

Inputs

  • 凭证类型 (required) — Choose user-level or app-level Feishu credentials; app-level credentials are the default.
  • 上传点的类型 (required) — Select the destination type, such as a document file, spreadsheet image, or Bitable file. Defaults to the new-document file type.
  • 上传点的 Token (required) — Token identifying the cloud document or upload location.
  • Input Data Field Name (required) — Incoming binary property containing the file; defaults to data.
  • 选项 — Optional settings: set a custom filename (otherwise the binary filename is used), provide extra as JSON when the upload location requires a drive_route_token, and set a per-request timeout (0 means unlimited). The checksum toggle and concurrency setting are exposed, but the implementation always sends an Adler-32 checksum for each chunk and uses concurrency 5.
  • 选项.batching — Adding Batching enables concurrent processing of input items. Configure items per batch (default 50) and the delay between batches (default 1000 ms; 0 disables the delay).

Output shape

A list of n8n items, normally one per successfully processed input item.

Each successful item contains the Feishu API response data, including the uploaded file token, with input item pairing metadata. With Continue On Fail enabled, failed items return an error field. Chunk uploads run with at most five concurrent chunk requests.

Links

Discussion