飞书 icon

飞书

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

Actions112

云空间 → 分片上传文件

AI-generated

Summary

Uploads each incoming binary file to a specified Feishu cloud drive folder using the chunked upload API. Choose user-level or app-level credentials, provide the destination folder token, and set the incoming binary field name; optionally configure the filename, checksum, concurrency, batching, and per-request timeout.

Inputs

  • authentication — Credential type: user-level or app-level; defaults to app-level credentials.
  • parent_node (required) — Token of the destination folder in Feishu cloud drive.
  • fileFieldName (required) — Incoming binary property containing the file; defaults to data.
  • options.file_name — Override the binary file's name; when blank, the name is taken from the binary data. Maximum 250 characters.
  • options.enableChecksum — UI option to calculate and send an Adler-32 checksum per chunk; defaults to true. The source always calculates and sends the checksum, so this option does not change runtime behavior.
  • options.concurrency — UI option for chunk upload concurrency, default 5 and range 1–5. The source uses a fixed concurrency of 5, so this setting does not change runtime behavior.
  • options.batching — When added, enables parallel processing of input items. Items per Batch defaults to 50; Batch Interval defaults to 1000 ms and adds a delay between batches when greater than zero.
  • options.timeout — Timeout in milliseconds for each request; 0 means no timeout. Defaults to 0.

Output shape

A list of n8n items, normally one per successfully uploaded input file.

Each successful item contains the Feishu API response data, including the returned file token. Errors stop execution unless Continue On Fail is enabled, in which case an item with an error message is returned. Despite the checksum UI option, checksums are always sent; despite the concurrency setting, chunk requests always run with concurrency 5.

Links

Discussion