Set up flow type