Create Your First n8n Custom Node in One Command (Part 2)

Create your first n8n custom node with n8n’s own scaffold command, npm create @n8n/node, and see it running inside n8n with hot reload. Part 2 of 10.

Launch your n8n integration - NativeShip

In this episode:

  • What you need installed (Node.js, and nothing else)
  • The scaffold’s questions, and why the package name must start with n8n-nodes-
  • The files it creates, and the four that matter
  • The n8n block in package.json: the first place to look when a node doesn’t show up
  • npm run dev, and hot reload

Chapters
0:00 An empty folder
0:35 What you need
0:50 npm create @n8n/node
1:44 The files it creates
2:20 The n8n block in package.json
2:48 npm run dev: your node in n8n
3:14 Hot reload
3:35 It is still the template
3:48 What’s next

The whole series: https://youtube.com/playlist?list=PLYkThRYZ5f5g&si=02jRVpLw554Tcyxu

2 Likes