Node Red JSON HTTP Request

Hi there. I am relatively new to NodeRED and currently looking through the documentation but drawing a bit of a blank.

I have the following flow

Essentially a sensor is checked and if the value is greater than 27, it fires the request to set Storage Mode, if false, it fires the request to set Dynamic mode. They are both the same HTTP endpoint, but the JSON payload is different. I am struggling to work out how I pass the JSON payload to the HTTP request node, and also, how to set it so the payload is different depending on whether the sensor output is true/false

Thanks

I have this as with a switch node, where you can enter the statement for each output (+add however many you need)
And hook each output to a change node, use the SET option and json data to set the json data.
Then connect all those to 1 http request node

Thank you, that is exactly what I was after