flow from app to cloud + sweep functionality