Logo

Quantamental Workflows

Easily Design and Automate Workflows

How to use text templates

 
The built-in text editor has a built-in text template engine which enables you to generate dynamic texts out of previous user inputs if you saved them into corresponding variables.
 
Here is how it works:
 
Whenever you ask the user for input using Input Text step type, you can save it into a named variable. Let’s assume that you asked the user for her name, then saved her input input into a name variable. If the users says you that her name is Mary, then name equals Mary
 
From this moment, you can type {{name}} anywhere in descriptions or text outputs and see it automatically replaced with Mary.
 
The template engine actually has even more features than that but we will need them later, for more advanced step types.