# How do I get to the content of this payload?

**URL:** <https://discourse.nodered.org/t/how-do-i-get-to-the-content-of-this-payload/48947>\
**Category:** General\
**Created:** [27 July 2021 03:50 UTC](https://discourse.nodered.org/t/how-do-i-get-to-the-content-of-this-payload/48947 "2021-07-27T03:50:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![benflux](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/benflux/32/45333_2.png) [@benflux](https://discourse.nodered.org/u/benflux)\
**Post date:** [27 July 2021 03:50 UTC](https://discourse.nodered.org/t/how-do-i-get-to-the-content-of-this-payload/48947/1 "2021-07-27T03:50:49Z")

</div>

I've got an iCal node that is returning the content in the screenshot below, it returns an object in an array[1] when there is an upcoming event that matches the filtering criteria I've given the node and I want to then use a switch to deal with this input. It returns an [empty] in an array[0] when there is no match, I can't see this either.

Here is what I've tried:

msg.payload  
msg.payload.value  
msg.payload.summary (summary is the field I want to look at)

but I can't 'see' the data in the subsequent switch node

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/0/f0b5a6749192471cc20a61ff8d9f0406f4cdce8b.png)

---

<div class="post-metadata">

**Author:** ![benflux](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/benflux/32/45333_2.png) [@benflux](https://discourse.nodered.org/u/benflux)\
**Post date:** [27 July 2021 04:27 UTC](https://discourse.nodered.org/t/how-do-i-get-to-the-content-of-this-payload/48947/2 "2021-07-27T04:27:22Z")

</div>

Just found this:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/4/c484d620efc4cc5b37c882dac6e79889f11e331f.png)

: copies the path to the selected element to your clipboard. In this example, it will copy `payload.Phone[2].type` . This allows you to quickly determine how to access a property in a Change or Function node. : copies the path to the selected element to your clipboard. In this example, it will copy `payload.Phone[2].type` . This allows you to quickly determine how to access a property in a Change or Function node.

---

<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 August 2021 04:27 UTC](https://discourse.nodered.org/t/how-do-i-get-to-the-content-of-this-payload/48947/3 "2021-08-10T04:27:47Z")

</div>

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