Sentry webhook
After creating a webhook automation with the Sentry preset, keep the Pulumi setup panel open. You need the Manager or Owner role in Sentry to create an internal integration.
Configure Sentry
- In Sentry, open Settings > Custom Integrations, select Create New Integration, choose Internal Integration, and select Next.
- Enter a name and paste the Pulumi webhook URL into Webhook URL.
- In Webhook Headers, paste the line from the Pulumi setup panel:
X-Pulumi-Trigger-Secret: <pulumi-secret>. Replace<pulumi-secret>with the displayed Pulumi secret. - Turn on Alert Action to let alert rules notify the integration. To receive issue events instead, set Issue & Event to Read and select issue under Webhooks.
- Select Save Changes.
- Signature verification is enabled by default. Copy the integration’s Client Secret from Sentry’s Credentials section into Sentry client secret in Pulumi, then select Done. Sentry displays this secret only briefly after creating the integration.
- For alert rules, add the action Send a notification via an integration to each alert that should invoke the agent and select this integration.
The Sentry client secret and the Pulumi header value are separate credentials. Pulumi uses the client secret to verify the Sentry-Hook-Signature header against the request body. When verification is enabled, requests are rejected until you save the client secret with Done. Pulumi encrypts the client secret and does not display it again.
If you disable signature verification, Pulumi still requires X-Pulumi-Trigger-Secret on every delivery. You can enable verification from the automation’s edit page.
Sentry sends its integration webhook payload directly to Pulumi; no custom payload template is needed.
Test the connection
Test the configured alert action or issue subscription. If signature verification is enabled and delivery fails, check that the integration’s client secret is saved in Pulumi.
Follow Test a webhook to check delivery and task results. Test deliveries can run the agent.