Dingtalk Node icon

Dingtalk Node

Interact with the Dingtalk API

OA审批 → 添加审批评论

AI-generated

Summary

Adds a comment to a DingTalk OA approval instance, optionally including image URLs and approval drive attachments.

Inputs

  • Body mode — Choose to provide the request as a JSON body or use the form fields.
  • JSON body — In JSON mode, supply the request body. The example includes processInstanceId, text, commentUserId, and optional file.photos and file.attachments.
  • Approval instance ID (required) — In form mode, identifies the approval instance to comment on.
  • Comment text — In form mode, the comment content.
  • Comment user ID — In form mode, the userId of the commenter.
  • File — In form mode, optionally add comma-separated image URLs and multiple attachments. Each attachment requires a DingTalk approval drive space ID, file size, file ID, file name, and file type; upload the file to that space first.

Output shape

A single API response item.

The supplied source pack shows the operation module but omits its implementation body, so the exact response fields cannot be confirmed.

Links

Discussion