Creating a chatbot for Slack, the easy to setup group chat for teams was surprisingly easy. In this post we’re going to go over creating a chat bot that can reply to queries and take an action on simple keywords.
We’re going to use a node module called BotKit, which will enable us to connect to Slack easily. Actually Botkit offers a GUI (paid plans) and also connects to Microsoft Teams, Spark, Twilio and even Facebook.
One of the things I like the most about it is that you can kind of build a bot once and then re-use components across different platforms, which is super cool.
This post is written with
- node 9.3.0
but will probably be up and downwards compatible fairly far since the dependency has been around for a while.