Two distinct TMSOTf-catalyzed annulation reactions between ynamides and 1,2-benzisothiazoles have been developed. The direction of the reaction could be easily switched by applying different thermodynamic-controlled conditions. At room temperature, ynamides undergo a [5 + 2] annulation reaction with 1,2-benzisothiazoles to afford 1,4-benzothiazepines, whereas under heating conditions a desulfurizative annulation reaction proceeds well to access 3-aminoisoquinolines. These two protocols provide biologically important 1,4-benzothiazepines and 3-aminoisoquinolines with high efficiency with broad substrate scopes under mild reaction conditions.