Flow and global only make sense if you need the information in another “block” of nodes or if you are going to use another flow (tab)
[{"id":"c1f94c493d475aa6","type":"tab","label":"Set Global Here","disabled":false,"info":"","env":[]},{"id":"2bd00463ee37a8a4","type":"group","z":"c1f94c493d475aa6","name":"With Payload only","style":{"label":true},"nodes":["b5b215d6a2e44df7","878a916c743d7ab5"],"x":214,"y":79,"w":532,"h":82},{"id":"5c4f3aaa4cbb03b4","type":"group","z":"c1f94c493d475aa6","g":"839db5320ff66e35","name":"Set Flow","style":{"label":true,"color":"#ff0000"},"nodes":["76d07ced6f3b97ec"],"x":194,"y":279,"w":272,"h":82},{"id":"59b801b8ab4ca07c","type":"group","z":"c1f94c493d475aa6","g":"839db5320ff66e35","name":"Get the flow here","style":{"label":true,"color":"#ff0000"},"nodes":["f39c46635ff69be2","d27f8c5cd5e68cb1","0df06f8edac7af27"],"x":194,"y":379,"w":1152,"h":82},{"id":"839db5320ff66e35","type":"group","z":"c1f94c493d475aa6","name":"With flow","style":{"label":true,"label-position":"n","color":"#ff0000"},"nodes":["5c4f3aaa4cbb03b4","59b801b8ab4ca07c"],"x":168,"y":253,"w":1204,"h":234},{"id":"984766aa47405ced","type":"group","z":"c1f94c493d475aa6","name":"With global","style":{"label":true,"label-position":"n","color":"#ff0000"},"nodes":["253a85d49ce292b9","c288d43f21c60750"],"x":168,"y":553,"w":1204,"h":234},{"id":"253a85d49ce292b9","type":"group","z":"c1f94c493d475aa6","g":"984766aa47405ced","name":"Set Global","style":{"label":true,"color":"#ff0000"},"nodes":["7d3ae0064cd0566d"],"x":194,"y":579,"w":272,"h":82},{"id":"c288d43f21c60750","type":"group","z":"c1f94c493d475aa6","g":"984766aa47405ced","name":"This group needs to be in another tab (to make sense of using Global)","style":{"label":true,"color":"#ff0000","stroke":"#ff0000","label-position":"ne"},"nodes":["3d3fca809abc63e4","2c730f51bdd5568d","b447da0f0ef3f846"],"x":194,"y":679,"w":1152,"h":82},{"id":"b5b215d6a2e44df7","type":"ha-sensor","z":"c1f94c493d475aa6","g":"2bd00463ee37a8a4","name":"Humidity global sensor","entityConfig":"0d9da44376ba82b6","version":0,"state":"msg.payload+10","stateType":"jsonata","attributes":[],"inputOverride":"allow","outputProperties":[],"x":620,"y":120,"wires":[[]]},{"id":"878a916c743d7ab5","type":"server-state-changed","z":"c1f94c493d475aa6","g":"2bd00463ee37a8a4","name":"","server":"ab3e2c53.e3491","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":350,"y":120,"wires":[["b5b215d6a2e44df7"]]},{"id":"f39c46635ff69be2","type":"change","z":"c1f94c493d475aa6","g":"59b801b8ab4ca07c","name":"Set master_bathroom_humidity_value to home humidity + 10","rules":[{"t":"set","p":"master_bathroom_humidity_value","pt":"flow","to":"msg.payload+10","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":840,"y":420,"wires":[["0df06f8edac7af27"]]},{"id":"76d07ced6f3b97ec","type":"server-state-changed","z":"c1f94c493d475aa6","g":"5c4f3aaa4cbb03b4","name":"","server":"ab3e2c53.e3491","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"master_bathroom_humidity_value","propertyType":"flow","value":"","valueType":"triggerId"}],"x":330,"y":320,"wires":[[]]},{"id":"d27f8c5cd5e68cb1","type":"inject","z":"c1f94c493d475aa6","g":"59b801b8ab4ca07c","name":"You need som trigger to update the sensor","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":400,"y":420,"wires":[["f39c46635ff69be2"]]},{"id":"0df06f8edac7af27","type":"ha-sensor","z":"c1f94c493d475aa6","g":"59b801b8ab4ca07c","name":"Humidity global sensor","entityConfig":"0d9da44376ba82b6","version":0,"state":"msg.payload+10","stateType":"jsonata","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1220,"y":420,"wires":[[]]},{"id":"7d3ae0064cd0566d","type":"server-state-changed","z":"c1f94c493d475aa6","g":"253a85d49ce292b9","name":"","server":"ab3e2c53.e3491","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"master_bathroom_humidity_value","propertyType":"flow","value":"","valueType":"triggerId"}],"x":330,"y":620,"wires":[[]]},{"id":"3d3fca809abc63e4","type":"change","z":"c1f94c493d475aa6","g":"c288d43f21c60750","name":"Set master_bathroom_humidity_value to home humidity + 10","rules":[{"t":"set","p":"master_bathroom_humidity_value","pt":"global","to":"msg.payload+10","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":840,"y":720,"wires":[["b447da0f0ef3f846"]]},{"id":"2c730f51bdd5568d","type":"inject","z":"c1f94c493d475aa6","g":"c288d43f21c60750","name":"You need som trigger to update the sensor","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":400,"y":720,"wires":[["3d3fca809abc63e4"]]},{"id":"b447da0f0ef3f846","type":"ha-sensor","z":"c1f94c493d475aa6","g":"c288d43f21c60750","name":"Humidity global sensor","entityConfig":"0d9da44376ba82b6","version":0,"state":"msg.payload+10","stateType":"jsonata","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1220,"y":720,"wires":[[]]},{"id":"0d9da44376ba82b6","type":"ha-entity-config","server":"ab3e2c53.e3491","deviceConfig":"","name":"Humidity global","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Humidity global"},{"property":"icon","value":""},{"property":"entity_category","value":""},{"property":"entity_picture","value":""},{"property":"device_class","value":"humidity"},{"property":"unit_of_measurement","value":"%"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"ab3e2c53.e3491","type":"server","name":"AvilaSmartHome","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]
You will need to edit the entities if you want to use this flow