In Unified Service Desk (USD) you can use the RunXrmCommand to interact with your CRM forms.
The example I’ve given below is an action call which will expand a tab on my forms called “stats”.
A couple of useful examples that do work include (I will add more as I confirm what works);
Display a notification in the notification bar.
Xrm.Page.ui.setFormNotification("Stats Opened", "INFO", "1");
Give an alert.