Switch between multiple nodes

Hello, i want to create a flow where i can switch between multiple nodes that goes to a same process

for example i want one node(microcontroller) to send data to the cloud and i have the ability to turn it off and make the other node send data .

Please elaborate as this can mean many things.

If both your microcontrollers publish on seperate topics with mqtt you can use a switch node.

yeah they send on separate mqtt . can i use simple gate to toggle on and off different nodes?

If I understand what you are asking you should be able to use node-red-contrib-simple-gate for this.