Hi Rob, and welcome.
2 things I know of. You can install Net Scan app, to monitor the connection and trigger flows with it.
You can use the Device Capabilities app’s card “When Device x became (un)available”, which can trigger flows. Example: