How to replace static mesh with blueprint and proper rotation?

something like that custom “Dataprep Editing Operation”

I also created a Custom Blueprint asset that is a static mesh actor on which I added the Spotlight. Then in my dataprep operation will

  1. create actor based on my custom blueprint
  2. Copy properties from static mesh actor to my blueprint: transform, label, mesh, parent
  3. destroy the original actor.