event listener for adding a configuration

I am trying to implement an add in that will listen for a user adding a configuration to a part, and when they do, it will automatically perform certain tasks like auto filling certain custom properties. I tried looking through the API help doc, but i couldn't seem to find a way to do this. Thanks for any help.

SolidworksApi macros