Scaffold an n8n custom node
node.scaffoldGenerate a TypeScript skeleton for an n8n custom node from a plain-English description. Returns a complete code file with description, credentials, and an execute method stub.
Instructions
Scaffold a TypeScript skeleton for an n8n custom node from a plain-English description. Returns a single TypeScript file implementing INodeType with description, credentials reference, and an execute method stub. Pure code generation — no network, no filesystem writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeName | No | Optional PascalCase class name, e.g. 'DiscordRateLimited'. Derived from the description if omitted. | |
| description | Yes | Plain-English description of what the node should do (1+ chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The full TypeScript source of the scaffolded node. | |
| language | Yes | Always 'typescript' — n8n custom nodes are TS-only. | |
| node_name | Yes | PascalCase class name of the generated node. | |
| display_name | Yes | Human-readable display name shown in the n8n UI. |