Method for the automated production of a winding of a stator of a rotary electric machine, wherein the winding consists of a plurality of coils and the stator has a laminated stack with grooves, through which turns of the coils of the winding run, wherein - a plurality of conductor bundles of conductors (1 to 6, A to F) which are straight, parallel to one another and electrically insulated from one another and which are each longer than a groove are produced, wherein the conductors (1 to 6, A to F) of a conductor bundle are electrically isolated from one another and from the laminated stack by a ceramic material in the whole region which is introduced into a groove, - each conductor bundle is introduced into a groove of the stator, so that both conductor ends of each conductor (1 to 6, A to F) project out of the groove, - and conductor ends of the conductors (1 to 6, A to F) are electrically connected to coils of the winding at both axial laminated stack ends of the laminated stack by a winding overhang in each case, - wherein to produce a conductor bundle - either an insulating hollow body or an insulating hollow body block with through-holes for the conductors (1 to 6, A to F) is produced for each conductor (1 to 6, A to F) and is cast homogeneously and without air bubbles for the fabrication of the conductors (1 to 6, A to F) using an electrically conductive material, - or conductor bars which are longer than a groove are produced, and are introduced spaced apart from one another into a blank mould which has the same length as a groove, so that the conductor ends of the conductor bars project out of the blank mould on both sides, and for the electrical insulation of the conductor bars the blank mould is filled with an electrically insulating material and is removed after the insulation material has hardened. - a plurality of conductor bundles of conductors (1 to 6, A to F) which are straight, parallel to one another and electrically insulated from one another and which are each longer than a groove are produced, wherein the conductors (1 to 6, A to F) of a conductor bundle are electrically isolated from one another and from the laminated stack by a ceramic material in the whole region which is introduced into a groove, - each conductor bundle is introduced into a groove of the stator, so that both conductor ends of each conductor (1 to 6, A to F) project out of the groove, - and conductor ends of the conductors (1 to 6, A to F) are electrically connected to coils of the winding at both axial laminated stack ends of the laminated stack by a winding overhang in each case, - wherein to produce a conductor bundle - either an insulating hollow body or an insulating hollow body block with through-holes for the conductors (1 to 6, A to F) is produced for each conductor (1 to 6, A to F) and is cast homogeneously and without air bubbles for the fabrication of the conductors (1 to 6, A to F) using an electrically conductive material, - or conductor bars which are longer than a groove are produced, and are introduced spaced apart from one another into a blank mould which has the same length as a groove, so that the conductor ends of the conductor bars project out of the blank mould on both sides, and for the electrical insulation of the conductor bars the blank mould is filled with an electrically insulating material and is removed after the insulation material has hardened. - either an insulating hollow body or an insulating hollow body block with through-holes for the conductors (1 to 6, A to F) is produced for each conductor (1 to 6, A to F) and is cast homogeneously and without air bubbles for the fabrication of the conductors (1 to 6, A to F) using an electrically conductive material, - or conductor bars which are longer than a groove are produced, and are introduced spaced apart from one another into a blank mould which has the same length as a groove, so that the conductor ends of the conductor bars project out of the blank mould on both sides, and for the electrical insulation of the conductor bars the blank mould is filled with an electrically insulating material and is removed after the insulation material has hardened.