Zigbee "SOS" button

Hello,

I have a Zigbee SOS button that was put into the “Alarm panel” category for use.
I was hoping to use it to control power to a z-wave outlet instead.

How can I use it that way? I tried an automation using the Alarm panel that would detect the trigger from the button, and then execute the automation. At the end of he automation I untriggered the SOS, but subsequent presses of the button do nothing.

Any suggestions on how to accomplish this ?

Thanks