webhooks.linear() verifies the HMAC-SHA256 signature Linear sends in linear-signature on every request.
/trigger/linear.ts
event.type.
Set up Linear
- Start
trigger devor deploy, then copy the endpoint’s Webhook URL from the Webhooks page. - In Linear, open Settings > API and choose New webhook. Enter the webhook URL and select the resource types your subscribers need.
- Linear generates the signing secret and shows it on the webhook’s page. Copy it, then choose Set signing secret on the Trigger.dev endpoint.
- Send a test event from Linear, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.
Build a Linear agent
To work issues inside Linear’s agent session UI, use thelinear() connector from @trigger.dev/linear. See Linear agents.
