Denvar94 / slack-hook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Opbeat to Slack hook

Receive notifications from Opbeat in your Slack channels. (Uses the new Opbeat API hooks.)

Note: Opbeat now has native Slack integration. The method explained below will continue to work.

Setup

It is really simple to set up with a few clicks. Follow these steps:

  1. Create a new Slack integration for a channel and copy the unique URL.

    Screenshot:

  2. Press this button to create a new Heroku app:

    Deploy
  3. Paste the unique URL into the SLACK_URL field and deploy the app:

    Screenshot:

  4. After deployment, click "View it" to open the new app and copy the hook url.

    Screenshot:

  5. Go to https://opbeat.com/<yourorg>/settings/ and enter the hook url:

    Screenshot:

    Note: The hook URL should like this:

    https://random-app-name.herokuapp.com/new-activity

    The /new-activity part is required for the hook to work.

Hooks are now configured. Post a comment on Opbeat to test it out!

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%