Hi.
Post-mortems are great! One of the more tedious parts is getting together the timeline. This small project adds a Slack message action to quickly add things to a time-ordered list to make it easier to get together what happened when.
Ask Erik for the movie
- Run redis locally
- Try
npm install
. I haven't tested it yet... TBD - Use
ngrok http 3000
and copy your ngrok url. - Make a new app in Slack, and go to these pages for the app
- Features / Interactivity & Shortcuts page
- Under Interactivity put your ngrok url plus
/slack/events
. I.e.:https://1701ee7a.ngrok.io/slack/events
- Create New Shortcut having a callback of
message_to_timeline
(name it whatever you'd like, this will show up in slack's message context menu)
- Under Interactivity put your ngrok url plus
- Features / OAuth & Permissions page:
- copy
Bot User OAuth Access Token
- this will beSLACK_BOT_TOKEN
- needed Scopes:
commands
(this may be there already)user.profile:read
(needed to get user names)
- copy
- Settings / Install App into your workspace
- Copy
SLACK_SIGNING_SECRET
andSLACK_BOT_TOKEN
from your app page npx nodemon app.js