is there a way to do some things after an addon domain is created?

for every addon domain made, I want to create a directory within its document root and copy a file into that directory.

similar to either postwwwacct (except for addon domains) or a skeleton dir. how can I achieve this?