Abstract The reaction of piperidine, morpholine, piperazine or dimethylamine with several coumarins, 3-bromocoumarin, 4, 6-diaryl-2H-pyran-2-ones and 3-bromo-4, 6-diaryl-2H- thiopyran-2-ones gave o-hydroxycinnamic acid amides, benzofurans, open-chain δ- oxoamides and thiophene derivatives, respectively.