IBM Watson Assistant

Watson Assistant is an AI-powered chatbot that allows you to integrate a conversational interface into your flow. In order to use Watson Assistant through SmartFlows, you must already have an IBM Cloud account with Assistant enabled. Visit here to learn how to build flows using Watson Assistant.

 

Assistant Credentials
Sign in to Assistant using your IBM credentials. These can be found in the API details of the configured Watson Assistant.

 

Assistant URL
Enter the Assistant URL found in the API details of the configured Watson Assistant.

 

WorkSpace ID
Supply your ID which can be found within the API details of the Assistant Skill associated with the configured Watson Assistant.

 

Text/Message
Here you will enter the message that will be send to the end user. To use Assistant for an incoming SMS, for example, select the variable assigned to the Incoming SMS block and drag it down to the Text/Message field.

 

 

Variables

The Watson Assistant action creates several variables. These variables can be used later on in a flow through the SMS, External Web Call, Dial action, or more.

 

$WATSONASSIST_#.responsebody
The entire response from the Watson Assistant.

 

$WATSONASSIST _#.statuscode
The code that indicates the status of the API response (i.e. 200 = success, 404 = not found, 403 = forbidden).

 

$WATSONASSIST _#.response.output.text[0]
The response that was returned by Watson Assistant.