- export/import
Detecting is easy aslong as it’s a zpool. Maybe take a look here which already has some information about the export/import via cli/script.
That might get you some ideas on how to realize it so the person who does the manual labor maybe just have to trigger something wherever.