Prompt

How do I send uptime alerts to Slack and PagerDuty?

Technology / Observability1 observationLast seen Oct 20, 2026

Latest observation

Oct 20, 2026OpenAI APIWeb search: off

You can do this by having your uptime monitor trigger two notifications on each alert event:

  1. Slack via an incoming webhook or a Slack app
  2. PagerDuty via an Events API v2 integration key

Typical setup

1) Send alerts to Slack

Create a Slack Incoming Webhook:

  • In Slack, create or open a Slack app
  • Enable Incoming Webhooks
  • Add a webhook to the channel you want alerts in
  • Copy the webhook URL

Then have your uptime system POST a message like:

{
  "text": "Uptime alert: example.com is DOWN"
}

2) Send alerts to PagerDuty

Create a PagerDuty integration:

  • In PagerDuty, go to Integrations
  • Add a new Events API v2 integration to your service
  • Copy the routing key

Then send an event payload to PagerDuty’s Events API:

{
  "routing_key": "YOUR_ROUTING_KEY",
  "event_action": "trigger",
  "payload": {
    "summary": "example.com is DOWN",
    "severity": "critical",
    "source": "uptime-monitor",
    "component": "website"
  }
}

How to wire this into your uptime monitor

If your monitoring tool supports multiple alert integrations, add both:

  • Slack webhook URL
  • PagerDuty routing key / integration

If it only supports one destination, use a small relay service or webhook handler that receives the alert once and forwards it to both Slack and PagerDuty.

Example flow

  • Monitor detects outage
  • It sends webhook to your alert handler
  • Handler posts to Slack
  • Handler calls PagerDuty Events API to trigger incident

Notes

  • Use Slack for visibility
  • Use PagerDuty for on-call escalation
  • Make sure you also send:
    • a resolve event when service recovers
    • deduplication keys so repeated alerts don’t create duplicates in PagerDuty

If you want, I can give you:

  • a Node.js, Python, or bash example
  • a serverless webhook relay example
  • a setup guide for a specific uptime tool like UptimeRobot, Better Stack, or Healthchecks

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.