Hi, I'm just wondering if there is a WAB widget that can send an alert to a group of users by email or text message? For example, if the app is monitoring a feature and a change of this feature is observed, then the app can automatically send alerts to a group of users by email or text message. If anyone has some ideas, please let me know. Thanks!
Since WAB is a JS clientside application it has no ability to connect with a mail server on it's own, so no.
JS probably isn't the best way to achieve this. Some options that comes to mind are
Custom SOI - service object inteceptor which when detects an update/insert/delete send an email
Database table trigger if you are using enterprise geodatabase.
Here is a python script to send an email:
It might not be what you want though.