Additional reactant: ammonium acetate.
SMARTS: [C;$(C-c1ccccc1):1](=[OD1])-[C;D3;$(C-c1ccccc1):2]~[O;D1,H1].[CH1;$(C-c):3]=[OD1]>>[C:1]1-N=[C:3]-[NH1]-[C:2]=1
Conditions
Reactant 1: can be keto or hydroxy.
Reactant 2: aldehyde connected to any aromatic system system..
References
S. A. Siddiqui, U. C. Narkhede, S. S. Palimkar, T. Daniel, R. J. Lahoti, K. V. Srinivasan,
Tetrahedron,
2005, 61, 3539-3546.
Other sources
Organic chemistry