Slack is a real time messaging system. Most developers know it or even use it in daily team communication. One of Slack’s powerful features is the ability to create new APIs to enhance team’s experience and collaboration.
According to Slack documentation:
Commands enable users to interact with your app from within Slack.
They are called by prepending the command with a slash char and may receive parameters:
/topic a new post
In this series of posts I’m going to share with you how to setup a new Slack Command using Ruby and Heroku as backend service.
It will be divided in 4 parts and, by the end of it, you’re going be able to write your own API and send direct messages to users:
Also you can see the implementation of this challenge commit by commit at:
congratulation-app - A sample Slack Command API application written in Ruby using Sinatra.