Ethyl imidate hydrochlorides 1 were prepared by passing HCl gas through solutions of substituted benzyl cyanides and absolute ethanol. Ethoxycarbonylhydrazones 2 were synthesized from the reaction of compounds 1 with ethyl carbazate. Treatment of 2 with hydrazine hydrate leads to the formation of substituted 4-amino-4,5-dihydro-1H-1,2,4-triazole-5-ones 3. Isatin and 5-chloroisatin were added to 3 to form Schiff bases 4 and N-Mannich bases 5 of these compounds were synthesized by reacting with formaldehyde and piperidine. Their chemical structures were confirmed by means of IR, H-1- and C-13-NMR data and by elemental analysis.