New to Kestra?
Use blueprints to kickstart your first workflows.
Give on-call responders instant Metaplane context. A pager webhook triggers Kestra to fetch the monitor's latest result and post a briefing to Slack.
The first minutes of an incident are spent gathering context, which monitor fired, what does it say, when did it last run. This blueprint automates that gathering. The pager's webhook action calls a Kestra webhook with the monitor ID in the body; io.kestra.plugin.metaplane.Get fetches the monitor's latest result; and the incident channel receives a briefing with the status and check timestamp before the responder has finished acknowledging the page. The full per-series detail, values, bounds, and open related incidents, lands in the execution outputs for the deep dive.
pager_webhook (io.kestra.plugin.core.trigger.Webhook) exposes an endpoint keyed by a URL secret. Point the pager's webhook action at it with a JSON body containing monitorId.fetch_context (io.kestra.plugin.metaplane.Get) reads the monitor's latest result. The monitor ID comes from trigger.body.monitorId when the webhook fired, with the monitor_id input as a fallback so the flow also runs manually during drills.post_summary posts the scalar outputs, monitorId, status, and checkedAt, to the incident channel; the series array with values, bounds, and open related incidents stays in the execution outputs.errors block alerts a separate ops channel on Discord when context fetching itself fails, telling the responder to open Metaplane directly instead of waiting for a briefing that will not come.Pagers are good at waking people and bad at briefing them. Kestra sits between the page and the responder, receives the event, enriches it against the Metaplane API, and delivers the briefing to the channel where triage happens. Because the enrichment is a flow, it can grow, add warehouse queries, recent execution lookups, or runbook links, without touching the pager configuration, and every invocation is auditable.
METAPLANE_API_TOKEN: Metaplane API token.SLACK_WEBHOOK_URL: Slack incoming webhook URL.DISCORD_WEBHOOK_URL: Discord incoming webhook URL.monitor_id input and confirm the Slack briefing arrives.key to a random string, set disabled: false, and point the pager's webhook action at the endpoint with monitorId in the JSON body.