Just a quick hint:Avoïd too complex personnalization code in your deliveryLess works MTA will have to process for one delivery part, better it will beSo, in your case, 2 ways to implement this correctly with a segment Code:1- you do not have any throughput issue and you want to factorize most things...