A general approach to aza-heterocycles by means of domino sequences driven by hydroformylation.