Mac OS Catalina: Detect when an USB device is connected

See if EventScripts meets your needs. From its web page:

  • EventScripts allows you to assign AppleScripts, shell scripts and Automator workflows to be run when certain events occur.

Events watched include USB connections and volume mounts.

I have only recently discovered this app and have not explored very far yet, so I would be interested in your comments.

Keyboard Maestro (which I have used for a few years) will do what you want, but is probably overkill (and over complex) unless you want to get further into Mac automation.