The present invention relates to azaspiro derivatives of the formula (I) or a pharmaceutically acceptable salt thereof or a prodrug thereof, processes for their preparation, pharmaceutical compositions containing them and their use in the treatment of various disorders which are mediated via the TRPM8 receptor.本發明係關於化學式(I)的氮雜螺衍生物或其藥學上可接受的鹽或其前驅藥物、製備該等之方法、含有該等之藥學組合物、以及該等在治療由TRPM8受體介導之各種病症中之用途。