# Get element switch node

**URL:** <https://discourse.nodered.org/t/get-element-switch-node/27974>\
**Category:** General\
**Created:** [8 June 2020 06:00 UTC](https://discourse.nodered.org/t/get-element-switch-node/27974 "2020-06-08T06:00:33Z")\
**Posts on this page:** 3\
**Page:** 3

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [11 June 2020 19:57 UTC](https://discourse.nodered.org/t/get-element-switch-node/27974/41 "2020-06-11T19:57:00Z")

</div>

> [@E1cid](#):
>
> The returned value is also available at -  
> msg.payload.content

As suspected. This is why i asked to post the full object.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [11 June 2020 21:03 UTC](https://discourse.nodered.org/t/get-element-switch-node/27974/42 "2020-06-11T21:03:48Z")

</div>

The response from the keyboard press was never outputted in the payload, as the return message was getting overwritten by the function node. The response to the keyboard selection is outputted from the second output of the telegram command 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 2020 21:03 UTC](https://discourse.nodered.org/t/get-element-switch-node/27974/43 "2020-08-10T21:03:57Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/get-element-switch-node/27974.md?page=2)
