Filled in SyncFlows decision logic