# Referencing node.name from nodes other than function?

**URL:** <https://discourse.nodered.org/t/referencing-node-name-from-nodes-other-than-function/17469>\
**Category:** General\
**Created:** [4 November 2019 02:09 UTC](https://discourse.nodered.org/t/referencing-node-name-from-nodes-other-than-function/17469 "2019-11-04T02:09:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yamlCase](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yamlcase/32/13436_2.png) [@yamlCase](https://discourse.nodered.org/u/yamlCase)\
**Post date:** [4 November 2019 02:09 UTC](https://discourse.nodered.org/t/referencing-node-name-from-nodes-other-than-function/17469/1 "2019-11-04T02:09:43Z")

</div>

What nodes can I reference my node name from? I know we can use ${node.name} in a function, but are there other nodes that we can maybe use string interpolation to get access to the node's name? The change node is what I'm particularly interested in now, but would options for other nodes. thanks.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [4 November 2019 11:14 UTC](https://discourse.nodered.org/t/referencing-node-name-from-nodes-other-than-function/17469/2 "2019-11-04T11:14:10Z")

</div>

Could you explain a bit more what you trying to do?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [4 November 2019 11:20 UTC](https://discourse.nodered.org/t/referencing-node-name-from-nodes-other-than-function/17469/3 "2019-11-04T11:20:28Z")

</div>

Hi @yamlCase

in general, no, you cannot access a node's name unless the node specifically exposes it in some form. Other than the Function node, I'm not aware of any other node that does so. The name wasn't conceived as being part of the functional behaviour - more a label for documenting/debugging purposes.
