The purpose of the present invention is to provide a compound that can be useful for prevention of, or therapy for, constipation and the like. The present invention provides: a compound represented by formula (I) (refer to the description for the meanings of the symbols in the formula); or a salt thereof.L'invention a pour objet de fournir un composé qui peut se révéler avantageux pour la prévention ou le traitement de la constipation, ou similaire. Plus précisément, l'invention fournit un composé représenté par la formule (I) [chaque symbole dans la formule est tel que défini dans la description] ou par un sel de celui-ci.本発明は、便秘等の予防または治療に有用であり得る化合物を提供することを目的とする。本発明は、下記式(I):[式中の各記号は明細書に記載の通りである。]で表される化合物またはその塩を提供する。