webhooks.metronome() verifies the HMAC-SHA256 signature Metronome sends in metronome-webhook-signature on every request.
/trigger/metronome.ts
event.type.
Set up Metronome
- Start
trigger devor deploy, then copy the endpoint’s Webhook URL from the Webhooks page. - In the Metronome app, go to Developer > Notifications > Webhooks > Add and enter the webhook URL.
- Copy the webhook’s secret key, then choose Set signing secret on the Trigger.dev endpoint.
- Create the notifications your subscribers need, such as a low credit balance alert, under Developer > Notifications > Create Notification.
- Send a test event from Metronome, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.

