Configure webhooks and chat
Send alert notifications to a webhook, Slack incoming webhook, or Discord webhook.
Create an organization notification channel for site alerts.
-
Select the organization, open Settings, then select Notifications and Add channel. Only Owners and Admins can manage channels.
-
Set Channel type to Webhook, Slack, or Discord.
-
Enter a descriptive Name and paste the destination’s Endpoint URL.
-
For a generic Webhook, optionally enter a Signing secret. Signed requests include
X-Supermetry-TimestampandX-Supermetry-Signatureheaders. -
Leave Enabled checked and select Create channel.
-
Select Send test to channel name. Creating a channel does not add it to an alert; select it when creating or editing the alert.
What you should see: Supermetry reports Test notification sent to <channel name>.
Message templates
Section titled “Message templates”Each channel type (email, Slack, Discord, Telegram, webhook) has its own message template, below the channel list on the same Notifications page.
-
Pick the Template channel.
-
Edit the Message (up to 4,096 characters). Email also has a Subject.
-
Use only the listed variables, written like
{{.value}}:alert_id,alert_kind,site_id,value,threshold,from,to,fired_at. -
Check the Sample preview, which uses fixed sample data, then select Save template. Select Reset to default to go back to the built-in text.
An invalid template shows an error in the preview and cannot be saved.