smart-flow