wie am Schnürchen

Etymology
lit. 'like on a string/on strings', suggesting that everything works as though controlled by a marionette player.

Prepositional phrase

 * 1)  just as planned; without a hitch; like clockwork