We have described a convenient regioselective one-pot approach to pyrazolo [1, 5-a]-and imidazo [1, 2-a] pyrimidine derivatives from α, β-unsaturated imines generated in situ and amino heterocycles. Reaction is general with respect to all three components, namely (i) ...