Content - Text
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.
info
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
- In the Flow Editor, click the node where you want to add your text.
- Choose where to put your text: On Enter, On Receive, or Transitions.
- Click the + button.
- Under Message, click the box.
- In the Pick Content dialog, under Search In, select Text.
- You can either:
- Select an existing text in the list.
info
This will bring you directly to step 5.
- Type a new text in the Search Text bar.
- Select an existing text in the list.
- Click Create new Text.
- A new window will be displayed where you can modify the following options:
- The Add Alternates button.
- The Use markdown radio button.
- The Show typing indicators radio button.
- Click Submit.
- Click Add Action (Alt+Enter).
Options
When adding a Text content, you can modify some options:
tip
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.