Skip to main content
onLinearCommentEvent watches all comment lifecycle events in the workspace.
automations/watch-linear-comments.automation.ts
Optional static account defaults to the project binding.

Trigger data

Returns a Signal<LinearCommentEvent>:
LinearWebhookEvent has the shared webhook envelope shape. The comment is exposed directly; inspect event.action to distinguish lifecycle actions or event.updatedFrom for previous values. Call getLinearComment when you need the latest normalized comment.