The invention is concerned with the compounds of formula I or II: and salts thereof. In addition, the present invention relates to methods of manufacturing and methods of using the compounds of formula I or II as well as pharmaceutical compositions containing such compounds. The compounds may be useful in treating diseases and conditions mediated by TRPA1, such as pain.