OnAssetPostImport to edit material settings?

Hi all, I am trying to write a function that will run on fbx import and rename materials, link textures to the material slots, change the blend mode of the material, etc.

Is it OnAssetPostImport that I need? Do I need to write a custom importer from scratch? Or does this kind of thing exist?

How best to do this?