Window open alarm with Sonos

I wanna create an alarm where I do get a message to my sonos speaker.
No matter what they are playing right now, should be interupted with the alarm
“Window Alarm, please close the window” and after that alert whatevery was palyed before should be played again. So a sonos which is paused should stay pause, but when I hit the play button it should not play the alarm, it should play the sound it played before it was paused. The sonos which was palying music shold play the music as of before.
And here comes the problem. How can I store the “what sonos played before the alar” so I can go ahead with after the interuption.
As of today my automation does all but not the continuous sound playing after the interruption.
Any idea how I can archive this?