As an ambident nucleophile, controlling the reaction selectivities of nitrogen and oxygen atoms in amide moiety is a challenging issue in organic synthesis. Herein, we present a chemodivergent cycloisomerization approach to construct isoquinolinone and iminoisocoumarin skeletons fromo-alkenylbenzamide derivatives. The chemo-controllable strategy employed an exclusive 1,2-aryl migration/elimination cascade, enabled by different hypervalent iodine species generated in situ from the reaction of iodosobenzene (PhIO) with MeOH or 2,4,6-tris-isopropylbenzene sulfonic acid. DFT studies revealed that the nitrogen and oxygen atoms of the intermediates in the two reaction systems have different nucleophilicities and thus produce the selectivity of N or O-attack modes.