# How to change the format of a message from a s7 node to the format of a telegram message?

**URL:** <https://discourse.nodered.org/t/how-to-change-the-format-of-a-message-from-a-s7-node-to-the-format-of-a-telegram-message/28079>\
**Category:** General\
**Created:** [9 June 2020 20:37 UTC](https://discourse.nodered.org/t/how-to-change-the-format-of-a-message-from-a-s7-node-to-the-format-of-a-telegram-message/28079 "2020-06-09T20:37:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![osancleca](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@osancleca](https://discourse.nodered.org/u/osancleca)\
**Post date:** [9 June 2020 20:37 UTC](https://discourse.nodered.org/t/how-to-change-the-format-of-a-message-from-a-s7-node-to-the-format-of-a-telegram-message/28079/1 "2020-06-09T20:37:24Z")

</div>

Hi, I have a telegram chat bot with which I communicate without problem, the problem I have when trying to send the temperature that I read through a plc with node s7, and is that I do not know how to change the message of the node s7 to the format that accepts telegram,

when I send the / Temperature command from the telegram bot to Node Red as you can see the message is returned as temperature, but what I am trying to do is return the value that node s7 is reading

 ![RR31](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/b/fbf74eed7b82440d0b24d701812fb5f7274868b6.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 August 2020 20:37 UTC](https://discourse.nodered.org/t/how-to-change-the-format-of-a-message-from-a-s7-node-to-the-format-of-a-telegram-message/28079/2 "2020-08-08T20:37:26Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
