Small speaker triggered by contact sensor

I’m trying to figure out how to build a small speaker that will play a pre recorded message when triggered by a Wyze contact sensor over Google Home. (a message to remind my kids to close the back door if left open for x amount of time)

I found an Atom Echo that looks like it could work but I don’t know how to interface with it. Is there a simple solution using a Grove System board?