The disclosure relates to spiro-indoline-piperidine compounds of the formula (I), pharmaceutically acceptable salt thereof as well as a pharmaceutical composition, wherein the variables are as defined in the specification. These spiropiperidine compounds are selective GPR-40 activators and are suitable for treating diabetes.