n8n-workflow-sdk
Installation
SKILL.md
n8n Workflow SDK
Build, test, validate, and manage n8n workflows programmatically using the @n8n/workflow-sdk. This skill enables code-based workflow construction with full validation, JSON round-tripping, and testing support.
When You Need More Detail
This skill uses progressive disclosure. The SKILL.md covers the full workflow, decision-making, and quick-reference API. For complete patterns and examples, read these reference files:
references/workflow-building.md— Workflow creation, settings, JSON import/export, and complete building patternsreferences/nodes-and-connections.md— All node factories, subnodes (AI/LangChain), connection patterns, and credentialsreferences/control-flow.md— IF/Else, Switch/Case, Split in Batches, Merge, error handling, and branchingreferences/expressions-and-code.md— Expression system, Code node helpers, fromAi, and expression contextreferences/validation-and-testing.md— Workflow validation, pin data, test data generation, and testing strategiesreferences/code-generation.md— JSON-to-code, code-to-JSON, parseWorkflowCode, and the generation pipelinereferences/plugins-and-advanced.md— Plugin system, type generation, Zod schemas, and extensibilityreferences/node-registry-official.json— Cached registry of all 556 official n8n nodes (name, version, description)references/node-registry-community.json— Cached registry of community nodes (name, version, packageName)references/node-registry-properties.jsonl— Node properties/parameters (one JSON line per node, grep for a specific node)