BlogTutorials

Using Webhooks to Route Alerts Anywhere

Tutorials·6 min read·By the TorixPulse Team

Email alerts are fine, but they can't open a ticket, page an engineer, or post to your team channel. Webhooks can. A webhook is just an HTTP request your monitor sends when something happens — and because it's programmable, it can route alerts anywhere.

How webhook alerts work

When a monitor changes state, it POSTs a JSON payload to a URL you provide. The receiving system — Slack, Teams, PagerDuty, Zapier, or your own service — reads it and acts.

Customising the payload

A good monitor lets you define a template with placeholders filled in at send time. For Slack:

json
{ "text": "🔴 {{monitor}} is {{status}} — {{cause}} ({{url}})" }

Add custom headers for signing secrets or auth tokens if the endpoint requires them, and always send a test event to confirm the receiver accepts it.

Monitor it with TorixPulseBuild custom webhook alerts with templates and headers in TorixPulse.
Start free