Apple Configurator 2.18

Shortcuts settings in Apple Configurator
Using the Shortcuts app, you can create workflows to uniformly and efficiently configure large numbers of iPhone and iPad devices with Apple Configurator. Shortcuts provides helpful feedback on the progression of individual actions, and you can also automate shortcuts based on devices being attached, detached, and more.
To manage Shortcuts, do one of the following:
Run a Shortcut upon attach: Select a Shortcut that runs when a device is attached to the Mac.
Run a Shortcut upon detach: Select a Shortcut that runs when a device is unplugged from the Mac.