Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Veitch <[email protected]>
  • Loading branch information
imchairmanm and evilnick authored Jan 10, 2025
1 parent fe39ffe commit e406741
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions _snippets/flow-logic/subworkflow-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
1. Select the **Options** <span class="inline-image">![Options menu](/_images/common-icons/three-dot-options-menu.png){.off-glb}</span> menu > **Settings**. n8n opens the **Workflow settings** modal.
1. Change the **This workflow can be called by** setting. Refer to [Workflow settings](/workflows/settings/) for more information on configuring your workflows.
1. Add the **Execute Workflow Trigger** node.
1. Set the **Input data mode** to choose how you to define the sub-workflow's input data:
1. Set the **Input data mode** to choose how you will define the sub-workflow's input data:
* **Define using fields below**: Choose this mode to define individual input names and data types that the calling workflow needs to provide.
* **Define using JSON example**: Choose mode to provide an example JSON object that demonstrates the expected input items and their types.
* **Accept all data**: Choose this mode to accept all data unconditionally. The sub-workflow won't define any require input items. This sub-workflow must handle any input inconsistencies or missing values.
* **Define using JSON example**: Choose this mode to provide an example JSON object that demonstrates the expected input items and their types.
* **Accept all data**: Choose this mode to accept all data unconditionally. The sub-workflow won't define any required input items. This sub-workflow must handle any input inconsistencies or missing values.
1. Add other nodes as needed to build your sub-workflow functionality.
1. Save the sub-workflow.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ If you select a sub-workflow using the **database** and **From list** options, t

You can optionally remove requested input items, in which case the sub-workflow receives `null` as the item's value. You can also enable **Attempt to convert types** to try to automatically convert data to the sub-workflow item's requested type.

Input items won't display if the sub-workflow's Workflow Input Trigger node uses the "Accept all data" input data mode.
Input items won't appear if the sub-workflow's Workflow Input Trigger node uses the "Accept all data" input data mode.

### Mode

Expand Down

0 comments on commit e406741

Please sign in to comment.