Templates overview

Workflow execution can generate large quantities of information that may be extraneous to the task at hand. For example, when interacting with CLI-driven devices, workflows often receive extended responses in the form of command output. You may only need a few key pieces of data from such output — port number, port status, VLAN, and so on. Similar use cases arise when calling API endpoints. It becomes important to have a way to filter this data down to the essentials, especially when it is fed into downstream tasks in a workflow. Templates fulfill this function in Itential Platform.

In this section

  • Build templates — Create and test Jinja2 and TextFSM templates for use in workflow tasks.
  • Command templates — Send commands to devices and evaluate responses as pre- and post-checks.
  • Analytic templates — Compare Pre and Post command responses from earlier automation stages