The present invention features processes for preparing compounds, such as (R)-1-(2,2-difluorobenzo[d][1,3]dioxol-5-yl)-N-(1-(2,3-dihydroxypropyl)-6-fluoro-2-(1-hydroxy-2-methylpropan-2-yl)-1H-indol-5-yl)cyclopropanecarboxamide(Compound 1), useful for treating CFTR mediated diseases such as cystic fibrosis.本發明提供製備諸如(R)-1-(2,2-二氟苯并[d][1,3]二氧雜環戊烯-5-基)-N-(1-(2,3-二羥基丙基)-6-氟-2-(1-羥基-2-甲基丙-2-基)-1H-吲哚-5-基)環丙烷甲醯胺(化合物1)之化合物的方法,該等化合物可用於治療CFTR介導性疾病,諸如囊腫性纖維化。