Content - Text
  • 16 May 2024
  • 1 Minute to read
  • PDF

Content - Text

  • PDF

Article summary

The Text content is one of the most important piece of content that you will use. Those are the textual sentences that your chatbot sends to your user. Refer the sample screenshot below:

Figure: Text content

Note:
HTML in the text content is rendered correctly on the web channel. You can include iFrames and construct miniature web pages (or web views) in your content without creating custom components.

Add a Text in a Node

  1. In the Flow Editor, click the node where you want to add your text.
  2. Choose where to put your text: On Enter, On Receive, or Transitions.
  3. Click +.
  4. Under Message, click the box.
    1. In the Pick Content dialog, under Search In, select Text.
    2. You can either:
      1. Select an existing text in the list.
        Note:
        This will take directly to step 5.
      2. Type a new text in the Search Text bar.
    3. Click Create new Text.
    4. A new window will be displayed where you can modify the following options:
      1. The Add Alternates button.
      2. The Use markdown radio button.
      3. The Show typing indicators radio button.
    5. Click Submit.
  5. Click Add Action (Alt+Enter).

Options

When adding a Text content, you can modify some options:

Note:
When hovering a box where you can type, the </> symbol appears. This button helps you easily insert variables within your message. When you click it, it shows a list of variables that you can use such as temp., user., session., or event..

Alternates

Alternates are different sentences that mean exactly the same as the original text. Those will be sent randomly to your users.

Adding alternates is easy. You just have to click Add Alternates and you will be able to write as many alternates as you want in the boxes.

You can use the trash icon to delete your alternate(s) whenever you want.

Best Practice
Adding alternates is recommended since it makes your chatbot more user-friendly. The more alternates you have, the more your chatbot looks "human".

Use Markdown

The radio button is checked by default. You can uncheck it.

You can use markdown, which is a markup syntax that allows you to easily add formatting and style to your text.

Best Practice
Ensure that the target channel can render this text.

Show Typing Indicators

The radio button is checked by default. You can uncheck it.

When your user is chatting with the chatbot, they will see the icon  (a bubble with three moving dots) while the chatbot is "typing" before receiving an answer.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.