updated flowEditor to push flows based on parameters in advanced template