Flic => HTTP request => Shelly

You should be able to send a HTTP request to the shelly with your flic. A bit of googling (or ChatGPT) should give you the appropriate payload.

I am not sure if Shelly accepts a "toggle" command, if not you may need a click for on and double click for off.

Good luck