Slack bot to encourage KPT retrospect 💭
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Procfile
README.md
app.json
index.js
package.json
yarn.lock

README.md

Slack bot for KPT retrospect

What's this?

It's a Slack bot to encourage us KPT retrospect.

2016-12-24 11 37 38

Usage

  • Post any messages starting with "K " or "P " or "T " as like...
    • "K Found a good restaurant near our office"
    • "P This project is getting delayed..."
    • "T Start daily meeting"
  • Call your KPT bot when you want to start retrospect with posted KPTs.

Format

@bot-name summary $from_date $to_date

  • from_date: Required. Start of time range of messages.
  • to_date: Optional. End of time range of messages.

Sample

@bot-name summary 2016-11-01 2016-11-30

The bot gathers KPTs you posted from 2016-11-01 and 2016-11-30 from history of a channel you called the bot.

Why not use another tool?

Actually, there are many tools to do it, but most of them are not for "daily use".

We think of good ideas anytime we live. To memoize them, you open your laptop and start the app or web site to record your ideas. If you're out and do not have a good device to do it... Ugh, that's tiresome.

Slack is now our "daily use" tool and their is less barriers to prevent us to track our KPTs.

Develop

$ git clone git@github.com:ohbarye/kpt-bot.git
$ npm install -g yarn && yarn
$ SLACK_BOT_TOKEN=your-slack-bot-token node index.js

Deployment

If you want to deploy to Heroku, just click following button.

Deploy

Environment Variables

SLACK_BOT_TOKEN (required)

Slack bot API token.

If you do not have it yet, visit https://my.slack.com/services/new/bot and get the token.