For anyone arriving here looking for an answer, this is how I use Functions in workflows now
Functions