Reaction SMILES: [OH:1][C:2]1[CH:7]=[CH:6][C:5]([NH:8][C:9](=[O:14])[C:10]([F:13])([F:12])[F:11])=[CH:4][CH:3]=1.C1(C)C=CC(S(O)(=O)=O)=CC=1.[O:26]1[CH:31]=[CH:30][CH2:29][CH2:28][CH2:27]1.C(=O)(O)[O-].[Na+]>C(Cl)Cl>[O:26]1[CH2:31][CH2:30][CH2:29][CH2:28][CH:27]1[O:1][C:2]1[CH:3]=[CH:4][C:5]([NH:8][C:9](=[O:14])[C:10]([F:11])([F:12])[F:13])=[CH:6][CH:7]=1
Reactant: O=C(Nc1ccc(O)cc1)C(F)(F)F
Reactant: C1=COCCC1
Agent: Cc1ccc(S(=O)(=O)O)cc1
Agent: O=C([O-])O
Agent: [Na+]
Solvent: ClCCl
Product: O=C(Nc1ccc(OC2CCCCO2)cc1)C(F)(F)F
Temperature: 25 °C
Yield: 87 %

Procedure:
To a solution of 109 g (1 mol) of p-aminophenol and 92.9 mL (1.15 mol) of pyridine in 1 L of t-butylmethylether at -10° was added 156 mL (1.1 mol) of trifluoroacetic anhydride. During addition the temperature was maintained below 0° C. After the addition was complete, the temperature was allowed to rise to 15° C., at which point a saturated solution of sodium chloride was added and the reaction stirred rapidly for 15 minutes. The layers were separated and the organic layer washed twice with saturated sodium chloride solution, dried over magnesium sulfate, and concentrated in vacuo to yield 194.1 g (95%) of N-(4-hydroxyphenyl)trifluoroacetamide. The 194 g (0.95 mol) of N-(4-hydroxyphenyl)trifluoroacetamide was slurried in 3 L of methylene chloride containing 500 mg of p-toluenesulfonic acid. The mixture was stirred at room temperature and 250 mL (2.73 mol) of dihydropyran was added dropwise over 30 minutes. The reaction was stirred 18 hours at room temperature and approximately 1 L of saturated sodium bicarbonate solution was added with vigorous stirring for 30 minutes. The methylene chloride layer was separated, dried over magnesium sulfate, and concentrated to yield a reddish solid which was recrystallized from about 400 mL of toluene to yield 239 g (87%) of N-[4-[(tetrahydropyran-2-yl)oxy]phenyl]trifluoroacetamide. The diprotected aminophenol (8.67 g, 0.03 mol) was dissolved in 60 mL of dry DMF and stirred vigorously with 12.4 g (0.09 mol) of milled potassium carbonate and 6.3 mL (0.075 mol) of 7-bromoheptanenitrile. The reaction was heated on a steam bath for 21/4 hours, then cooled, and a mixture of 50 mL of water, 30 mL of methanol and 15 g of potassium carbonate was added with stirring. The mixture was heated on a steam bath for one hour and then let stand 18 hours. The reaction was poured into water and extracted two times with ether. The ether layers were combined and washed with saturated sodium chloride solution three times, dried over magnesium sulfate, and concentrated in vacuo to yield 9.5 g (90%) of tetrahydropyranyl-protected 7-[(4-hydroxyphenyl)amino]heptanenitrile, containing less than 10% of 6-heptenenitrile. The alkylation was performed less satisfactorily using sodium hydride or cesium fluoride in place of milled potassium carbonate as the base, in which case a separate step using potassium carbonate in methanol-water was required to remove the trifluoroacetyl protecting group. The tetrahydropyranyl-protected product was stirred for one hour in 100 mL of 1.5N HCl. The reaction was washed with ether and the aqueous layer was slowly added to ice-cold, saturated sodium bicarbonate. The precipitate was washed with water and dried to yield 6.1 g of 7-[(4-hydroxyphenyl)amino]heptanenitrile.