developerdrive

Building Your First Slack Bot

In this tutorial I’m going to show you how to create a simple Slack bot using Express and Node.js, which will communicate with the Slack API. We will use a simple example where we send a score to our Node.js application, and provide another endpoint for retrieving the pushed score. Let’s get started… Getting Started Make sure that you have Node.js and NPM installed on your machine, if not, visit the Node.js website to install the latest version. Let’s start by creating a folder for our app. Run the following commands in your favorite...