飞书 icon

飞书

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

Actions112

消息 → 上传图片

AI-generated

Summary

Upload the incoming binary image to Feishu for use in messages or as an avatar. Choose the credential type and image type, then provide the name of the input binary field; the operation processes each incoming item and returns Feishu’s upload response.

Inputs

  • 凭证类型 — Select user-level OAuth2 credentials or application-level credentials. Application-level credentials are the default; the selected credential must be configured.
  • 图片类型 (required) — Choose whether the image is for sending messages (message, the default) or setting an avatar (avatar).
  • Input Data Field Name (required) — Name of the incoming binary field containing the image; defaults to data.
  • Options — Batching is optional and enables concurrent processing of incoming items when added; it configures items per batch (default 50) and the interval between batches (default 1000 ms). Timeout defaults to 0, which means no request timeout.

Output shape

A list of n8n items containing the Feishu upload response for each input item.

Requires the specified binary field to exist on each input item. With Continue On Fail enabled, failed items return an error value; otherwise, a request failure stops execution.

Links

Discussion