search

How to Create a Multilingual Bot

If your website gets visitors who speak different languages, it’s a good idea to use the Multilanguage feature. That will translate the texts of the chat’s widget visible on your site. Check out our article on translating your chat’s widget to learn more.

You can also create a bot that will send automated messages in more than one language. In this case, the bot will detect the visitors’ browser default language and base its actions on that. A multilingual bot is another step in interacting with your customers all over the world!

Such a bot needs to have the ‘Language’ condition placed after its trigger, and before the rest of the content. The method can be used for every bot, as long as the condition is added and the paths connected properly. This article will show you how to configure it all step by step.


Adding the ‘Language’ condition

Firstly, to allow your bot to detect the visitor’s specific language preferences, you need to add the ‘Language’ condition. It can be found in the Conditions menu on the right.

Multilingual condition bot
An automated message sent to your website’s visitors during their first visit on-site – based on the visitor’s main web language

Once added, it’s time to adjust the ‘Language’ node and connect everything as needed. Below you can read about two different examples. When your bot just needs two language versions, and when it needs three or more.


  1. A Bot with Two languages
  2. A Bot with Three languages and more

A bot for two different languages

Click on the ‘Language’ condition and select a language that you want the bot to check for. In addition, select if you need the language to equal or not equal to a specific position from the list.

The bot can carry out two different actions depending on the visitor’s browser language. You can connect those actions by dragging the “yes” and “no” lines from the condition.

In the example below, the condition checks if the language is equal to Polish. Then it connects with the ‘Send a chat message’ action through a “yes” connection. As a result, the bot will send the custom Polish message if the detected language is Polish. There is a second message set up, connected with the “no” line. This message will be sent if the visitor is using any other language as the default in their browser. In the majority of cases, this is English.

Multilingual bot for two languages
You can choose if the message will be sent when a person has a polish language set up or when it does not

Naturally, your bot doesn’t have to be limited to just sending a single translated message; it can go much further and include many other nodes and connections, according to what you need. For the purposes of a multilingual bot, the only important thing is to use a properly set ‘Language’ condition. As well as creating two different paths for two different scenarios (“yes” and “no”). This will ensure that both groups of visitors receive similar (or identical) paths, the only difference being the translation.


A bot for three languages (or more)

When you want to create a bot that supports more than two languages – you just need to add more ‘Language’ conditions. Later, connect them similarly as before. In the example below, each additional condition checks if the visitor’s language is equal to a specific position from the list.

The bot from the example can send a message in Polish, Dutch, or Spanish – if that’s the visitor’s browser setting. If none of the languages is detected – the default message will be sent (in English, in this case).

Multilingual Bot Image
A bot with few languages that will be sent based on the main language of the visitor web browser

If you need your bot to include more language versions, you can add more ‘Language’ conditions in place of the English ‘Send a chat message’ action from the screenshot above. This way, you can create a bot that will be able to carry out actions based on many more languages!

If you have any questions regarding the Multilanguage bots, feel free to contact us via chat or at [email protected]

Can't find what you're looking for?

CONTACT SUPPORT