A machine for making packages containing liquid or creamy products, the package being prismatic triangular in shape, when formed, and having an upper face and a lower face which are triangular in shape, a rear face and a first and second lateral face for joining and connecting the upper and lower faces; the machine being characterised in that it comprises: - a station for punching and forming a first flat blank defining the upper face, the lower face and the rear face of the package when the package is formed; - a station for punching and creasing for the formation of a second flat blank defining the first and the second lateral face of the package, when the package is formed; the second blank having at least one notch of partial transversal separation between the first and the second lateral face; - a station for assembling the first blank with the second blank to obtain the formed package and to close the package with the at least one notch between the first and the second lateral face, positioned in the form of a "V", to form an edge of the package when formed; - a transport unit, movable along a feed direction, and configured to receive the package from the assembly station and position the package with the edge perpendicular to the feed direction, at least along an operating section; - a station for opening the edge of the package and filling the package with a dose of the product fed through the open edge of the package; the station for opening and filling being positioned along the operating section of the transport unit; - a station for sealing the edge of the package formed and filled with the product; the sealing station being positioned downstream of the opening and filling station with respect to a feed direction of the packages along the feed direction. - a station for punching and forming a first flat blank defining the upper face, the lower face and the rear face of the package when the package is formed; - a station for punching and creasing for the formation of a second flat blank defining the first and the second lateral face of the package, when the package is formed; the second blank having at least one notch of partial transversal separation between the first and the second lateral face; - a station for assembling the first blank with the second blank to obtain the formed package and to close the package with the at least one notch between the first and the second lateral face, positioned in the form of a "V", to form an edge of the package when formed; - a transport unit, movable along a feed direction, and configured to receive the package from the assembly station and position the package with the edge perpendicular to the feed direction, at least along an operating section; - a station for opening the edge of the package and filling the package with a dose of the product fed through the open edge of the package; the station for opening and filling being positioned along the operating section of the transport unit; - a station for sealing the edge of the package formed and filled with the product; the sealing station being positioned downstream of the opening and filling station with respect to a feed direction of the packages along the feed direction.