Could QuickSight send a request when failing to refresh data sets (i.e. webhook)?

If the refresh of a data set fails, I want it to send a message to a Slack channel by sending a webhook request, in addition to sending an email to me. How can I do it?

I think you can look at this.

The idea being that you could subscribe to CloudWatch events.

They’re a simple way your online accounts can “speak” to each other and get notified automatically when something new happens. In many cases, you’ll need to know how to use webhooks if you want to automatically push data from one app to another.
Regards:
https://www.primedaycare.com/