Skip to main content

Text block

Use this block if you want your bot to display a text bubble in the chat with the user.

caution
In scripts for calls, use the Text-to-speech block instead of the Text block.

Parameters

You can specify one or more lines (replies) in the block parameters to be displayed by the bot to the user.

You can click “Add another reply” to specify another line a bot can select. The bot will randomly choose one of the messages from this block and display it to the user.

Using variable

You can use variables in the text the bot displays. For example, in the Hello, $Name! line the bot will replace $Name with the Name value before sending this message to the user.

You can also use several variables in the Bot says field.

caution
Add each variable on a new line. If you add several variables on the same line, the error will appear when you try deploying the bot.

Multiple subsequent texts

You can put multiple Text blocks one after another. The bot will then display multiple bubbles one after another or combine the messages into one big bubble depending on the channel it operates in.

HTML markup

You can use HTML markup in the bot messages. To do this, activate the Use HTML markup in the message toggle.

caution
Not all channels support HTML markup. Learn more about this in the HTML markup article.

Length restrictions in the Text block

The number of characters in the Text block is restricted. A single Text block in Tovie DialogStudio may contain up to 500 characters. However, one screen can contain multiple Text blocks.

Any additional restrictions depend on the channel where you publish your bot.

Length restrictions by channels

  • Telegram — 4096 characters