Actions118
- 消息 Actions
- 多维表格 Actions
- 文档 Actions
- 日历 Actions
- 表格 Actions
- 云空间 Actions
- 通讯录 Actions
消息 → 上传文件
AI-generatedSummary
Uploads a file from each input item to Lark using the selected file type and returns the API response. Choose the binary field that contains the file; for video or audio, you can also set its duration, and optionally provide a filename.
Inputs
- Authentication (required) — Use Tenant Access Token or User Access Token credentials.
- File type (required) — Classifies the upload as document, video (MP4), audio (OPUS), PDF, presentation, stream (other formats), or spreadsheet. Defaults to audio.
- File duration — Integer duration for video or audio uploads; defaults to 0.
- Binary field name (required) — Name of the incoming binary field containing the file; defaults to
data. - File name — Optional filename with an extension, such as
test.mp4.
Output shape
A single JSON item per input item, containing the Lark API response.
The operation requires binary data in the configured field. The filename and file metadata are taken from that binary data unless a filename is supplied.