My use case:
When Invoice Status changes to Sent, I want to update data just before the actual server-side Send action occurs.
The programmatic data change would be in my custom function.
Does the Invoice get Sent AND then the Immediate Action processed OR does the Immediate Action occur before the send?