Automating android VPN connect/disconnect

I am trying to automate the the vpn connection on android preferably by what wifi SSID is connected but geolocation would probably work ok also. I am using an android app named “Automate” and can see how other people have done this same thing with the wireguard VPN. The problem I am having is that Tailscale is not making the same settings available that wireguard or ZeroTier are. For example this is how you would accomplish the same task for wireguard:

Choose package:
Choose Receiver class:$IntentReceiver
Choose Action: “”

With Talescale I can see the package which is “com.tailscale.ipn” but no other tailscale settings seem to be available.

Anyone have ideas on how I can accomplish automatic connect/disconnect of the vpn connection?