Set Formulas for Revit Families

I am using DanEDU custom node Family.SetFormulaByName, the node works well but i have a big issue when it comes to “if” statements. I may be trying to use this node for something other than what it was intended for. i have a large list of parameters and formulas i would like to be able to push into existing families, I thought this node would be part of the solution, but it seems the syntax of “if” statements doesn’t work well in Dynamo.