# Using only one node

**URL:** <https://discourse.nodered.org/t/using-only-one-node/84561>\
**Category:** Developing Nodes\
**Created:** [15 January 2024 14:25 UTC](https://discourse.nodered.org/t/using-only-one-node/84561 "2024-01-15T14:25:08Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)\
**Post date:** [15 January 2024 14:51 UTC](https://discourse.nodered.org/t/using-only-one-node/84561/5 "2024-01-15T14:51:09Z")

</div>

> [@sercancetin](#):
>
> So I don't want to have n nodes named a

Do you want each node to have a different name?

> [@How can I avoid duplicate configuration node names?](https://discourse.nodered.org/t/how-can-i-avoid-duplicate-configuration-node-names/84249/2):
>
> Hi, I'm not sure I understood everything. The node name is purely visual and should not be used to identify a node in the code. This is the job of the id. It's possible to increment but only if you have developed the node. Otherwise you have to add an "nodes:add" [event](https://nodered.org/docs/api/ui/events) which when you add this node, updates the name by modifying the node properties. RED.events.on("nodes:add", (node) =\> { // Skip if not your node if (node.type !== "your-type") return; // check if name exist with // RE…

---

_[View the full topic](https://discourse.nodered.org/t/using-only-one-node/84561)._
