webhooks.granola() verifies the Standard Webhooks signature Granola sends in the webhook-* headers on every request.
/trigger/granola.ts
Set up Granola
- Start
trigger devor deploy, then copy the endpoint’s Webhook URL from the Webhooks page. - Create the endpoint in Granola under Settings > Connectors > Webhooks, or under a folder’s Integrations > Webhooks to limit it to that folder. Granola webhooks need a Business or Enterprise plan.
- Granola shows the signing secret (it starts with
whsec_) once, when the endpoint is created. Choose Set signing secret on the Trigger.dev endpoint and paste it. - Send a test event from Granola, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.
Fetching the note
Deliveries carry the note id but not its content. Fetch the note with Granola’s API insideonEvent.
