# Feature Request: Subflow with button

**URL:** https://discourse.nodered.org/t/feature-request-subflow-with-button/95907
**Category:** Feature Requests
**Created:** [10 March 2025 11:49 UTC](https://discourse.nodered.org/t/feature-request-subflow-with-button/95907 "2025-03-10T11:49:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ThingsTinkerer](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)
#### Post date: [10 March 2025 11:49 UTC](https://discourse.nodered.org/t/feature-request-subflow-with-button/95907/1 "2025-03-10T11:49:51Z")

</div>

I know it's been discussed before, so this is just a reminder for something that would be super useful:

In subflow, add option (toggle on/off) to have a button on the node (see inject node as example). If on, have an additional input node.

As it stands now, I got a subflow which I want to manually trigger. I need to:

1. Add input node (but no input is really needed)
2. Add inject node and connect it to subflow's input in parent flow

Every single time. Adding additional node and wires only to get that button.

What do you think? Is it difficult to add this feature?

Check out the ingenious cron-plus node to see how this works in practice. It accepts input and has a button. Brilliant!

As a bonus feature, add option for right-button too 😃 Possibly to set some predefined env value true/false.

---

<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: [10 March 2025 11:56 UTC](https://discourse.nodered.org/t/feature-request-subflow-with-button/95907/2 "2025-03-10T11:56:04Z")

</div>

Closed as this is a reminder of a topic you have already created, and that topic is still open, you and others can add any other input there.

> [@Subflow with buttons?](https://discourse.nodered.org/t/subflow-with-buttons/94573/9):
>
> Ok we use subflows frequently as a sort of multi-node "function". Some require input, others don't (they generate their own input instead). Of course you COULD trigger a message if you wanted to with inject node, set a timer every minute or once on deploy. But that makes it extra hassle to add, configure, then remember to remove when done. All of which would be solved by a simple button. That so many nodes already have. Like inject (without input). Or cron-plus (also with input). Having the op…
