- Slash Commands in Slack,
- Watson Conversation service to create a ChatBot,
- Node-RED to configure the Application Flow,
Using a chatbot, I want to automate the following scenario:
- user: Hello
- chatbot: Hello. Where are you?
- user: hi, i am at the Rubin Museum.
- chatbot: I love the Rubin Museum. Shall I give you some recomendations of my personal favorites?
- user: oh yes, I would love some recommendations.
- chatbot: do you like sculpture, paintings or ornaments?
- user: i prefer paintings!
- chatbot: ok, here are my favorite paintings at the Rubin Museum: a, b, c
- Create the Watson Conversation for the Rubin Museum Scenario,
- Test the Conversation for the Rubin Museum Scenario,
- Setup Slash Commands in Slack,
- Create the Node-RED Flow to Watson Conversation,
- Add Token Validation of the Slack Request to Node-RED Flow,
Create the Watson Conversation for the Rubin Museum Scenario
- Go to IBM Bluemix and login to your account,
- To create the Watson Conversation, click the ‘Create Service’ button, which will take you to the Catalog, or
- Go to the Catalog, Under ‘Services’ filter by ‘Watson’, or in the catalog browse to the Watson section,
- Click the ‘Conversation’ service,
- Agree or change the ‘Service name’ and the ‘Credentials name’, and click the ‘Create’ button,
- Under the ‘Credentials’ tab, you will find the username, password, and workspace ID that you need later to configure access to the conversation service,
- Click the green ‘Launch tool’ button,
- First create a workspace, click ‘Create’, name the workspace ‘Watson2Slack-Workspace’, and click ‘Create’,
- You are now in your Conversation workspace, and you should see 3 tabs: Intents, Entities, and Dialog,