Skip to content

Slack integration #41

Description

@charlesreid1

We need to create an example hook function that integrates with Slack (credentials provided in an analogous way to the way the Github credentials are provided - a private, non-version-controlled flask config file). (Could also have a Twitter bot integration, so that a twitter account would post a notification triggered by a Github webhook.)

For example, post an alert to the #alerts channel when private-www or four-year-plan or use-case-library are updated. centillion may also have some useful integrations.

(Note: this will be useful for integrating a centillion live-stream slack channel integration.)

If we look at the basics of creating a Slack app (https://charlesreid1.com/wiki/Slack), we start by deciding which of the five types of Slack app we want. We want a bot that will send messages to Slack via webhook; this will be triggered by webhooks from Github.

The bot will live in the NIH DCPPC userspace. It will have the username Florence Python. The Slack App name/ID will be Uncle Archie. The API client token and secret token will come from the person who creates the Slack app, which will be @charlesreid1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions