Copy apps script triggers from a template to a new Google Sheet file

Hello Community,

I have a workflow that creates a new Google Sheet file from a template.

image

Inside the template there is an API Script that is perfectly copied to the new file as the screenshot says. Unfortunately, automatic triggers are not copied. Have you ever experienced something similar and know how to copy the same triggers too? As this is a process involving more or less 1000 files, setting up triggers for all of them is not an option.

image

thank you in advance,
Mike