Notifications

The wizard currently configures one webhook endpoint with a template selection:

  • Slack
  • Discord
  • Telegram
  • Plain text

Setup flow

  1. Enter webhook URL.
  2. Choose template.
  3. Click Test Webhook to send a template-specific test payload.
  4. Continue deployment.

Channel setup

Slack

  1. Open your Slack workspace and go to Apps.
  2. Search for Incoming Webhooks and add it.
  3. Select the channel where you want alerts to appear.
  4. Copy the webhook URL (starts with https://hooks.slack.com/services/...).
  5. Paste it into the wizard's webhook URL field and select the Slack template.

Discord

  1. Open Server Settings in your Discord server.
  2. Go to Integrations and click Webhooks.
  3. Click New Webhook, choose a channel, and copy the URL.
  4. Paste it into the wizard's webhook URL field and select the Discord template.

Telegram

  1. Message @BotFather on Telegram to create a new bot.
  2. Copy the bot token BotFather gives you.
  3. Get your chat ID by messaging @userinfobot.
  4. Your webhook URL format is: https://api.telegram.org/bot<TOKEN>/sendMessage
  5. Include chat_id for delivery (for example, ?chat_id=<YOUR_CHAT_ID>).
  6. Select the Telegram template in the wizard.

Plain text / custom endpoint

Use the Plain text template for endpoints that do not expect Slack/Discord/Telegram-specific formats. This template sends a plain-text request body; other templates send structured JSON.

Example payload (illustrative)

For JSON-capable destinations, the payload generally includes monitor/state details like this:

json
{
  "monitor": "API Server",
  "status": "down",
  "previousStatus": "up",
  "statusCode": 503,
  "latency": 2500,
  "timestamp": "2025-01-15T12:00:00Z",
  "url": "https://status.example.com"
}

About payload format

The exact payload for runtime alerts depends on the deployed FlareWatch runtime version and template behavior. If your destination requires a strict schema, place a small transformer service (for example, a Worker) in front of your endpoint.

For PagerDuty, Microsoft Teams, or other services without a native template, use a small Cloudflare Worker as a transformer between FlareWatch and your destination.

Use webhook.site while testing to inspect exactly what your endpoint receives.