# Subworkflow "function overloading" and optional parameters

**URL:** <https://community.n8n.io/t/subworkflow-function-overloading-and-optional-parameters/237720>\
**Category:** Feature Requests\
**Tags:** core, workflow-settings\
**Created:** [December 18, 2025, 9:17am UTC](https://community.n8n.io/t/subworkflow-function-overloading-and-optional-parameters/237720 "2025-12-18T09:17:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![L88p](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/l88p/32/137192_2.png) [@L88p](https://community.n8n.io/u/L88p)\
**Post date:** [December 18, 2025, 9:17am UTC](https://community.n8n.io/t/subworkflow-function-overloading-and-optional-parameters/237720/1 "2025-12-18T09:17:59Z")

</div>

Hi,

Sub-workflows currently require a fixed set of inputs. This makes reuse harder, because even small variations in behavior often force to create multiple similar sub-workflows or add complex conditional logic inside them.

It would be very useful to support optional parameters with default values, and a way for sub-workflows to accept different combinations of inputs, similar to how function overloading work in most programming languages.

**Proposed improvement**  
Introduce a mechanism for sub-workflows that supports:

- **Optional parameters** with default values

- **Multiple input “signatures”** , where a sub-workflow can accept different combinations of parameters and adapt its behavior accordingly (“workflow overloading”)

For example, the same sub-workflow could be called with just the required data, or with additional options when needed, without having to create multiple versions of the same workflow.

This would make sub-workflows feel more like reusable building blocks, reduce duplication, and make larger or shared workflow setups easier to maintain over time.
