# Custom "change" node

**URL:** <https://discourse.nodered.org/t/custom-change-node/39717>\
**Category:** General\
**Created:** [25 January 2021 15:45 UTC](https://discourse.nodered.org/t/custom-change-node/39717 "2021-01-25T15:45:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Post date:** [25 January 2021 15:45 UTC](https://discourse.nodered.org/t/custom-change-node/39717/1 "2021-01-25T15:45:32Z")

</div>

Hi,

I have a "change" node with 4 rules that I have customized for my special purpose. AS I need to use that node several times in my flows, is there a way to save it and re-use it when I need?

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [25 January 2021 15:51 UTC](https://discourse.nodered.org/t/custom-change-node/39717/2 "2021-01-25T15:51:40Z")

</div>

Yes, create a subflow.  
Select the change node, then from the hamburger top right select `subflow` & `Selection to Subflow`. It will then appear at the top of your node palette, where you can then edit it and add input & output pins, and give it a name.

See [Subflows : Node-RED](https://nodered.org/docs/user-guide/editor/workspace/subflows)

---

<div class="post-metadata">

**Author:** ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Post date:** [25 January 2021 15:54 UTC](https://discourse.nodered.org/t/custom-change-node/39717/3 "2021-01-25T15:54:20Z")

</div>

Cool (and easy)!

Thank you.

---

<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:** [8 February 2021 15:54 UTC](https://discourse.nodered.org/t/custom-change-node/39717/4 "2021-02-08T15:54:42Z")

</div>

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