Docs
WebsiteLoginFree Trial
  • Getting Started
    • OnCall Users
    • Team Admins
    • Account Admins
  • Architecture Guide
  • Common UI Design Patterns
  • Alerts
  • Teams
  • Schedules
  • Escalation Policies
  • Integrations
  • Broadcasts
  • Users
  • Notifications
  • Reports
  • Billing
  • Accounts
  • Stakeholders
  • Maintenance Windows
  • Routers
  • Notification Rules
  • Single Sign On (SSO)
  • Integration Guides
    • Introduction
    • 66uptime
    • Apex Ping
    • AppDynamics
    • Auvik
    • AWS CloudWatch
    • Azure Monitor
    • Cloudflare
    • Cronitor
    • Datadog
    • Dead Man's Snitch
    • Echoes HQ
    • ElastAlert
    • Email
    • Form
    • Freshdesk
    • Freshservice
    • Google Hangouts Chat
    • Grafana
    • Healthchecks.io
    • HetrixTools
    • Honeybadger
    • Hydrozen
    • Jira Server
    • JotForm
    • Kapacitor
    • LogicMonitor
    • Mattermost
      • Outgoing Webhook
      • Post to Channel
    • Meta Workplace
    • Microsoft Teams
    • New Relic
    • Outgoing Webhook
    • Pingdom
    • Prometheus
    • PRTG Network Monitor
    • Pulsetic
    • Sentry
    • ServerGuard24
    • Site24x7
    • Slack
      • Notifications
      • Outgoing Webhook
      • Post to Channel
    • SolarWinds
    • Stackdriver
    • StatusCake
    • Twilio
      • Incoming SMS
      • Live Call Routing
    • Typeform
    • Uptime
    • Uptime Kuma
    • UptimeRobot
    • Webhook
    • Zendesk
  • API
    • Introduction
    • Authentication
    • Errors
    • Pagination and Filters
    • Common Model Attributes
    • Account Users
    • Alerts
    • Broadcasts
    • Comments
    • Escalation Policies
    • Events
    • Integrations
    • Logs
    • Maintenance Windows
    • Notification Rules
    • Routers
    • Schedules
    • Teams
    • Users
  • Command Line Interface (CLI)
    • PagerTree CLI: Command Line Interface
Powered by GitBook
On this page
  • Important Information
  • How It Works
  • Integration Walkthrough
  • In PagerTree
  • In Slack
  • Bonus: Additional Security

Was this helpful?

  1. Integration Guides
  2. Slack

Outgoing Webhook

Connect your Slack workspace to PagerTree.

PreviousNotificationsNextPost to Channel

Last updated 10 months ago

Was this helpful?

Company
Estimated Time
Vendor Docs
Open Source

5 minutes

Important Information

  • Slack -> PagerTree (keyword trigger) - Continue reading this page.

  • PagerTree -> Slack (post to channel) - See .

How It Works

Slack Outgoing Webhooks triggers a webhook anytime a Slack message starts with configured trigger words.

  • An alert will be created in PagerTree when Slack sends an Outgoing Webhook to PagerTree.

  • PagerTree will try to extract an urgency from the message text. Valid values are low|medium|high|critical. If the urgency is not found in the message text it will default to the integration urgency.

Integration Walkthrough

In this integration tutorial we will show you how to connect your Slack Outgoing Webhooks integration with PagerTree. The estimated time for this integration is 5 minutes. We assume that you already have a PagerTree and Slack account setup.

In PagerTree

  1. by clicking the Slack (Outgoing Webhook) logo.

  2. .

In Slack

  1. On the App page, click “Add Configuration”

  2. On the New configuration page, click “Add Outgoing Webhooks Integration”

  3. Scroll down the page to the Integration Settings

    1. Channel - Select an appropriate channel this will apply to, or any for all channels.

    2. Trigger Words - Select the words that trigger the webhook (e.g. outage, sev-1, down).

    3. URL(s) - Paste the PagerTree Endpoint URL you copied.

    4. Descriptive Label - Easy to remember label on what this outgoing webhook does.

  4. Click “Save Settings”

Bonus: Additional Security

For security purposes, you can also provide PagerTree with the token Slack provides. If using this feature, PagerTree will not create an alert unless the token sent by Slack is the same token that is configured with the integration. This protects against spoofing attacks.

In Slack

  1. From the App Page, Copy the Token

In PagerTree

  1. From the Integration Page, Click Edit.

  2. Paste the Token that you copied from Slack to the Token field.

  3. Click “Update”.

You have successfully completed the Slack (keyword trigger) Integration.


Go to

Slack Outgoing Webhooks App Page
Slack Technologies, Inc.
view
v3.rb
Slack Post to Channel Integration
Create the integration
Copy the Endpoint URL
Click "Add Configuration".
Click "Add Outgoing Webhooks Integration".
Slack Outgoing Webhook PagerTree Configuration
Copy the token.
Slack Webhooks
outgoing webhooks
Slack Outgoing Webhook PagerTree Configuration
Slack Token