Here you will learn about other methods used within the Botmaker platform.
We use Freemarker as a "template engine" for bot responses. You can get more information at the following link: Freemarker. We have certain functions written in this technology to facilitate common tasks, such as shortening URLs. In order to use it in sending a template, you must include this text within a variable:
We use regular expressions to validate data entered by the client. Also, to find a certain combination of characters to trigger events or store that information in variables. You can get more information at the following link: Regular Expressions. An example of its use is to trigger the regular expression (.*) which refers to anything the client says.
Both functionalities can be combined with each other for different purposes. An example of this is to search for a code or word in the client's message to save it in a variable, so that we can work with it later.
Written by Botmaker
Updated: 02/09/24