# Step by step help for extracting data from the payload in node-red?

**URL:** <https://www.thethingsnetwork.org/forum/t/step-by-step-help-for-extracting-data-from-the-payload-in-node-red/5210>\
**Category:** Application Development\
**Created:** [February 4, 2017, 12:26pm UTC](https://www.thethingsnetwork.org/forum/t/step-by-step-help-for-extracting-data-from-the-payload-in-node-red/5210 "2017-02-04T12:26:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [February 4, 2017, 12:51pm UTC](https://www.thethingsnetwork.org/forum/t/step-by-step-help-for-extracting-data-from-the-payload-in-node-red/5210/2 "2017-02-04T12:51:30Z")

</div>

> **[TheThingsNetwork/nodered-app-node](https://github.com/TheThingsNetwork/nodered-app-node)**
>
> Node-RED Library for TTN Applications. Contribute to TheThingsNetwork/nodered-app-node development by creating an account on GitHub.

[https://www.thethingsnetwork.org/docs/applications/nodered/quick-start.html](https://www.thethingsnetwork.org/docs/applications/nodered/quick-start.html)

As an aside: it seems your node is sending plain text, even JSON? That’s [a waste of bandwidth](https://www.thethingsnetwork.org/forum/t/best-practices-to-limit-application-payloads/1302). (Is that an example from [badgerboard.io](http://badgerboard.io)?) If you ever change that to send a few bytes instead, then note that decoding can also be done in [TTN’s payload functions](https://www.thethingsnetwork.org/forum/t/is-there-any-documentation-on-payload-functions/3441), so _any_ MQTT client will get ready-to-use data (including Node-RED).

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/step-by-step-help-for-extracting-data-from-the-payload-in-node-red/5210)._
