Skip to main content
webhooks.infisical() verifies the HMAC-SHA256 signature Infisical sends in x-infisical-signature on every request.
/trigger/infisical.ts

Set up Infisical

  1. Start trigger dev or deploy, then copy the endpoint’s Webhook URL from the Webhooks page.
  2. Choose Generate secret on the Trigger.dev endpoint and copy the value.
  3. In Infisical, go to Project Settings > Webhooks and create a General webhook with the webhook URL. Optionally limit it to an environment and secret path.
  4. Paste the secret into the webhook’s secret key field. The secret is required: Infisical only signs webhooks that have one, and the endpoint rejects unsigned deliveries.
  5. Send a test event from Infisical, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.