What problem does it solve? Writing n8n workflow JSON by hand is verbose and error-prone, and AI models often invent node types or versions that break at runtime. This Skill provides the official @n8n/workflow-sdk knowledge plus cached node registries so workflows are built with real node types, correct versions, and validated structure. ## Core Features & Use Cases - Programmatic Workflow Construction: Create workflows with a fluent TypeScript API using workflow(), node(), trigger(), and control-flow builders for IF/Else, Switch, Merge, and Split in Batches. - JSON Round-Tripping: Convert existing n8n workflow JSON to readable code with generateWorkflowCode(), modify it, and parse it back with parseWorkflowCode() without data loss. - Validation and Testing: Catch 23+ error conditions with validateWorkflow() and generate pin/test data from output declarations before deploying to n8n. - AI Agent Workflows: Build LangChain-based agents with languageModel(), tool(), memory(), and fromAi() subnode factories. - Use Case: A user asks for a workflow that receives a webhook, posts to Slack, and logs to Google Sheets. The Skill looks up the exact node types and versions from the cached registry, builds the workflow in code, validates it, and exports n8n-ready JSON. ## Quick Start Ask the agent to create an n8n workflow with the SDK, for example: build a workflow with a webhook trigger that fetches data from an API and transforms it with a Set node, then validate it and export the JSON.