A system (102, 802) for filling an open top box (121, 521) with triangular prism shaped packages (105 - 109, 400, 119, 120, 519, 520, 617, 805-809); said packages comprising a first and second triangular base and a first, second and third face; said system further comprising: - an infeed conveyor belt adapted to supply said packages towards a flipping platform; and wherein said packages are positioned on said infeed conveyor belt with said triangular base vertical and with said first face on said conveyor belt; - said flipping platform adapted to be arranged in a first and second position and comprising: o a bottom support adapted to accept a plurality of said packages from said infeed conveyor belt in said first position thereby forming a set of packages, thereby supporting said set by said first face and exposing said third face of said set; o a rotatable plate adapted to rotate together with said set from a position aligned with said second face of said set when in said first position to a position in which said rotatable plate supports said set by said second face and exposes said first face when in said second position; - a robotic arm comprising engagement means adapted to: o releasably pick said set from said flipping platform by said third face when in said first position, and by said first face when in said second position; and o position and release said set in said open top box (121, 521). - an infeed conveyor belt adapted to supply said packages towards a flipping platform; and wherein said packages are positioned on said infeed conveyor belt with said triangular base vertical and with said first face on said conveyor belt; - said flipping platform adapted to be arranged in a first and second position and comprising: o a bottom support adapted to accept a plurality of said packages from said infeed conveyor belt in said first position thereby forming a set of packages, thereby supporting said set by said first face and exposing said third face of said set; o a rotatable plate adapted to rotate together with said set from a position aligned with said second face of said set when in said first position to a position in which said rotatable plate supports said set by said second face and exposes said first face when in said second position; o a bottom support adapted to accept a plurality of said packages from said infeed conveyor belt in said first position thereby forming a set of packages, thereby supporting said set by said first face and exposing said third face of said set; o a rotatable plate adapted to rotate together with said set from a position aligned with said second face of said set when in said first position to a position in which said rotatable plate supports said set by said second face and exposes said first face when in said second position; - a robotic arm comprising engagement means adapted to: o releasably pick said set from said flipping platform by said third face when in said first position, and by said first face when in said second position; and o position and release said set in said open top box (121, 521). o releasably pick said set from said flipping platform by said third face when in said first position, and by said first face when in said second position; and o position and release said set in said open top box (121, 521).