workflow-builder

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗

Load before calling build-workflow. Default path for all single-workflow work: new one-off workflows, existing-workflow edits, verification repairs, and workflow-local data tables. Write or edit a workspace source file, run workflow-sdk validate via workspace_execute_command, then call build-workflow with filePath. When the workflow creates or writes Data Tables, load data-table-manager first, then this skill. Do not load planning or create-tasks first. Load planning only when multiple coordinated workflows or shared cross-task data tables require a dependency-aware task graph.

packages/@n8n/instance-ai/skills/workflow-builder/SKILL.md

Download bundle ↓
master · 8bff5da3 bundle filesScanned 2026-09-15

references/error-workflows.md

350 tokens · o200k_base · 1,683 bytes

Source excerpt starting at line 1.
# Workflow-Level Error Workflows n8n has no global or instance-wide error workflow setting. Error workflows areassigned per target workflow through workflow settings: ```tsexport default workflow('target-workflow-id', 'Target Workflow')  .settings({ errorWorkflow: 'published-error-workflow-id' })  .add(triggerNode);``` `settings.errorWorkflow` must be the real workflow ID of a separate publishedworkflow whose published version contains an active Error Trigger node. Do notuse a workflow name, placeholder, `activeVersionId`, local SDK id, or inventedglobal identifier. Use the no-global-setting rule as implementation guidance. Mention it to theuser only when they explicitly ask about, request, or reference global orinstance-wide error workflow behavior. When creating an error workflow to attach to another workflow: 1. Wait until the target workflow is published, then ask whether the user wants   an error workflow for it.2. Build the error workflow as a separate workflow. It starts with an Error   Trigger and sends the notification the user requested.3. Publish the error workflow with `workflows(action="publish")` before setting   it on the target workflow: `settings.errorWorkflow` only accepts a published   workflow, and publishing goes through HITL approval, so the user confirms it.   This applies to the error workflow only; never publish the target workflow   unless the user explicitly asks.4. Patch the original target workflow's source and set   `.settings({ errorWorkflow: '<published-error-workflow-id>' })`, then call   `build-workflow` for the original workflow. This assigns the error workflow   only to that target workflow. 
Referenced from SKILL.md