New to Kestra?
Use blueprints to kickstart your first workflows.
Page Squadcast on-call when a critical Kestra flow fails. The errors block opens a P1 incident with event id and tags instead of a chat message nobody reads.
Most teams wire flow failures to a Slack channel, and most incidents start with someone admitting they saw the message and kept scrolling. This blueprint replaces that pattern with a real page. The main tasks do the critical work, here a core.http.Request against an endpoint your business process depends on, and the errors block fires io.kestra.plugin.squadcast.SquadcastIncomingWebhook to open a P1 incident in Squadcast. On-call gets paged, the incident carries the flow, execution, and severity as tags, and the execution id doubles as the event id so the incident can later be resolved programmatically.
call_critical_service (io.kestra.plugin.core.http.Request) performs the monitored work against the endpoint_url input. In your version, this is the extract, load, or sync that must not fail silently.record_success writes a single log line. Healthy runs produce no notifications at all, which keeps the pager trustworthy.errors block runs page_on_call (io.kestra.plugin.squadcast.SquadcastIncomingWebhook). It sends message, priority: P1, status: trigger, key-value tags, and eventId set to {{ execution.id }}.status: resolve and the same event id closes exactly this incident.Kestra's errors block gives every flow a guaranteed failure path, no wrapper scripts or try-except blocks around each task. The Squadcast plugin turns that path into a first-class incident with priority and event correlation, and the execution history keeps a complete record of what failed, when, and what the pager was told.
SQUADCAST_WEBHOOK_URL: the full Squadcast incoming webhook endpoint, including its token.SQUADCAST_WEBHOOK_URL secret to your namespace.endpoint_url set to an unreachable URL and confirm a P1 incident opens in Squadcast with the execution id as its event id.call_critical_service with your real critical tasks.io.kestra.plugin.squadcast.SquadcastExecution after the page to attach full execution context, as shown in the execution context notifier blueprint.status: resolve with the same event id, as shown in the incident resolve sync blueprint.priority from an input to page P1 for production namespaces and P3 for staging.