We currently have a custom webhook that we built to send alerts to a Teams channel when an application fails to install. This allows our service desk to search for failed installs and reach out to the user.
Would be nice to see this functionality built-in to future versions of PSADT where the webhook alert could be customized via XML file as well as having the ability to configure the URL and any exit codes to ignore.
Today we modify the Exit-Script function to trigger our custom function for webhooks, and then we added additional parameters to Deploy-Application.ps1 to define the default webhook URL, and Exit Codes to ignore.