Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/opbeat/slack-hook


https://github.com/opbeat/slack-hook

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

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](https://opbeat.com/docs/articles/how-to-set-up-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:

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


Deploy

1. Paste the unique URL into the `SLACK_URL` field and deploy the app:

Screenshot:

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

Screenshot:

1. Go to `https://opbeat.com//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!