slack-groups is meant to update Slack group members based on 3rd party data. This can be used as either a library or a standalone service.
While this repository is meant as a way to integrate multiple external services with Slack groups, the only integration at the moment is with
Some Slack apps do not support updating Slack groups. For example, it is not possible to update a Slack group when an OpsGenie schedule changes.
This scenerio is exactly where
slack-groups comes in as you can define a map of OpsGenie groups to Slack groups.
Create config.js file
To use as a standalone service, you first should copy the file
config.js and modify the values to fit your needs.
Environment file (optional)
The service also supports using a
.env file, which you must create manually. To enable debugging you can add the value
DEBUG=* to the
Install the dependency with
npm i slack-groups
const slackGroups = ;const runner =;runnerstart;// do stuffrunner;// cancel anytime. call `runner.start()` to restart. optional