Export of a KML file in repeatable groups

Welcome to the community @Samuel1! Have you had a chance to look at the post discussed previously (it should solve your issue):