How to unsubcribe contacts

How to unsubcribe contacts

Hi.
We're using an SMS system that is not integrated with ZohoCRM. What we want to be able to do is:

When a customer receives an SMS he has the option to "reply NO to opt out". On our SMS system we have the ability to trigger some actions when we receive a "NO", such as a HTTP (GET and POST), PULL, SMPP and E-mail.

Is there a way to make the SMS reply trigger a field change on ZohoCRM (such as flag them as opted out or change the lead status)?

I've explored the documentations about automations but can't figure it out.

thanks in advance