webhookHooks to push events into Hatchet whenever something happens in a connected service. Hatchet handles durable execution and retries — Corsair handles webhook routing and integration auth.
Install
Event trigger
When a message arrives in Slack’s #support channel, push a Hatchet event. The workflow creates a Linear issue to track the request and replies in-thread to confirm it was received.corsair.ts
hatchet/client.ts
hatchet/workflows.ts
Workflow
When commits are pushed to the main branch, run a multi-step Hatchet workflow: notify the team in Discord, update the Linear project status to reflect the deployment, then log the release in a tracking channel.corsair.ts
hatchet/workflows.ts
Cron job
Every Monday at 9 AM, run a Hatchet cron workflow that pulls the current sprint’s Linear issues from Corsair’s database and posts a structured report to Slack.hatchet/workflows.ts
hatchet/worker.ts
Register all workflows in a single worker. The cron schedule is part of the workflow definition — Hatchet picks it up automatically when the worker connects.
What’s next
Inngest
Durable step functions triggered from Corsair webhooks.
Temporal
Start Temporal workflows from Corsair webhook events.
Trigger.dev
Background tasks and scheduled jobs with Trigger.dev.
Workflows guide
Chain webhook events without a job queue.