The Wireless Network condition looks for a wireless network with:
and then checks whether it:
You can use the popup menu on the right to select the desired wireless network.
⚠️ Note that wireless information requires Location system security permissions in macOS Sonoma, so ensure the Keyboard Maestro Engine has Locations permissions if you are using Sonoma or later.