A straightforward and practical method for the synthesis of 4-aryl-NH-1,2,3-triazoles and of quinoxalines is described. This method provides a new approach to prepare various N-containing heterocycles, using mesoporous polymer based on tragacanth gum (TG) and polysulfonamide (TG-PSSA-co-ACA). The notable advantages of TG-PSSA-co-ACA organo-catalyst are non-toxic, inexpensive, high surface area, and recyclability.