4.2.2. General Procedure for the Synthesis of Compound **7**

To a solution of compound 5 (0.001 mol) in absolute ethanol (50 mL) containing a few drops of glacial acetic acid, (0.001 mol) of 5-methoxy-1*H*-indole-3-carbaldehyde **6** was added. The reaction mixture was heated to reflux for 2 h. The TLC test was used to keep track of the reaction's progress. Under reduced pressure, the solvent was evaporated after the reaction was completed. The obtained powder was collected and recrystallized from ethanol to furnish the pure form of compound **7**.

*(Z)-N-(4-(2-((5-Methoxy-1H-indol-3-yl)methylene)hydrazine-1-carbonyl)phenyl) benzamide***.**

Off-white crystal (yield, 84%); m. p. = 257–259 ◦C; IR (KBr) *ν* cm<sup>−</sup>1: 3287 (NH), 3093 and 3050 (CH aromatic), 2996 and 2956 (CH aliphatic), 1645 (C=O); 1H NMR (400 MHz, DMSO-d6) *δ* 11.48 (s, 2H), 10.53 (s, 1H), 8.62 (s, 1H), 7.99 (d, *J* = 8.2,Hz, 2H), 7.96 (m, 4H), 7.88 (d, *J* = 2.5 Hz, 1H), 7.79 (d, *J* = 2.4 Hz, 1H), 7.68–7.61 (m, 1H), 7.58 (d, *J* = 8.2, 2H), 7.36 (d, *J* = 8.8 Hz, 1H), 6.88 (dd, *J* = 8.8, 2.4 Hz, 1H), 3.82 (s, 3H); 13C NMR (101 MHz, DMSO-*d*6) *δ* 166.34, 162.36, 154.88, 145.25, 142.42, 135.17, 132.49, 132.31, 131.02, 129.29, 128.95 (2C), 128.67, 128.25 (2C), 125.46, 119.99 (2C), 119.11, 112.90, 112.71, 112.01, 104.67, 55.80, for C24H20N4O3 (412.45).
