Available Notification Channels
Upptime integrates with popular communication platforms through GitHub Actions:Slack
Post incident updates to Slack channels
Discord
Send alerts to Discord servers and channels
Telegram
Receive messages in Telegram groups or channels
Send email notifications to team members
Microsoft Teams
Post to Teams channels
Custom Webhooks
Integrate with any service that accepts webhooks
Configuration
Notifications are configured in your.upptimerc.yml file:
.upptimerc.yml
Setting Up Notifications
Slack
Integrate Upptime with Slack to receive incident notifications:Step 1: Create Slack Webhook
Step 1: Create Slack Webhook
- Go to your Slack workspace’s Apps page
- Search for “Incoming Webhooks” and add it
- Choose the channel for notifications
- Copy the webhook URL
Step 2: Add Secret to GitHub
Step 2: Add Secret to GitHub
- Go to your repository Settings
- Navigate to Secrets and variables > Actions
- Click New repository secret
- Name:
SLACK_WEBHOOK_URL - Value: Paste your webhook URL
- Click Add secret
Step 3: Configure .upptimerc.yml
Step 3: Configure .upptimerc.yml
.upptimerc.yml
Step 4: Test Notification
Step 4: Test Notification
Trigger a test by manually running the Uptime workflow:
- Go to Actions tab
- Select Uptime CI
- Click Run workflow
Discord
Send notifications to Discord servers:- Setup
- Configuration
- Customization
- Open your Discord server settings
- Go to Integrations > Webhooks
- Click New Webhook
- Name it “Upptime” and select a channel
- Copy the webhook URL
- Add as
DISCORD_WEBHOOK_URLsecret in GitHub
Telegram
Receive alerts in Telegram:Create Bot
Create Bot
- Message @BotFather on Telegram
- Send
/newbotand follow instructions - Copy the bot token
- Add as
TELEGRAM_BOT_TOKENsecret in GitHub
Get Chat ID
Get Chat ID
- Add your bot to a group or channel
- Send a message to the bot
- Visit
https://api.telegram.org/bot<TOKEN>/getUpdates - Find the
chat.idin the response - Add as
TELEGRAM_CHAT_IDsecret in GitHub
Configure
Configure
.upptimerc.yml
.upptimerc.yml
For Gmail, you’ll need to create an App Password instead of using your regular password.
Microsoft Teams
Post to Microsoft Teams channels:Create Webhook
Create Webhook
- Open Microsoft Teams
- Go to the channel for notifications
- Click … > Connectors
- Find Incoming Webhook and configure
- Copy the webhook URL
- Add as
TEAMS_WEBHOOK_URLsecret
Configure
Configure
.upptimerc.yml
Custom Webhooks
Integrate with any service that accepts webhooks:.upptimerc.yml
Notification Events
You can configure which events trigger notifications:Downtime Detected
Downtime Detected
When a site goes down:
Site Recovered
Site Recovered
When a site comes back up:
Degraded Performance
Degraded Performance
When response times are slow:
All Events
All Events
Notify on all status changes:
Per-Site Notifications
Configure different notifications for different sites:.upptimerc.yml
Notification Content
Customize the content of notifications:- Message Template
- Custom Fields
- Rich Formatting
.upptimerc.yml
Managing GitHub Secrets
Enter Details
- Name: Use uppercase with underscores (e.g.,
SLACK_WEBHOOK_URL) - Value: Paste your webhook URL or API token
Testing Notifications
Test your notification setup:- Manual workflow trigger: Run the Uptime CI workflow manually
- Test site: Add a site you know is down (e.g.,
https://thissitedoesnotexist.koj.co) - Wait for check: The next scheduled check will trigger a notification
- Verify delivery: Check your notification channel
.upptimerc.yml
Rate Limiting
To avoid notification spam:Minimum Interval
Minimum Interval
Set a minimum time between notifications:
Notification Grouping
Notification Grouping
Group multiple site failures into one notification:
Troubleshooting
Not Receiving Notifications
Not Receiving Notifications
- Verify the secret is correctly named in GitHub
- Check the workflow logs in the Actions tab
- Test the webhook URL manually with curl
- Ensure the notification channel/bot is properly configured
Webhook URL Invalid
Webhook URL Invalid
- Double-check you copied the entire URL
- Ensure no extra spaces or characters
- Regenerate the webhook if needed
- Verify the webhook hasn’t been revoked
Rate Limited
Rate Limited
- Check your notification platform’s rate limits
- Reduce notification frequency
- Use notification grouping
- Consider multiple webhooks for high-volume alerts
Best Practices
Use Separate Channels
Create dedicated channels for status notifications to reduce noise
Set Priorities
Use different notification methods for critical vs. non-critical sites
Test Regularly
Periodically test notifications to ensure they’re working
Document Setup
Keep documentation of webhook URLs and configuration
Advanced Integration
PagerDuty Integration
For on-call escalation:.upptimerc.yml
Datadog Integration
Send metrics to Datadog:.upptimerc.yml
Custom GitHub Actions
Create your own notification logic:.github/workflows/custom-notify.yml
Next Steps
- Configure Uptime Monitoring
- Learn about Incident Management
- Explore Response Time Tracking