Node-red example with dialog management

Could someone here provide or point to a node-red example with dialog management.
I’d like a dialog/conversation like this:
Me: Put device_x on
Rhasspy: Do you want to put device_x on
Two possibilities (for safety in case the system misunderstood the command):
Me:yes–>Rhasspy: I put device_x on
or
Me: no–>Rhasspy: I won’t put device_x on

kind regards,
Hugo
p.s. I already asked this question as a request a year ago, but didn’t get a useful answer then