where in the brain is the impulse received?
You need to know that all sensory inputs are processed in specialized regions of human brain,cerebrum, cerebellum and brainstem, and then, the interpreted information, under the form of a neural impulse is carried out by the motor neurons. The processed information is the response to the sensory inputs from the surrounding environment.
Hence, the different specialized areas into our brain are the host and the laboratory where the classified inputs received from environment are prepared and then sent as a voluntary or involuntary output. You also need to know that multiple areas of the brain must work together to direct the body functions.