Slack and Knowledge: Runbook Lookup on Alert Template

When an alert fires, this Spojit template looks up the matching remediation steps in your runbook collection and posts the cited excerpt straight to your on-call Slack channel.

What It Builds

A Webhook trigger receives the inbound alert payload. A Knowledge node in Query mode searches your persistent runbook collection for the remediation steps that match the alert, then a Slack send-message posts the cited runbook excerpt to the on-call channel so responders act in seconds instead of hunting through docs.

The Prompt

Paste this into Miraxa and it builds the workflow, connecting the tools for you:

Build a workflow that triggers on an incoming alert webhook, queries my "runbooks" knowledge collection for the remediation steps matching the alert title and service, and posts the matched runbook excerpt with its source to the #on-call Slack channel along with the alert name and severity.

Connectors Used

  • Webhook trigger - receives the alert payload from your monitoring tool.
  • Knowledge - queries the persistent runbook collection for matching steps.
  • Slack - posts the cited remediation excerpt to the on-call channel.

Customize It

Change #on-call to your own channel, rename the "runbooks" collection to match yours, and adjust which alert fields drive the lookup (title, service, severity). If your monitoring tool is not a native connector, Miraxa connects to its API over http to read the alert.

Tips

  • Embed your runbooks into a persistent Knowledge collection first so the query has something to match against.
  • Add a Response Schema to the Knowledge query to return a clean title plus steps for tidy Slack formatting.
  • Give the Slack connection chat:write scope and invite the bot to the on-call channel.

Related

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.