webhookHooks to dispatch Trigger.dev tasks the moment an event fires. Trigger.dev handles retries, logging, and scheduling — Corsair handles webhook verification and integration auth.
Install
Event trigger
When a PagerDuty incident is created, usebefore to skip low-severity alerts, and after to trigger a background task that creates a GitHub issue and pages the on-call team in Slack.
corsair.ts
trigger/functions.ts
Workflow
When a new HubSpot contact is created, run a multi-step task that enriches the contact, sends a personalized welcome email, and notifies the sales team in Slack.corsair.ts
trigger/functions.ts
Cron job
Every Friday at 5 PM, pull unresolved Sentry issues from Corsair’s database and post a weekly error report to Slack so the team can triage before the weekend.trigger/functions.ts
Register scheduled tasks in your Trigger.dev worker entry point. They’re automatically deployed and managed — no separate cron infrastructure needed.
What’s next
Inngest
Durable step functions triggered from Corsair webhooks.
Temporal
Start Temporal workflows from Corsair webhook events.
Hatchet
Event-driven workflows with Hatchet.
Workflows guide
Chain webhook events without a job queue.