Enhanced Bot

Enhanced Bots

This feature allows you to create a VA that points to a single bot, where all inputs go to that bot. This gives you the ability to create pipelines on the VA.

This is currently only possible to do via the CLI

sb-cli bot upgrade <bot_name_to_upgrade> <new_va_name>

Once the VA is created you can go in and talk to it, and it will point all incoming events at the bot.

By default two pipelines are created, one for missed inputs and one for exceptions.

{
  "@MissedInput": [
    {
      "Id": "MissedInput",
      "Type": "SEND_MESSAGE",
      "Properties": { "Message": "Sorry I didn't get that please try again" }
    }
  ],
  "@Exception": [
    {
      "Id": "Error",
      "Type": "SEND_MESSAGE",
      "Properties": { "Message": "An error occurred" }
    }
  ]
}