Dingtalk Node icon

Dingtalk Node

Interact with the Dingtalk API

机器人 → 下载机器人消息文件

AI-generated

Summary

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.

Links

Discussion