Run SQL Update After Alarm Pipeline sent messages

I would like to know how to go about running a SQL update AFTER an alarm pipeline has sent its messages.
I would like to keep this inside the gateway. Can this possibly be done within the Alarm notification pipeline?
I have almost 30 tags in which can trigger this alarm. I just upgraded to 7.7.2 so there are definitely some new features for me to get a grasp on… Maybe with the “set property” or “script”…?
Currently when a message gets sent I open MSSQL Management Studio and run the update query myself.
There surely is a more graceful way to use ignition for this…?

We added a scripting block in 7.7.2… I think you could put that after your notification block and run your query there?