Provided herein are sodium channel modulating Compounds, in particular NaV1.7 modulating compounds of Formula I or compounds of Formula I′: In particular, provided herein are processes for the preparation of, intermediates used in the preparation of, pharmaceutical compositions comprising, and therapeutic methods comprising administering such compounds. In particular, provided herein are compounds for the treatment of pain and diabetes.