I love this workflow! However, it doesn't quite dismiss all notifications. For example, if I have a Slack notification, instead of closing the notification, it toggles the reply state of the notification (which allows a quick reply to the Slack message).
I updated the code in the workflow to run banner.perform() twice and that usually dismissed everything.
However, that probably isn't the best way to do it.
Thanks!