Execute Templating Script

Description

This action is only available on Templating V2 flows.

The Execute Templating Script action allows you to execute a Liquid script. See Templating V2 for more information about Liquid and Templating V2 scripting.

Usage

This action is used to make scripting easier and cleaner removing the need to have additional scripting logic mixed with data inside actions.

An example of a script is shown below:

Execute Templating

Then these variables can be used in subsequent actions, for example, an HTTP Request action:

Execute Templating

Additionally, the output of this action is the rendered template which is useful for debugging purposes as you can print values in the resulting template.

Execute Templating