The invention relates to pyrrolopyrazine-spirocyclic piperidine amide compounds useful as inhibitors of ion channels. The invention also provides pharmaceutically acceptable compositions comprising the compounds of the invention and methods of using the compositions in the treatment of various disorders.本發明係關於適用作離子通道抑制劑之吡咯并吡-螺環哌啶醯胺化合物。本發明亦提供包含本發明之化合物的醫藥學上可接受之組合物及使用該等組合物治療各種病症之方法。