Template expressions appear in step inputs values wherever you need dynamic data. The path inside the braces resolves against all variables that are in scope: inputs, variables, and the outputs of completed steps.
inputs
variables