Google App Script – Save the sheet file Id created from my sheet file template

thank you for the time you will take to resolve my issue !

I am not sure that Google app script allows to do what I need.
Could you please tell me if it is possible?
If yes, do you have already a script code to do it?

I have created a file which I have shared it with others colleagues (in a shared drive), and it is used as a “template”.

When a colleague creates a copy of it, I would like that the script to give me the new Google sheet id created from the model and saved this id in my Google sheet dashboard?

Is it possible with appscript?

Thanks a lot and have a good day !