Actions56
- 自定义 API 请求 Actions
- 应用授权 Actions
- 文档 Actions
- AI表格 Actions
- 机器人 Actions
- 待办任务 Actions
- 用户管理 Actions
- 表格 Actions
- OA审批 Actions
机器人 → 下载机器人消息文件
AI-generatedSummary
Retrieves a DingTalk robot message file using the robot code and message download code. Returns the original download URL, or downloads the file and returns it as Base64 or binary according to the selected return type.
Inputs
- 机器人编码 (robotCode) (required) — Enterprise internal robot code.
- 下载码 (downloadCode) (required) — Download code from the robot message.
- 返回类型 (returnType) — Selects 原地址 (default) to return the download URL, Base64 to return encoded file content, or 二进制 to return the file as binary data. Base64 and binary modes automatically download the file.
Output shape
A single n8n item containing the download result.
The selected return type determines whether the result is the download URL, Base64 content, or binary file data.