Alkylation of 5-fluoroindole (I) with 4-fluorobenzyl chloride (II) provided the N-benzyl indole (III). Subsequent reaction of (III) with oxalyl chloride furnished the indolylglyoxylic acid chloride (IV). This was finally coupled with 4-amino-3,5-dichloropyridine (V) to afford the corresponding amide.