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.
- 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
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.
- Automate the copy of the Google Doc Incident Template and link to the new document