scaleLinear helper wont accept payload data

trying to use the {{scaleLinear}} helper in a math node but no luck. If I try to use a value from my payload data, {{Volume}} for example results in a error on the node. Actual values work {{scaleLinear 4000 20000 0 21650 6000}} but {{scaleLinear 4000 20000 0 {{data.Volume}} 6000} will not.

You don’t need to wrap the variable within the helper in brackets; that’s probably the cause of your error.

If you use the Template Tester that’s built into the workflow editor, you’ll get better feedback when invalid syntax is provided.