Database – WordPress hook that is activated in the subsequent import

I am adding some meta fields for the type of product publication using wp_insert_postAction and it works perfectly.

But I have to activate my function in the imports of products, since this action is not activated in the import of products. Is there any way to activate this function after importing. I will really appreciate your help.