Import this example flow if it helps to understand what I tried to say.
[{"id":"6c6d0d34.e473e4","type":"inject","z":"9bcda218.23d61","name":"Mock /Temperature","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":130,"y":60,"wires":[["4d3d08a7.a3a778"]]},{"id":"4d3d08a7.a3a778","type":"change","z":"9bcda218.23d61","name":"Mock s7 node","rules":[{"t":"set","p":"payload","pt":"msg","to":"24","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":200,"y":120,"wires":[["f5017d3a.61af"]]},{"id":"f5017d3a.61af","type":"change","z":"9bcda218.23d61","name":"","rules":[{"t":"move","p":"payload","pt":"msg","to":"payload.content","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":250,"y":180,"wires":[["8d0ba250.c420a"]]},{"id":"8d0ba250.c420a","type":"debug","z":"9bcda218.23d61","name":"Mock Telegram Sender","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":380,"y":240,"wires":[]}]