Résumé : The use of a supramolecular protecting molecular container, whose host-guest properties are under acid–base control, enables the functionalization with high chemo-, regio- and iteroselectivities of polyamines in a one-pot cyclic process.