webhooks.calendly() verifies the HMAC-SHA256 signature Calendly sends in calendly-webhook-signature on every request.
/trigger/calendly.ts
event.event.
Set up Calendly
- Start
trigger devor deploy, then copy the endpoint’s Webhook URL from the Webhooks page. - Calendly webhooks are created through the API, on a paid plan. Choose a signing key (for example, the output of
openssl rand -hex 32), then create the subscription withPOST https://api.calendly.com/webhook_subscriptions, passingurl(the webhook URL),events,organization,scopeandsigning_key. If you create the subscription from an OAuth app, Calendly generates the signing key instead. - Choose Set signing secret on the Trigger.dev endpoint and paste the signing key.
- Send a test event from Calendly, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.

