If this then statement in node red

can you do something with it ?

This is the core of node-red; its' very existence.

I think it may be more worth it to go through this whole playlist to get an understanding about how node-red works and what you can do with messages.

For your first switch node, you need to understand how payloads/messages are constructed, so that you know how to route messages (all explained in the playlist).