# Send payload value to node

**URL:** <https://discourse.nodered.org/t/send-payload-value-to-node/3994>\
**Category:** General\
**Created:** [15 October 2018 12:38 UTC](https://discourse.nodered.org/t/send-payload-value-to-node/3994 "2018-10-15T12:38:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SKL](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/skl/32/38237_2.png) [@SKL](https://discourse.nodered.org/u/SKL)\
**Post date:** [15 October 2018 12:38 UTC](https://discourse.nodered.org/t/send-payload-value-to-node/3994/1 "2018-10-15T12:38:24Z")

</div>

Hi  
I want to send the value in payload to a node, i can send a fixed value, but can't figure out how to send the payload value.  
What do I miss?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/b/b794c63bf25c635c4a07736e03ab867440186806.png)

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [15 October 2018 12:41 UTC](https://discourse.nodered.org/t/send-payload-value-to-node/3994/2 "2018-10-15T12:41:58Z")

</div>

Hi @SKL

I'm not sure what you are asking. You send messages between nodes and they can have whatever properties and values you set on them.

Can you explain a bit more what you are trying to do? What is the relevance of the screenshot you've shared?

---

<div class="post-metadata">

**Author:** ![SKL](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/skl/32/38237_2.png) [@SKL](https://discourse.nodered.org/u/SKL)\
**Post date:** [15 October 2018 12:50 UTC](https://discourse.nodered.org/t/send-payload-value-to-node/3994/3 "2018-10-15T12:50:23Z")

</div>

I can try.  
For test purpose i inject a value, when i find the right way i will read a Modbus value and write it to a IHC ( Home control system).  
I have tried to change "msg.payload" with a number and my node-red can send the fixed value to the IHC.  
I want the to send a floating point msg.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/c/ced0d00e9480134fa1450ee558a6310d20bfdf65.png)

---

<div class="post-metadata">

**Author:** ![SKL](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/skl/32/38237_2.png) [@SKL](https://discourse.nodered.org/u/SKL)\
**Post date:** [15 October 2018 12:50 UTC](https://discourse.nodered.org/t/send-payload-value-to-node/3994/4 "2018-10-15T12:50:59Z")

</div>

This one works  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/8/838db49672dcb1632ef8ad9a5b2bc756ac5f323d.png)

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [15 October 2018 13:01 UTC](https://discourse.nodered.org/t/send-payload-value-to-node/3994/5 "2018-10-15T13:01:46Z")

</div>

generally if you want a node to use a value from the flow you need to construct that part before the config screen and leave that part blank.

e.g in the http-request node you can either add the URL in the http-request node OR pass the URL to the http-request node as msg.url.

so you could try creating the msg.Data before the node in a function node. and leaving that part of the node properties blank.

But it does depend on the node, and you haven't said which node you are using...

---

<div class="post-metadata">

**Author:** ![candstand](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@candstand](https://discourse.nodered.org/u/candstand)\
**Post date:** [4 March 2021 10:48 UTC](https://discourse.nodered.org/t/send-payload-value-to-node/3994/6 "2021-03-04T10:48:30Z")

</div>

@SKL Did you find a solution for this?

I am struggeling with similar needs.  
My temperature is from Xiaomi BLE sensor via ESPhome.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [4 March 2021 16:04 UTC](https://discourse.nodered.org/t/send-payload-value-to-node/3994/7 "2021-03-04T16:04:07Z")

</div>

@candstand Since the OP hasn't been on the forum for two years I'm going to close this thread and ask you to open a new one describing your issue and what you have done so far. It's also a good idea to provide the environment you are working in like:

1. What platform you are running on
2. Node-red and node.js versions
3. are you using docker
4. what contrib nodes you are using

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [4 March 2021 16:04 UTC](https://discourse.nodered.org/t/send-payload-value-to-node/3994/8 "2021-03-04T16:04:13Z")

</div>


