Productive icon

Productive

Interact with the Productive API

Actions508

Comments → Create a comment

AI-generated

Summary

Create a comment and attach it to one specified entity in Productive (task, company, deal, discussion, invoice, person, or purchase order).

Inputs

  • Body (required) — Text content of the comment to create.
  • Task ID — ID of the task the comment is attached to.
  • Company ID — ID of the company the comment is attached to.
  • Deal ID — ID of the deal or budget the comment is attached to.
  • Discussion ID — ID of the discussion the comment is attached to.
  • Invoice ID — ID of the invoice the comment is attached to.
  • Person ID — ID of the person the comment is attached to.
  • Purchase Order ID — ID of the purchase order the comment is attached to.

Output shape

a single record representing the created comment with its details

Only one attachment ID should be specified to define the comment's relationship; returns the created comment details or an error object if creation fails.

Discussion