Workflows
AMS templates contain some features that assist in making more complicated forms and process. Visibility rules allow you to control when a field is shown to the user and link conditionals can change the destination of a link command depending on information in the message.
Visibility Rules
See Setting Visibility Rules.
Link Commands
In addition to link commands just taking the user from one card to another, they can also take you to another template or a different card or template based on a condition. See Template Commands.