PIN to confirm command

I am using Node-Red as a go-between for Google Home and Domoticz.
Works great, I've already created several flows to switch lights etcetera.
But I have a special switch that I want to secure with a PIN: the alarm.
I would like to be able to give a voice command to switch on or off, then play a message asking for a PIN, and then check that PIN. Only if it matches, the actual switch will be done.

I can't find a way to do this. Is there someone out there with a bright idea?

Perhaps something like this flow ?

https://flows.nodered.org/flow/7bcb0b049df4fa3c962294137ebaec19

1 Like

No... I already looked at that. The flow is based on UI interface, and I don't see how it could be converted into a voice driven flow...