Variables may be used wherever the Variable Picker is available:

The syntax to use is ${variableName}. Use the
picker to insert a variable or follow the auto-fill suggestion as you type
in the box.

Variable names themselves also may be dynamic. For example, if the
counter variable's value is 1, then
${product_${counter}} is equivalent to
${product_1}.