Skip to main content
It’s often the case that you may want to parameterize an Automation — for example, if you are building an automated analysis and want it to be modular with respect to the date. This is enabled through the variables key.

Basic variables

Simple variables can be defined as key-value pairs:
Variables can be referenced within task fields using Jinja syntax:

Typed variables with JSON Schema

For better validation and documentation, you can define variables using JSON Schema:

Passing variables to tasks

Variables can be passed to different task types:

Agent tasks

SQL tasks

Semantic query tasks

Global variables

Variables can reference global semantics values:
See the Semantic Model for more information.

Next steps

Task types

The tasks these variables feed into

Loops

Iterate over parameterized values