Functionalized indoles and tryptophans can be obtained from stannylated alkenes and o-iodoanilines via Stille coupling. Subsequent azidation and photochemical nitrene generation results in the formation of the heterocyclic ring systems via C–H insertion.
