Hi @Maik Skoddow 
am using a script include to generate a code, and calling that script include in UI action and sending the email to the user with that code. 
How can I achieve this through event-triggered notifications?