Fluorinated arylalkylaminocarboxamide derivatives of formula (I) are described wherein W, J, n, R1, R2, R2′, R3, R4, R5 and R6 have the meanings as defined in the specification and pharmaceutically salts thereof, pharmaceutical compositions containing them as active ingredients and their use as sodium and/or calcium channel modulators useful in preventing, alleviating and curing a wide range of pathologies, including neurological, psychiatric, cardiovascular, inflammatory, ophthalmic, urolological, and gastrointestinal diseases, where the above mechanisms have been described as playing a pathological role.