Do action based on phone notification for iOS

I used to have an android and was able to read notifications and trigger actions based on the text body of the notification. Came in really handy when I needed to leverage various apps I use that don’t have API/Native support.

For example, I had an automation that automatically had all of my lights flash and my google homes speak a notification message if the word “Emergency” was in the text of the notification. This helped me know for example if my dogs Halo GPS collar had registered that my dog was out of the geofence or if one of my water leak sensors detected water, etc.

I recently switched to IPhone , and I’m having trouble getting the text of the notifications (or even triggering if I receive a notification).

Does anyone know how to get that enabled? Or if there is some other roundabout way I could get iOS notifications read from home assistant?