Changing the status of a case when the status of an alert is change to "recovered"

I want to update the status of my case from open to closed if the status of the corresponding alert that prompted the case opening is changed to "recovered".

I'm using a webhook connector. Is there a way I can define in the body of the connector to change a case status?

Removed connectors