The present invention relates to phenyl-substituted heterocyclyl derivatives of the formula (I), wherein Z, n, m, R1, R2, R3, R4, R5, R6, R7 and R8 are as described in the description and their use as prostaglandin receptor modulators, most particularly as prostaglandin D2 receptor modulators, in the treatment of various prostaglandin-mediated diseases and disorders, to pharmaceutical compositions containing these compounds and to processes for their preparation.本發明係關於式(I)之經苯基取代之雜環衍生物,其中Z、n、m、R1、R2、R3、R4、R5、R6、R7及R8如本說明書中所述,及其作為前列腺素受體調節劑,最特定言之作為前列腺素D2受體調節劑在治療各種前列腺素介導之疾病及病症中之用途,含有此等化合物之醫藥組合物及其製備方法。