The invention relates to novel piperazine compounds of formula (I): to processes for their preparation; to pharmaceutical compositions containing the compounds; and to the use of the compounds in therapy to treat diseases for which blocking the Cav2.2 calcium channels is beneficial, i.e. in particular to treat pain.