A New Place to Work: IBM Watson Workspace - AdminCampFILE/T3S7-WatsonWorkspace.pdf · A New Place...

27
A New Place to Work: IBM Watson Workspace er Busse, We4IT GmbH, Germany, March 29, 2017

Transcript of A New Place to Work: IBM Watson Workspace - AdminCampFILE/T3S7-WatsonWorkspace.pdf · A New Place...

A New Place to Work: IBM Watson Workspace

Oliver Busse, We4IT GmbH, Germany, March 29, 2017

Oliver Busse• „Bleeding Yellow“ since R4.5

• Software Architect at We4IT• Member of the development team of

aveedo® Application Framework

• IBM Champion for ICS in 2015, 2016 + 2017

• OpenNTF Member Director

• XPages Advocate@zeromancer1972

www.oliverbusse.com

Agenda

• What is Watson Workspace?

• There an API for it...

• Workspace with XPages apps

• Create a Chatbot for Workspace

What is Watson Workspace?

• Formerly known as „Project Toscana“

• IBM‘s version of „Slack“

• Still in „Preview“, not public

• Persistent chat with awareness

• File sharing platform (can integrate with IBM Connections Files)

• Conversations can be enrichted with Watson AI

DEMO

Workspace

There is an API for it...

• APIs are available for Java, Python, Node.js, ...• Java 1.7+

• OpenNTF delivers a „better“ API (Watson Work Services Java SDK)

• Java 1.6+

• Integrates in XPages!

DEMO

Java SDK

Workspace in XPages: Use Cases

• Create messages when...• documents are created or modified

• A new mail arrives in a customer service inbox

• Ask a chatbot...• about your next schedule

• for your todo list

• to search in YOUR data

• Summarize a conversation• store results in documents

DEMO

XPages

Create a Chatbot for Workspace

• Listen to a conversation

• Act on user inputs

• Present data from your applications

• Create data from the user inputs

Ingredients

• Proxy app (Node.js)

• Public URL (Webhook)

• Create a Workspace Space

• Register app on the Space

• Listen to Workspace, react accordingly

Schema

Setup

• Node.js SDK for Watson Workspace

• Express

• Localtunnel / ngrok (for development only)

• Connect Domino app to Node proxy (local)

• (optional) Host proxy on Bluemix

Tools used

• Editor: Visual Studio Code

• Node.js, express, nodemon, body-parser, request, crypto

• Node.js SDK for IBM Watson Workspace

• Postman for testing

• Localtunnel for URL forwarding

• IBM Domino

• XPages app

• Domino Designer

DEMO

Webhook, Node.js

BACKUP

Step-by-step guide

• Open Watson Workspace

• Goto Settings, Developers• https://developer.watsonwork.ibm.com

• On the Developer page, open „Apps“

• Click „Create New App“• give it a name and a description

• Note down the appKey and the appSecret!

• Goto „Listen to Events“ and click „add an outobund webhook“• give it a name• choose one or more events (e.g. message created)

• Note down the webhook secret!

• Enable the webhook!

• Webhooks can be changed later

DEMO

Next?

Q & A

Demo app here:

http://files.notesx.net/Privat/filesilo.nsf/file.xsp?action=openDocument&documentId=1C8303EEFF8A49EE

C12580F20072E828