Help to make flow dynamic message attribute

I have a sensor of my car with 4 attributes
right front window
left front window
right rear window
left rear window
I would like to create a flow that when your other closing sensor is in the closed state, if there is a window open it sends me a notification on a telegram that tells me which window I have left open.
can you help me create this flow?

1 Like