Actions enable running custom code on the server in response to a client-side event, usually a click on the UIProjectRibbonBar control. Since the code runs on the server-side, it has access to IntentAPI.