Text Snippets
How to create and manage text snippets
Last updated
How to create and manage text snippets
Last updated
Text snippets are versatile blocks of reusable text that can be seamlessly integrated into different parts of your conversation. They serve as valuable components of the chatbot's responses (prompts) to user inputs and can be referenced in various sections of your conversation flow. This enables you to efficiently reuse the same text in multiple ways throughout your conversation, promoting consistency and ease of management.
The following is an example of a text snippet window:
Click on each tab for a description of the elements displayed above:
The name of the text snippet.
Note: Text snippet names should not start with a number to ensure functionality and cannot be changed once created; to rename, delete the existing snippet and create a new one with the desired name.
Click here to learn more about what else the JavaScript fields have to offer.
The following describes how to perform common actions with your text snippets:
Strategy | Functionality |
---|---|
Click the button, displayed at the top-right of your screen.
Rename your text snippet in the field.
Click the button, or press Enter.
Search for a text snippet by typing in the search bar, displayed at the top-right of your screen.
Cyclical
Picks through the list one by one until the last entry is reached. After that, it will start over with the first entry.
If no strategy is specified, the default strategy will be used.
Ordered
Iterates through a list of possible entries, selecting one at a time until the last item on the list is reached. Following this, the last entry in the list will be returned.
Random
Chooses one item at random from a list of possible options.