Build your flows with
mqtt in and
mqtt out nodes using the valetudo topics.
To draw a map for your Dashboard you can use node-red-contrib-valetudo.
If you also enable Homie and install the flow node-red-contrib-homie-convention, autodiscovery should work with Node-RED as well.
Open source cloud replacement for vacuum robots enabling local-only operation