Grafana Alerts - with Action script

Hello.

Using Grafana to monitor CPU and disk etc.

One issue is the disk keeps hitting 80% which then fires an email alert and i have to manually login to the machine and delete the logs.

I created a script to delete the logs, this is a manual process now.

Is there a way to trigger another tool or application that can execute this script for me when the cpu meets the alert criteria set in Grafana??

Open to new tooling required to achieve this.

thanks!