We'd need to automatically attribute some profiles to an organizational unit.
Does anyone have any suggestions on how to go about it?
Are you talking about retroactively updating existing profiles or new incoming profiles? Also if new profiles, how are they being created?
What you can do is do implement a technical workflow for this.
This can lookup the org unit via a reconciliation activity and then you can assign it in Update Data