An automaton is designed to have moving parts using cams or gears, levers and linkages.
Cams and Cam Followers
Common designs use a cam and cam follower to create specific movements. The different shapes of the cams create different movements as they are turned.
Plan
Plan your automata. What do you want it to do. Sketch it out.