Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
how to make a botkit slack bot on

fork the botkit slack starter repo


create a node.js app from your fork on


register a bot on


  1. create a new bot
  2. copy Client ID and Client Secret for .env file.
  3. setup oAuth redirect url
  4. add a bot user with always logged in
  5. setup event subscriptions

clone your fork locally and edit two files

open .env for editing to add Client ID and Client Secret and also set port to 8080 from

use the bot

invite it to a room direct message it with "what is on my todo list today?"

setup an inbound webhook


go to "Incoming Webhooks" and activate inbound webhooks on your workspace, it will ask you which channel to post the text into, then you a curl command like:

curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World!"}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.