Preparing workflow