Actions14
Comment → Update
AI-generatedSummary
Replaces the text content of an existing ProjectFlow comment by sending a PATCH to /api/v1/comments/{commentId} with the new content.
Inputs
- authentication — Credential type: Personal Token (default, projectFlowTokenApi) or OAuth2 (projectFlowOAuth2Api). The base URL comes from the selected credential.
- commentId (required) — ID of the comment to update. It is inserted into the request path.
- content (required) — New comment text (multi-line). Sent as the only field in the request body,
{ content }.
Output shape
One output item per input item, containing the JSON response from the ProjectFlow API (the updated comment). If the API returns an array, each element becomes a separate item.
The comment type cannot be changed by this operation. With Continue On Fail enabled, a failed item returns
{ error: message }instead of stopping the workflow. Output items are paired to their input items.
Examples
Example 1: Correct a typo in a comment that an earlier node created.
Comment ID set to the expression {{ $json.id }} from the Create step. Content set to the corrected text.
Example 2: Append an automated status note to an existing comment.
Authentication set to OAuth2. Comment ID set to a known ID. Content set to an expression that combines the old text with the new note.