An issue or metric alert starts an agent that pulls the event context, works the failure in a sandbox, and comments its diagnosis back on the Sentry issue.
Install the Ellipsis integration in your Sentry organization and point your alert rules at it.