You don't want to create a new notif, that means you can replace the Automagic's notif action with action sound (just to create sound). But that won't work, the event happen so fast, that we can't be sure which trigger happen first.
Most app, when they have new stacked notification, the app will remove the previous notif and create a new notif. Example
1st notif : XYZ create new notif
2nd notif : XYZ remove previous notif, create new notif
3rd notif : XYZ remove previous notif, create new notif
So if we use only trigger Notification on Statusbar Displayed, and then checked this notif existence after it, using condition, it will always result in true (since it is almost impossible we can manually remove the notif in a split second after it appears, unless we use automagic).
The problem here is, the phone sometimes will get the
Notification on Statusbar Displayed first, before the
Notification on Statusbar Removed. So we can't use the Removed notif trigger as the check.
We have to remove all of the XYZ and replace it with automagic's notif. Thus my method above. This can't be helped, almost similar to whatsapp auto reply problem. There is a similar case too, but with timeout 5 minutes :
viewtopic.php?f=5&t=7435
To be able to clear other app notif, Automagic must be granted Notification access permission. You can find it in the Automagic settings > Features & Permissions. Then in the action Remove Notification on Statusbar, choose
notification type : General and
Notifications from specific app : com.packagename.XYZ. The rest just follow the concept above.