cyberneticlibrary

Orchestrate n8n workflow stacks

build-stack-v2workflowsetup L414
neurawork-git/n8n-autopilot
What it does

Orchestrate multi-workflow n8n stack builds

Best for

Shipping deterministic, contract-enforced multi-workflow stacks with bottom-up decomposition and enforced build order via code, not model discretion.

Inputs
  • · [object Object]
  • · [object Object]
Outputs
  • · [object Object]
Requires
  • · n8n-stack-comprehender (EXTEND)
  • · n8n-stack-architect (plan)
  • · n8n-author (doc)
  • · build.workflow.js
  • · edit.workflow.js
Preconditions
  • · buildScript path provided (absolute)
  • · GREENFIELD: use-case description supplied
  • · EXTEND: change delta + editScript supplied
  • · n8n instance reachable
Failure modes
  • · Cyclic dependency detected in subWorkflows → aborts with cycle message
  • · Handover contract type mismatch between WF outputs and WF inputs → signals in report
  • · Build order enforcement violated (leaf built before orchestrator) → JS topological sort catches
  • · Missing editScript in EXTEND mode → aborted
  • · WF build failure bubbles up with workflowId traceback
Trust signals
  • · Handover contracts validated against live n8n signatures
  • · Build order is JS control flow (topoSort), not agent-decided
  • · Architecture doc generated before build (enables rollback)
  • · Per-WF status reported with real IDs