Is it possible to resolve incidents created by SolarWinds Platform through automation?

Seems like a fairly straightforward ask... as per the way Service Now integration works, if an alert resets there should be a way of the incident in Service Desk resolving. I have looked at doing this with automations, but trying to configure an automation based on the comment text doesn't seem possible.