webhooks.attio() verifies the HMAC-SHA256 signature Attio sends in attio-signature on every request.
/trigger/attio.ts
Set up Attio
- Start
trigger devor deploy, then copy the endpoint’s Webhook URL from the Webhooks page. - In Attio’s developer settings, open your integration and add a webhook with the webhook URL and the events your subscribers need. You can also create it with Attio’s webhooks API.
- Attio generates the signing secret and returns it when the webhook is created; it’s also shown in the developer settings. Copy it, then choose Set signing secret on the Trigger.dev endpoint.
- Send a test event from Attio, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.

