Alkylation of N-Boc-piperazine (I) with bromoacetal (II) provided piperazine acetal (III). This was submitted to Fisher cyclization with 4-(1,2,4-triazol-4-yl)phenyl hydrazine (IV) in aqueous H2SO4 to afford the deprotected indole (V). Wittig reaction of 3-fluorobenzaldehyde (VII) with phosphorane prepared from (methoxymethyl)phosphonium salt (VI) and PhLi furnished the methoxyvinyl compound (VIII) as an E:Z mixture. Subsequent acid hydrolysis of the enol ether function of (VIII) yielded aldehyde (IX). The target compound was then obtained by reductive alkylation of piperazine (V) with aldehyde (IX) in the presence of NaBH3CN.