# ThingSpeak Data in Node-Red

**URL:** <https://discourse.nodered.org/t/thingspeak-data-in-node-red/74186>\
**Category:** Dashboard\
**Tags:** http-request, database, function-node\
**Created:** [25 January 2023 17:46 UTC](https://discourse.nodered.org/t/thingspeak-data-in-node-red/74186 "2023-01-25T17:46:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blueberry](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@Blueberry](https://discourse.nodered.org/u/Blueberry)\
**Post date:** [25 January 2023 17:46 UTC](https://discourse.nodered.org/t/thingspeak-data-in-node-red/74186/1 "2023-01-25T17:46:00Z")

</div>

Hi, I've created a flow to get data from my ThingSpeak channel but I'm not quite sure how to split the values. For example, I want to only get the field 1,2,3, and 4 values and display them on a line chart.  
Does anyone have any idea how I can go about this?

 ![nodered](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/e/0efc3684fa526476c278423557de296e68e3141e.jpeg)

---

<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:** [25 January 2023 21:49 UTC](https://discourse.nodered.org/t/thingspeak-data-in-node-red/74186/2 "2023-01-25T21:49:26Z")

</div>

This should get you started:

There’s a great page in the docs ([Working with messages : Node-RED](https://nodered.org/docs/user-guide/messages)) that will explain how to use the debug panel to find the right path to any data item.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.

![BX00Cy7yHi](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bd1f333a9e043b061b39917c328b0094d3e52d30.gif)

---

<div class="post-metadata">

**Author:** ![Blueberry](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@Blueberry](https://discourse.nodered.org/u/Blueberry)\
**Post date:** [26 January 2023 14:08 UTC](https://discourse.nodered.org/t/thingspeak-data-in-node-red/74186/3 "2023-01-26T14:08:50Z")

</div>

Hi @zenofmud thanks for the input, I'll check it out 😃

---

<div class="post-metadata">

**Author:** ![Blueberry](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@Blueberry](https://discourse.nodered.org/u/Blueberry)\
**Post date:** [27 January 2023 13:27 UTC](https://discourse.nodered.org/t/thingspeak-data-in-node-red/74186/4 "2023-01-27T13:27:45Z")

</div>

Solution: I've figured out that you can use the function node to extract specific data needed. (You can copy the right path in the debug panel and paste into the function node.)  
cheers!! 😃

![solution](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/f/8fd83b451972e51598982f09c067872e22ea835b.jpeg)

---

<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:** [10 February 2023 13:28 UTC](https://discourse.nodered.org/t/thingspeak-data-in-node-red/74186/5 "2023-02-10T13:28:04Z")

</div>

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