Tandem C-2 functionalization-intramolecular azide-alkyne 1,3-dipolar cycloaddition reaction: a convenient route to highly diversified 9H-benzo[b]pyrrolo[1,2-g][1,2,3]triazolo[1,5-d][1,4]diazepines.