N,N-Dimethylformamide was reacted with hexamethyldisilazane to generate an N,N-dimethylformimidamide intermediate; thereafter, a reaction with acetophenones/β-diketones was induced to form enaminones. The one-pot synthetic protocol described in this paper can be applied to synthesize 1,4-disubstituted 1,2,3-triazoles and 1,4,5-trisubstituted 1,2,3-triazoles, in which organic azides are used as substrates under optimized conditions. Furthermore, this protocol uses readily available materials, is nearly free of solvent, can be applied to gram-scale operations, and leads to the formation of structurally diverse products with favorable yields.