# How can I add a property input to subflows?

**URL:** <https://discourse.nodered.org/t/how-can-i-add-a-property-input-to-subflows/99563>\
**Category:** General\
**Tags:** subflow\
**Created:** [3 November 2025 00:46 UTC](https://discourse.nodered.org/t/how-can-i-add-a-property-input-to-subflows/99563 "2025-11-03T00:46:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![charcuterie](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/charcuterie/32/104157_2.png) [@charcuterie](https://discourse.nodered.org/u/charcuterie)\
**Post date:** [3 November 2025 00:46 UTC](https://discourse.nodered.org/t/how-can-i-add-a-property-input-to-subflows/99563/1 "2025-11-03T00:46:36Z")

</div>

How can I add a property input to a subflow, like this?  
 ![screenshot](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/c/4c26305a9393a06c8ba46a473c1e38c54866d75d.png)  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [3 November 2025 03:17 UTC](https://discourse.nodered.org/t/how-can-i-add-a-property-input-to-subflows/99563/2 "2025-11-03T03:17:59Z")

</div>

Welcome to the forum @charcuterie😀

I'm not entirely sure what you are asking but -

If you want to pass messages into a subflow then you need to have an input, clicking on the 1 next to inputs will create an input node on the subflow which can receive incoming messages.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/1/3150c5cd6f6f2bf9071c8079ff1c1532401c6424.png)

If however you mean, create properties which can then be populated by unique values per subflow instance then you need to click on edit properties.

These are **fixed values** , they can be text, number etc but not msg properties as these are received via the input

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/7/e76f6f85576657be70413b93f42247c271be2112.png)

---

<div class="post-metadata">

**Author:** ![charcuterie](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/charcuterie/32/104157_2.png) [@charcuterie](https://discourse.nodered.org/u/charcuterie)\
**Post date:** [3 November 2025 04:01 UTC](https://discourse.nodered.org/t/how-can-i-add-a-property-input-to-subflows/99563/3 "2025-11-03T04:01:59Z")

</div>

Hi!  
What I meant was, similar to the change, template, etc. nodes in the configuration menu, you can select a message property for the node to operate on. I guess Node-RED lacks this feature for subflows, and I'll have to just take a string input, and index `msg` with it.  
Thanks for your help anyways.

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [3 November 2025 04:54 UTC](https://discourse.nodered.org/t/how-can-i-add-a-property-input-to-subflows/99563/4 "2025-11-03T04:54:49Z")

</div>

OK now I understand.

Yes you could create a property variable and set to the required string. The best approach really depends on what you are trying to do.

You may want to take a look at link return nodes, as this provides a subflow like way to reuse code with only 1 instance required. You could easily pass the required property in the msg.

---

<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:** [17 November 2025 04:55 UTC](https://discourse.nodered.org/t/how-can-i-add-a-property-input-to-subflows/99563/5 "2025-11-17T04:55:05Z")

</div>

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