Skip to content

This node.js app is allowing you to start an incident management process via a Slack slash command.

Notifications You must be signed in to change notification settings

davidferdinand/slackincident

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Incident Management Flow via Slack's Slash Command

This node.js app is allowing you to start an incident management process via a Slack slash command. The command will do the following:

  • Posts a Slack message in an incidents Slack channel with links to:
    • A newly created Slack channel for this specific incident
    • A Google Hangout/Meet meeting to join to communicate with your team members
    • A Google Docs template to be copied manually (for now) to share the timelines, notes, logs, etc.

This is what it looks like:
Slack message example

Setup

  • Deploy the app to any node.js enabled hosting environment (Heroku?), and configure the environment variables like explained below.
  • Create a Slash Command and point it to the URL where the app is hosted.
    • Update the Command token in the environment variables.
  • Test /incident TEST!!! This is a test of an incident slack command in your Slack workspace

Config Environment Variables

  • SLACK_COMMAND_TOKEN: Your slack command token (generated when you create a slash Slack command).
  • SLACK_API_TOKEN: Legacy Slack API token.
  • SLACK_INCIDENTS_CHANNEL: The incidents Slack channel where all incidents are shared (e.g. tech-incidents).
  • SLACK_INCIDENT_CHANNEL_PREFIX: Slack channel for the incident postfixed with timestamp (e.g. incident-).
  • GOOGLE_DOMAIN: The domain of your organisation that you're using in Google G-Suite (e.g. messagebird.com).
  • GOOGLE_DOCS_FILE_ID: The Google Docs file ID of the Incident management document you want the team to use to fill to dump info during incident.

Todo / Wishlist

  • Automate the copy of the Google Doc Incident Template and link to the new document

About

This node.js app is allowing you to start an incident management process via a Slack slash command.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%