Contact Sensor - Trigger Alexa Routine

Hi All

Can anyone help?
Can a contact sensor be used to trigger a voice command from a nearby echo dot?

If so can this be done with just the contact sensor or will I require a ring hub of some sort?

Appreciate any help.
Jack