Skip to main content
linear.onAttachmentCreated handles attachment created in the connected Linear workspace.
automations/watch-linear-attachment.automation.ts
Optional static account defaults to the project binding. Linear webhook triggers require an OAuth connection with read access. The workspace can’t change at runtime.

Trigger data

Returns a Signal<LinearAttachmentTrigger>:
issueId identifies the linked issue. metadata contains integration-defined JSON values. Resource objects and the webhook envelope retain extra Linear fields.