one-pot sequence of N-alkylation, saponification and methoxyamidation, and final intramolecular oxidative C–N bond formation. The underpinning of the strategy entails Pd(OAc)2/Cu(OAc)2-mediated oxidative C(sp2)–C(sp2) bond formation and I(III)-mediated oxidative C(sp2)–N bond formation.