From Clouds to Young Stellar Objects and back again: the all-in-one view from the Herschel infrared Galactic Plane Survey