Add TypeScript Intellisense to n8n Code Nodes with JSDoc - n8n Workflow | Neura Market
Add TypeScript Intellisense to n8n Code Nodes with JSDoc
Demonstrates a simple JSDoc pattern for TypeScript-like autocomplete in n8n Code nodes, enabling faster coding of complex automations with full property suggestions.
This workflow serves as a template to add TypeScript Intellisense support to n8n Code nodes using JSDoc comments. It fetches the current workflow data via the n8n API and processes it in a Code node where custom types (Workflow and Node) are defined with JSDoc typedefs. By casting input data to these types, developers gain autocomplete for properties like id, name, nodes array, and more, mimicking TypeScript behavior in the n8n editor.
The benefits are significant for productivity: reduced typi
Platform
n8n
Category
Finance
Price
$6.99
Creator
BestWorkflows
n8n
code-node
typescript
intellisense
jsdoc
development
productivity
template
automation
dev-tools
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.