writing slack bots in javascript
TRANSCRIPT
codemotion Berlin
October 2017
How to write your own Slack ChatBots in JavaScript
Ansgar Schmidt
IBM, Developer Advocate
@ansi
ansi.23-5.eu
Niklas Heidloff
IBM, Developer Advocate
@nheidloff
heidloff.net
@ansi @nheidloff
Sample Bot
@ansi @nheidloff
Architecture
User
Slack
Slack
Your Bot
Code
External
Data
Source
API
IBM
WatsonBotkit
WatsonAdmin
@ansi @nheidloff
Slack APIs and Programming Model
@ansi @nheidloff
Slack Configuration
@ansi @nheidloff
Slack Configuration
@ansi @nheidloff
Slack Configuration
@ansi @nheidloff
Slack Configuration
Slack Configuration
@ansi @nheidloff
Slack Configuration
Node.js open source
framework
Support of various
messaging platforms
Support of various
NLP services
@ansi @nheidloff
Botkit
@ansi @nheidloff
Botkit – Configuration
@ansi @nheidloff
Botkit –
Real Time Messaging
@ansi @nheidloff
Botkit – Adding Bots
Botkit – Replies and Conversations
@ansi @nheidloff
Watson Conversation
@ansi @nheidloff
Watson
Watson
@ansi @nheidloff
Watson
@ansi @nheidloff
Message Builder
@ansi @nheidloff
Watson
@ansi @nheidloff
Watson Botkit Middleware
@ansi @nheidloff
Watson Botkit Middleware
@ansi @nheidloff
Watson Responses
Lookup Weather
@ansi @nheidloff
New Intent: Get Time
@ansi @nheidloff
Dialog
@ansi @nheidloff
Get Time Code
Bluemix Trial: http://codemotion17.mybluemix.net/
Botkit: https://botkit.ai/
Sample: https://github.com/nheidloff/slack-watson-bot
Watson Conversation:
https://www.ibm.com/watson/developercloud/conversation.html
@ansi @nheidloff
Q & A and Resources