Only allow certain intents on specific channels


(Kuri) #1

Is there a way to restrict certain intents to specific channels?
For example, when user is using Facebook, the user can do only basic enquiries
But when using mobile/web client, user can do Payments and Transfers.

Or do we need to build smart bots/universal bots for this?


(Joyce Gurramgadda) #2

Yes. It is possible at the standard bot.

  1. When the user types “help”/“what can you do?” this triggers a standard response. So we need to override the respective channel response to the channel-specific dialog names.
  2. If the user goes by an utterance at the Bot, make sure to put a condition at the start of the dialog to verify in which channel the user is in and then traverse the path.