Automation Studio

On this page:


Template Builder allows you to parse command responses in your workflows using pre-built or custom templates. The application takes text input in the Console area and parses it in real-time against a template in the Template area. Template Builder returns the parsed results in the Response area as a data table. By parsing complex data that is normally verified by manual interaction, you have real-time information to make better decisions about your system.

Note: Itential Automation Platform (IAP) is compatible with several third-party software products for network operating environments. Beginning with the system requirements for 2019.1.2, all third-party software version compatibility is documented in Release Notes. To get the most up-to-date requirements for any third-party software, including open source, first identify which IAP release you are using and then refer to the respective release note.

Create templates


The Console and Template areas are parsed in real-time against your templates to give instant feedback about what is working and what is not.

Template Builder has over 200 ready-to-use templates based on the most common device commands. Use these templates to parse command responses in your workflows.

Application Interface

This section provides a quick walk-through of the Template Builder interface.

Note: For information on how to import, export and delete Templates, see the Automation Studio Overview.

Main View

Main UI overview

Label UI Element Function
1 Create New Template Displays a dialog for creating a new template.
2 View Collection Overview of all templates with advanced features such as searching and import/export.
3 Navigation A quick view of all available templates. Each template is divided into a custom group, usually based on the device type. You can click on any template to view it in the main canvas (right of left menu).
4 Data The Data area serves as a way to test your template against a typical text response you would expect. This text will be parsed by your template and the output will be displayed in the Response area below. Any text can be parsed by TextFSM; if Jinja2 is selected, then JSON is required. The most common use case is to parse CLI response text since it usually does not provide a system level response that can be parsed.
5 Template The Template area contains the TextFSM (or Jinja2) template that will parse your console text. Use the prebuilt templates to modify the TextFSM template; you can also use it as a guide to write your own custom template. As you make modifications to the template, the Response area will update with the data object from TextFSM (or Jinja2).
6 Response Output from the template engine TextFSM or Jinja2 parsing is displayed in the Response area in the form of a data table. This response can be used in workflows in the form of an object.
7 Settings Menu Displays the settings for the selected template (see below).
8 Options Menu Displays options such as cloning, deleting, and exporting.

Template Settings

Main UI overview - template settings

Label UI Element Function
1 Command Allows you to specify the command the template should run against (TextFSM only).
2 Template Type Allows you to select the parsing type (TextFSM or Jinja2).
3 Name Enter the name of your template. System templates use a combination of the template group and the command field for their name.
4 Group Used to group your templates into collections. This allows you to easily find the most relevant templates you may later need.


TextFSM can be difficult to understand at first but if you use existing templates as your guide, you can become more familiar with how they work. With the real-time TextFSM engine, you can see how your response is updated when the Template or Console text is modified. You can copy/paste example templates into Template Builder and modify the value/state definitions to create a custom file.

Note: For more detailed information on TextFSM, refer to following wiki on GitHub: Google TextFSM Wiki.