n8n-subworkflows

Design reusable n8n sub-workflows with explicit input/output contracts.

421|46|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/n8n-io/skills --skill n8n-subworkflows
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n8n-subworkflows
Source: https://github.com/n8n-io/skills/tree/main/skills/n8n-subworkflows
Command: npx skills add https://github.com/n8n-io/skills --skill n8n-subworkflows

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you design multi-step n8n logic as reusable sub-workflows, so you stop duplicating workflows and instead build well-discoverable, composable building blocks.

Core Features & Use Cases

  • Search-before-build and naming discovery: Use consistent Subworkflow: prefixing and search queries to reuse existing logic instead of recreating it.
  • Strong input/output contracts: Prefer Execute Workflow Trigger with Define Below typed fields for agent/tool wiring, and use passthrough only for true binary or intentional zero-input cases.
  • Extraction and orchestration patterns: Extract coherent chunks (often 5+ nodes), support linear “orchestration by sub-workflow calls,” and apply advanced patterns like mode: 'each' with fire-and-forget parallelization.

Quick Start

Use the sub-workflow guidance to decide whether to extract a chunk, then create the sub-workflow with a Subworkflow: verb-first name and a description that states inputs, outputs, and keywords for future search.

Frequently Asked Questions about n8n-subworkflows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create reusable n8n sub-workflows with clear input output contracts?

To create reusable n8n sub-workflows, use the Execute Workflow Trigger with Define Below typed fields to enforce explicit input and output contracts, enabling composable and discoverable workflow building blocks.

What is the best way to run parallel fire-and-forget tasks in n8n?

The best way to run parallel fire-and-forget tasks in n8n is by applying the mode: 'each' pattern within your sub-workflow orchestration, allowing simultaneous processing while tracking stateless or stateful executions safely.

How does the Execute Workflow Trigger handle typed inputs for agent tools?

The Execute Workflow Trigger handles typed inputs for agent tools by using the Define Below option, which provides a strict schema that supports accurate parameter filling when the sub-workflow is called as an agent tool.

When should I use passthrough mode instead of typed inputs in an n8n sub-workflow?

You should use passthrough mode in an n8n sub-workflow only for true binary data passing or intentional zero-input cases, preferring typed Define Below fields for standard agent tool wiring and explicit contracts.

Why do my n8n sub-workflows fail to show up in agent search queries?

n8n sub-workflows fail to show up in agent search queries when they lack consistent verb-first naming with a Subworkflow: prefix and descriptions containing relevant keywords, which are required for MCP search discovery.

How do I extract multi-step n8n logic into a composable orchestration pattern?

You extract multi-step n8n logic into a composable orchestration pattern by isolating coherent chunks of five or more nodes into a sub-workflow, then calling them linearly via the Execute Workflow node with safe waitForSubWorkflow behavior.