# Putting Data to the Payload

**URL:** <https://discourse.nodered.org/t/putting-data-to-the-payload/62803>\
**Category:** General\
**Tags:** function-node, mqtt\
**Created:** [18 May 2022 13:51 UTC](https://discourse.nodered.org/t/putting-data-to-the-payload/62803 "2022-05-18T13:51:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SammyJang](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@SammyJang](https://discourse.nodered.org/u/SammyJang)\
**Post date:** [18 May 2022 13:51 UTC](https://discourse.nodered.org/t/putting-data-to-the-payload/62803/1 "2022-05-18T13:51:48Z")

</div>

Hello teachers,

I'm now receiving data from the wireless devices and the data is transferring to AWS IoT by using mqtt out Node. And I saw that the payload data is only being stored in the IoT Core, the other data is just being missed. So in here, I need to put the other data under the payload title(?). Is there any possible way to put these data lines to the payload as I marked on the picture?  
Please help me. Thank you very much for your all advices.

 ![Forum_1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/1/c1d07f4a48cf48b1c0d542e8db9aea7bf211e54b.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/d/fd045630e5b572f01eedfa6068751315a7c162c1.png)

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [18 May 2022 14:56 UTC](https://discourse.nodered.org/t/putting-data-to-the-payload/62803/2 "2022-05-18T14:56:54Z")

</div>

Because your payload is already an object, you can add the extra data with a Change node like this:

 ![Untitled 4](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/c/0ca9565ae9129e2ab63131005e3f576108441f19.jpeg)

---

<div class="post-metadata">

**Author:** ![SammyJang](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@SammyJang](https://discourse.nodered.org/u/SammyJang)\
**Post date:** [18 May 2022 15:51 UTC](https://discourse.nodered.org/t/putting-data-to-the-payload/62803/3 "2022-05-18T15:51:45Z")

</div>

Thank you so much jbudd! So much helpful!!

---

<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:** [1 June 2022 15:52 UTC](https://discourse.nodered.org/t/putting-data-to-the-payload/62803/4 "2022-06-01T15:52:20Z")

</div>

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