ProjectFlow icon

ProjectFlow

Manage ProjectFlow items, comments and attachments

Comment → Create

AI-generated

Summary

Creates a comment on a ProjectFlow item by POSTing to /api/v1/comments, with a selectable type of comment, question, or answer.

Inputs

  • authentication — Credential type: Personal Token (default) or OAuth2. Both use the base URL from the selected credential.
  • itemId (required) — ID of the ProjectFlow item to attach the comment to.
  • content (required) — Text body of the comment (multi-line field).
  • commentType — Type of comment: Comment (default), Question, or Answer. Sent to the API as type.

Output shape

One output item per input item, containing the JSON response from the ProjectFlow API for the newly created comment.

The exact response fields depend on the ProjectFlow API and aren't defined in the node. If Continue On Fail is enabled, a failed item returns {error: message} instead of stopping the workflow. Each output is paired to its input item.

Examples

Example 1: Post an automated note on an item when a deployment finishes.

Item ID set from an expression such as {{$json.itemId}}; Content 'Deployed to production'; Type Comment.

Example 2: Ask a question on an item from a chat or form trigger.

Item ID from the trigger data; Content set to the user's question; Type Question.

Links

Discussion