Text bot response control
-
- UpdatedAug 3, 2023
- 3 minutes to read
- Vancouver
- Virtual Agent
Use the Text bot response control in a Virtual Agent topic to display a bot response as text. You can format the Text bot responses using the text editor controls. For example, you can bold or italicize the text, as well as include links, bulleted lists, and emojis.
Text bot response properties
Property | Description |
---|---|
Node name | Name that identifies this Text bot response node in the topic flow. |
Response message | The Text bot response to the user. The response can be one of the following:
You can format the text messages using the text editor controls. For example, you can use the icons on the Response Message field to bold or italicize the text, as well as include links, bulleted lists, numbered lists, and emojis. You can also include an input variable, such as a temporary password, in the response message. To include a link, do one of the following:
Fill in the fields in the Confirmation window. Enter the text to use as the link, and then enter the URL in the Link field. Enter the display label for the link and a static URL, or use the data pill picker to create a dynamic URL. |
Add alternate message | Add one or more alternate response messages for the user. Virtual Agent randomly chooses one of your responses for each conversation. |
Advanced | |
Make this response secure | |
Enable | When enabled, the bot response is displayed to the user, but thereafter securely masked and not viewable by others. |
Hide this node | |
Conditionally show this node if | A no-code condition statement or low-code script that specifies a condition for presenting this node in the conversation. The condition must evaluate to true. |
Channel support
Example Text bot response script
In this example, the script returns a string that greets the user. The gs.getUser().getFirstName() property is used to append the first name of the current user.
In this example, the script returns links to three instances in the response. Use Markdown to include multiple links in the script.
Example Text bot response control
Response properties | Text bot response output |
---|---|
![]() |
![]() |