Add dropdown menu as an 'input type' in Sub-workflows

Although it might not make sense at first since the current options are based on data-types

But when thinking about it from the perspective of building a microservice/custom-node, some granular control might be required to decide exactly what the sub-workflow receives.

For example, having a sub-workflow that can do multiple actions [create, update, search, delete], having these options defined on the sub-workflow trigger node level, then the user can just select the option they want from the dropdown (Similar to the ‘DropDown’ field type found in the form trigger node) instead of writing the action in a string input box.

This makes for a better user experience.

The vision is to allow sub-workflows to act like a custom node in a way, or an internal API, and make it more visual and smoother to build.

I need this exact feature.

Dropdown inputs for sub-workflows are crucial for data validity. My use case is creating subflow dropdowns so users must select valid parameters or actions. This will reduce errors and make sub-workflows more robust.

At minimum, a JSON option to define custom dropdowns in the sub-workflow configuration would be a significant improvement.

This deserves more attention.

1 Like

100%

This will be one of the key building blocks for creating custom nodes entirely based on n8n workflows, eliminating the need for custom coding it.

2 Likes

Nice :slight_smile: idea

1 Like

While we wait for native dropdown support on sub-workflow triggers, you can achieve the same result with almost no custom coding. Simply include an action field (e.g. “create”, “update”, etc.) in your webhook payload—this could even come from a simple dropdown in your front-end. Then, add a Switch node in your workflow (or sub-workflow) that matches on the action value to route the logic. This approach gives you clean, visual branching today without building any custom nodes.

1 Like

I was looking into creating a community node, but realistically, my time is better spent on workflows than making a custom node that only a few people will use.

1 Like

I already have a few front-end solutions, but a sub-workflow dropdown option would simplify things on the backend.

Once that’s in place, the next step is to allow a sub-workflow to appear in the node list and enable icon customization. I frequently use a specific sub-workflow across various workflows, so this would make it super EZ!

This is definitely a must ! Custom-node power but without code :exploding_head:
(this and parallel execution on the ‘Execute subworkflow’ node…)

2 Likes

Exactly!​​

This is an absolute must for me :slight_smile:
Please add this feature