Skip to main content
cloudflare.onOriginHealthCheckStatusChanged runs when an origin health check changes status. Automate.ax creates the generic webhook destination and notification policy, verifies cf-webhook-auth, and removes managed resources when the deployment no longer subscribes.
automations/cloudflare-on-origin-health-check-status-changed.automation.ts
Optional filters, such as healthCheckId, narrow the managed policy. Optional account selects a static project account binding. Returns the normalized alert type, provider data, text, timestamp, account and policy IDs, policy name, correlation ID, and alert state when present.
Cloudflare generic webhooks and individual alert types can require a paid plan or enabled product.