Actions76
- 空间 Actions
- 工作项实例读写 Actions
- 工作项实例搜索 Actions
- 工作项配置 Actions
- 流程模板配置 Actions
- 流程与节点 Actions
- 视图 Actions
- 子任务 Actions
- 空间关联 Actions
- 评论 Actions
- 附件 Actions
- 文件 Actions
- 用户 Actions
- 群组 Actions
- 度量 Actions
- 角色与人员配置 Actions
评论 → 添加评论
AI-generatedSummary
Creates a Feishu Project comment on a work item, a work item field, or a parent comment. Choose the target and provide comment content as text, rich text, or an uploaded file token; the operation runs once for each incoming item.
Inputs
- Space (required) — Select a space or enter its Project Key.
- Comment object type (required) — Choose WORKITEM, WORKITEMFIELD, or CHILDCOMMENT. WORKITEM and WORKITEMFIELD require a work item type and instance ID; WORKITEMFIELD also requires a field key. CHILDCOMMENT requires the ID of a first-level parent comment in the same instance.
- Work item type (required) — Required for WORKITEM and WORKITEMFIELD; select or enter the type key.
- Work item instance ID (required) — Required for WORKITEM and WORKITEMFIELD.
- Field key (required) — Required for WORKITEMFIELD; identifies the field receiving the comment.
- Parent comment ID (required) — Required for CHILDCOMMENT; use a first-level comment ID, not a second-level comment ID.
- Content type (required) — Choose TEXT, RICHTEXT, or FILE.
- Comment text (required) — Plain text body, shown for TEXT content.
- Rich text or Markdown — For RICHTEXT, provide rich text as JSON or Markdown. The UI description says rich_text takes precedence if both are provided.
- File token (required) — For FILE content, provide a token obtained from the file upload API.
- Batching — Adding the batching option enables concurrent requests for incoming items. Defaults to 50 items per batch and a 1000 ms interval between batches; 0 batch size is treated as 1, and a 0 interval disables the wait.
- Timeout — Request timeout in milliseconds; 0 means no timeout.
Output shape
A list of n8n items containing the API response for each successful comment creation.
Processes each input item. With Continue On Fail, failed items produce an item containing an error message and may include API error details. The source pack does not include this operation's resource implementation, so it does not establish the exact API response fields.