[CH3:1][O:2][C:3]1[CH:4]=[C:5]2[C:9](=[CH:10][CH:11]=1)[N:8]([CH2:12][CH2:13][CH2:14][CH2:15]Cl)[CH:7]=[C:6]2[CH:17]=[O:18].[I-:19].[Na+]>C(#N)C>[CH3:1][O:2][C:3]1[CH:4]=[C:5]2[C:9](=[CH:10][CH:11]=1)[N:8]([CH2:12][CH2:13][CH2:14][CH2:15][I:19])[CH:7]=[C:6]2[CH:17]=[O:18]A stirred solution of 5-methoxy-1-(4-chlorobutyl)indole-3-carboxaldehyde and sodium iodide in acetonitrile under argon is heated under reflux for 18 h, cooled to room temperature and partitioned between ether and water. The combined organic extracts are washed (aqueous sodium metabisulfite solution, water, brine), dried (sodium sulfate) and concentrated in vacuo to give the product.