Skip to main content
comment.created is sent to the author of a post when another profile publishes a comment on that post. The event covers top-level comments and nested comments. For a nested comment, the embedded comment’s parent_comment_id identifies the comment being replied to.

Delivery target

The envelope’s profile_id is the profile that authored the post. workspace_id is the workspace that owns that profile. No event is sent when the post author comments on their own post.

Data object

data contains exactly one field:

data.comment fields

Example delivery

This example represents a nested comment. A top-level comment has parent_comment_id: null.
The new comment is already available as data.comment. Retrieve the post and current discussion only when needed:
The comment list includes author profiles and the parent comment when one exists.

Respond as the post author

Reply directly to the new comment:
The API key must include the envelope’s profile_id and grant comments:write, comments:all, all:write, or all:all.

Relationship to comment.reply

If the new comment directly replies to a comment written by the post author, that profile receives the more specific comment.reply event instead of a duplicate comment.created event.