A novel pyrrolopyridine derivative which is a compound represented by the
formula
wherein Ring A represents an optionally substituted pyridine ring; X
represents an electron-attracting group; Y represents an optionally
substituted divalent C.sub.1-6 chain hydrocarbon group; R.sup.1
represents an optionally substituted hydrocarbon group; and R.sup.2 and
R.sup.3 each independently represents hydrogen, an optionally substituted
hydrocarbon group or an optionally-substituted heterocyclic group, or
R.sup.2 and R.sup.3 may form an optionally substituted ring in
cooperation with the adjacent nitrogen atom, or a salt of the compound.
The pyrrolopyridine derivative has vanilloid receptor agonist activity
and is useful as medicines such as a preventive/therapeutic agent and
analgesic for overactive bladder.