The present invention relates to a compound represented by formula (I) and pharmaceutically acceptable salts thereof are disclosed as useful for treating or preventing diabetes, hyperlipidemia, obesity, NASH, inflammation related disorders, and related diseases and conditions. The compounds are useful as agonists of the G-protein coupled receptor GPR120. Pharmaceutical compositions and methods of treatment are also included.