iOS 27 beta

I was able to get the automation of getting a notification from an app to trigger an action which was read a phrase. However, if I put the criteria that I only want it to trigger that phrase if there is something in the title or the body of that notification I’ve been unable to get that to work. Both manually building it and having a series voice to create shortcut feature. Any thoughts?