Bots 💙 Adobe I/O Runtime
Meet the Slackbot Framework, powered by Adobe I/O Runtime
Bots are some of the most innovative, trending and useful applications that are being developed nowadays. Who doesn’t want a bot that can make your life easier?
There’s just one problem with building bots: it’s not as easy as it should be. Server setup and management, scalability, and cost are big challenges. Developers often spend more time on these processes than working on the bot’s functionality instead. That didn’t make sense to me.
Luckily, I had Adobe I/O Runtime to make things easier. Adobe I/O Runtime brings serverless computing to developers, with a platform that allows them to quickly deploy custom code to respond to events and execute functions right in the cloud, all with no server setup.
This allowed me to focus on writing my bot instead of setting up a server to run it on.
Introducing a Slack Bot Framework powered by Adobe I/O Runtime
To show what you can do with Adobe I/O Runtime, as part of my summer internship at Adobe, I created a Slackbot Framework that allows developers to create their own Slackbot in just a few steps. The framework handles the server setup and management, allowing developers to focus on the functionality. they want to add.
How does it work?
When a user types a slash command, Slack triggers an OpenWhisk web action created to handle the commands — in this case, the Adobe I/O Runtime. It processes the request and returns back the result, to be presented to the user.
How easy is to add functionality to your Slackbot?
What did I create with it?
I built two working bots with this framework:
- Welcome Bot: a “Welcome to Slack’s Enterprise grid” bot. It sends an interactive welcome to new users that join certain company instances of the Slack Enterprise Grid. The welcome message contains the terms and conditions of joining, buttons for accept and decline.
- Insights Bot: an analytics team inside Adobe needed a Slackbot to retrieve specific data from their services and reports. They no longer need to go and search in multiple webpages, they can now just ask the bot!