Sonos door bell automation (play previous track)

Maybe you can find some inspiration here SONOS TTS Script