Integrations
Build a Duaer node
Scaffold a project with the node CLI, write the node and its credential, lint and build it, then try it in Duaer.
Pick a style
- Declarative: describe the HTTP request for each operation in the node description. Good for plain REST APIs. Duaer handles paired items for you.
- Programmatic: implement execute() yourself. Use it for data transforms, pagination, SDK calls, or several requests per item.
Scaffold and build
- Run the first command below, pick a template (declarative or programmatic), and name the package. The name must start with n8n-nodes-; Duaer installs only community packages named that way.
- Write the node under nodes/ and its credential under credentials/.
- Run npm run lint and fix every error.
- Run npm run build. The output goes to dist/.
npm create @n8n/node@latest
cd <your-package>
npm run lint
npm run buildTry it in Duaer
After you publish the package to npm, the owner or an admin of the Duaer instance installs it by name under Settings › Community nodes, then finds it in the node panel. Refer to Publish a community node.
Questions
Should a Duaer node be declarative or programmatic?
Use declarative for a Duaer node when the API is plain REST and each operation is one request. Use programmatic when you need data transforms, pagination, or an SDK.
In this section
Duaer node reference
A Duaer node package holds node files, credential files, and codex files, all listed in package.json.
Create nodesPublish a Duaer community node
Publish to npm from GitHub Actions so each version carries npm provenance, then install it in Duaer by package name.
Create nodesCreate a custom node for Duaer
Write a node package for Duaer when built-in nodes and custom operations are not enough and you will reuse the step.