This worker type is deprecated and will be removed in February 2020
A Business Intent worker takes a utterance or touch event, and matches it to a business intent and interacts with APIs to carry out a set of steps. This worker can process intents using either Lex or Dialogflow. Create one through the CLI or through the Add Resource
button on a bot’s detail page.
Type: NLP Worker
Lex
or Dialogflow
Save this json to a file and create a worker using the cli command sb-cli worker create file.json
{
"Data": {
"operator": {
"aws": "srn:vault::flowit:secretdoc:lexsecret",
"type": "Lex"
}
},
"Organization": "flowit",
"Config": {
"Avatar": "default-bot"
},
"Enabled": true,
"Description": "An amazing Lex Worker",
"Type": "business-intent",
"Name": "SBPeerToPeerTransferLexWorker",
"Status": "published",
}
Once you have created the worker using the CLI, it will return an ID for you. You need to then update/create a bot and place the filter worker at the top with the id and the type of business-intent