The bags coming from the production line are taken by a turning device that provides to put them on a conveyor belt for their following insertion into a carton. This belt transports them over the carton previously formed and inserts them in the set number by means of a retractable end. Once the set number is reached, the carton is brought towards a station for the settling of the products inside, so that they do not exit from the carton during the closing operation, which can be done manually or automatically