Magic Variables
“Define a hook once, refer to it as a magic variable; and reuse it forever…” Magic
variable is a mechanism that allows for a custom or pre-defined hook to be used as a
‘variable’ anywhere within the workflow automation process. Once a hook is defined and
is declared as a magic variable, it allows for reusability within forms across the
workflow.

Syntax to use magic variable:
- Provision to define a new magic variable.
- Provision to modify and delete a magic variable.
- Provision to use Static and Dynamic Hook types as magic variables:
- Static: Hooks which are static in nature can be referenced as magic variables. For example, Slack webhook, ITSM change ticket URL etc.
- Dynamic: Hooks that execute dynamically can be referenced as magic variables. For example, Query to get list of devices, Query to get list of unused VIPs, Query to get list of managed F5 devices etc.
- Provision to tag magic variables and search by tag names.
- Provision to import and export hooks and variables from one environment to another.

(~<magic_variable>~)
For example: (~get_f5_devices~).
Tip: You can type keywords to auto fill the variables
in the Form task.