When working with the new Marketing Automation engine in Sitecore 9 you quickly learn a few things. One of them is that you can use goals to trigger stuff, for example to check whether someone has triggered a goal. By default the goal is registered and processed once the session ends and then the Marketing Automation engine will pick it up.
If you want to do something immediately after the goal is triggered, without the session had ended, there is an option called “IsLiveEvent” that should be checked. When checked and triggered by the contact your marketing automation campaign will continue within seconds. Very powerful!
Personally I use this a lot to do checks like page visited, document downloaded or form submitted.
Enjoy automating the optimization of your users experience!