Even before the puppet has a human-like form, Geppetto gives him a name: "I'll call him Pinocchio". In effect, Geppetto ensouls Pinocchio from the start.