Good afternoon, help me implement

Good afternoon, help me implement it, I have a USB 5v DC12V eWeLink Smart Wifi Switch and an Aubess 20A EU Smart socket WiFi Smart problem is this: when 220V disappears, you need to turn on the USB 5v DC12V eWeLink Smart Wifi Switch lamp

May be you can create a sense if your device are all eWeLink supported, otherwise to use other automation platforms like IFTTT.

yes devices support eWeLink

Is it possible to somehow make it possible to create a task if the socket loses power and disappears in WeLink then you can turn on the light via a relay