Skip to main content

Channel deployment

This article is part of a tutorial about creating a multilingual bot.

  1. Basic principles
  2. Request routing
  3. Support for English
  4. Support for other languages
  5. Channel deployment (you are here)

The last section of this tutorial is concerned with deploying the multilingual bot.

Deployment in the main channel

The main channel that clients will use to communicate to the multilingual bot is the router bot channel, because only the router bot can switch between different languages.

tip
When the context is changed, the bot changes its mode of operation as if it were another bot. However, the communication channel remains the same.

Deploy the router bot channel so that the whole bot goes live. If the channels for all monolingual bots are deployed as well, the bot will be able to switch contexts and understand multiple languages.

Dialog example

Monolingual bot channels

Since all communication with the bot is carried out via the router bot channel, monolingual bots can be deployed in any channel, not necessarily the same as the main one.

caution
Pay special attention to the reply types used in your script. Errors may occur if you use replies which are not supported by the main channel.

Bot redeployment

Don’t forget to redeploy the monolingual bot channels when you make changes to their script. Redeploying the router bot channel is unnecessary.

tip
The need to redeploy the main channel may arise only when editing the router bot configuration, such as when you need to add support for new languages.