Each Action in Automise has BeforeAction, AfterAction, and OnStatusMessage script events. Some Actions (such as Iterators) define more script events.  

The action Script Events are shown at the bottom of the Automise IDE in the Script Editor tab, see screenshot.