Package Information
Documentation
n8n-nodes-extended-template
This repo helps you get started building your own custom integrations for n8n. It includes the node linter and other dependencies.
This repository provides everything you need to build more advanced community nodes for n8n. It also includes a very small Example node that you can use as a reference when creating your own nodes.
To make your custom node available to the community, you must create it as an npm package, and submit it to the npm registry.
Prerequisites
You need the following installed on your development machine:
- git
- Node.js and pnpm. Minimum version Node 20. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL here. For Windows users, refer to Microsoft's guide to Install NodeJS on Windows.
- Install n8n with:
npm install n8n -g
- Recommended: follow n8n's guide to set up your development environment.
Using this starter
These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the documentation.
- Generate a new repository from this template repository.
- Clone your new repo:
git clone https://github.com/<your organization>/<your-repo-name>.git
- Run
npm i
to install dependencies. - Open the project in your editor.
- Add your node and credential files to
/nodes
and/credentials
. - Update the
package.json
to match your details. - Run
npm lint
to check for errors ornpm lintfix
to automatically fix errors when possible. - Test your node locally. Refer to Run your node locally for guidance.
- Replace this README with documentation for your node. Use the README_TEMPLATE to get started.
- Update the LICENSE file to use your details.
- Publish your package to npm.
Example node
The repository ships with a small Example node located in /nodes/Example
. It simply returns a greeting for the provided name. Use this node as a starting point for building your own extended nodes.
More information
Refer to our documentation on creating nodes for detailed information on building your own nodes.