chatbot interfaces

19
Chatbot Interfaces Patrick Cullen Senior Technical Architect Web Engineering

Upload: patrick-cullen

Post on 06-Jan-2017

1.771 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Chatbot interfaces

Chatbot InterfacesPatrick CullenSenior Technical ArchitectWeb Engineering

Page 2: Chatbot interfaces

What is a chatbot?

Page 3: Chatbot interfaces

• Listens in chat room• Takes action• Returns results

Chatbot 101

Page 4: Chatbot interfaces

Why use chatbots?

Page 5: Chatbot interfaces

Development cost

command line chatbot website mobile app

Page 6: Chatbot interfaces

Deploying updates

command line chatbot website mobile app

Page 7: Chatbot interfaces

Push notifications

command line chatbot website mobile app

Page 8: Chatbot interfaces

• Simple to develop• Asynchronous notifications• Integrates with team

Chatbot advantages

Page 9: Chatbot interfaces

How do I build a chatbot?

Page 10: Chatbot interfaces

• Define a grammar• Take action• Return results

Chatbot design

Page 11: Chatbot interfaces

<Action> <Type> <Parameters>

deploy app rutabaga

show cluster alpine

Define a grammar

Hello World

Page 12: Chatbot interfaces

me: deploy app rutabaga

>POST http://api/deploy?app=rutabaga

Take action

Page 13: Chatbot interfaces

me: deploy app rutabaga

>POST http://api/deploy?app=rutabaga

bot: deploying app rutabaga

bot: app rutabaga is running

Return results

Page 14: Chatbot interfaces

Advanced topics

Page 15: Chatbot interfaces

• POST endpoint• Integrate non-chat system

Webhooks

Page 16: Chatbot interfaces

• Shorter commands• Auto completion• POST to webhook

Slash commands

Page 17: Chatbot interfaces

• Define security groups• Restrict commands• Tokens on webhooks

Security

Page 18: Chatbot interfaces

Nile demo

Page 19: Chatbot interfaces

Questions