What's the noun for automatism? Here's the word you're looking for.
automatism
Acting automatically or involuntarily.
(psychology) An action performed subconsciously, without any apparent direction from the mind; a thought which appears spontaneously in one's consciousness.
A surrealist painting technique whereby one attempts to move the brush, pen etc. without conscious control over it.