When the ue4 editor prompts for new resources, the python script does some automatic processing.

I want to know how to get this event when the ue4 editor prompts for a new resource. So that I can do some automated processing in python. help me.