How to run script within Grafana

Hello , my situation is I want run some scripts such as shell/python script when there is an Alert triggered by Grafana.
Is there some way to do that ?

Many thanks.