A one-pot protocol for the diversity oriented synthesis of two N-polyheterocycles indoloazepinobenzimidazole and benzimidazotriazolobenzodiazepine from a common N(1)-alkyne-1,2-diamine building block is described. The approach involves sequential formation of benzimidazole through cyclocondensation and oxidation, which is followed by the formation of either an azepine ring (through alkyne activation and 6-endo-dig cyclization, 1,2-migration with ring expansion, and re-aromatization), or diazepine and triazole rings through 1,3-dipolar cycloaddition.