How to design a system to identify if Led is on or off

How to design a project which identifies whether the led is on or off and notifies the user with a SMS each time.

@priyanshiomer707

You can use the Alerts feature on the Bolt Cloud to get notified when the pin is set to a specific state.

But for sms service there, I should be a Bolt cloud pro user and what if I want to do it by code as I am not a pro user?