Package Information
Released: 8 mo ago
Downloads: 20 weekly / 58 monthly
Latest Version: 0.4.2
Available Nodes
Documentation
n8n-nodes-doppelganger
Official n8n community node that lets you run Doppelganger tasks directly through your workflow using the local or remote Doppelganger API.
Highlights
- Single
Execute Taskoperation that posts toPOST /tasks/:id/apiwith optional variables. - Credential-based authentication, so each workflow can point at a different Doppelganger server or API key.
- Task dropdown is populated dynamically by calling
/api/tasks/list, keeping the node synchronized with what the server exposes.
Requirements
- n8n (cloud or self-hosted) with community nodes enabled.
- Doppelganger server reachable from wherever n8n is running (default
http://localhost:11345). - Valid API key created via Doppelganger Settings.
Documentation
- For a full walkthrough of the n8n integration, see the official Doppelganger docs: https://doppelgangerdev.com/docs/n8n-integration.
Installation
Classic (recommended)
- In n8n, go to Settings -> Community Nodes.
- Enter
n8n-nodes-doppelganger. - Install the package and restart n8n if prompted.
Manual (from source)
npm install
npm run build
This compiles the TypeScript sources under src/ to dist/, copies the bundled assets, and makes the package usable as a community node.
Configuration
Credentials
The node uses the Doppelganger API credential type, which captures:
- Base URL - defaults to
http://localhost:11345. Trim trailing slashes. - API Key - stored securely and sent in the
x-api-keyheader on every request.
When you connect the credential, the node can reach the /api/tasks/list endpoint to populate the Task dropdown.
Node fields
- Operation - currently only
Execute Task. - Task - choose a task ID from the loaded list; the list is sorted by name and falls back to the raw ID when no name exists.
- Variables - optional fixed collection of key/value pairs that are sent in the request body under
variables. Leave blank to trigger the task with its default inputs.
Usage
- Add the
Doppelgangernode to your workflow and attach it to the steps that should trigger a task. - Select your
Doppelganger APIcredential. - Pick the task to run from the dropdown; it calls
/api/tasks/listautomatically via the credential. - Optionally define
Variablesto override or inject runtime data, either by hardcoding strings or by using expressions that reference previous nodes.
Each execution performs:
POST {baseUrl}/tasks/:taskId/api
Headers:
x-api-key: {api key}
Body:
{
"variables": {
"<name>": "<value>",
...
}
}
The node returns the JSON response from Doppelganger as the output data for downstream nodes.
Troubleshooting
- Tasks list is empty - confirm the credential's Base URL/API key, ensure n8n can reach the Doppelganger server, and that
/api/tasks/listreturns a payload. - Task run fails with HTTP error - review the Doppelganger logs for task-specific errors and confirm that the task ID exists.
- Variables are ignored - make sure each entry in the
Variablescollection has a non-emptyName; values can be empty strings but names are required.
Development
npm run buildcompiles TypeScript sources and copies icons intodist/.- After building, publish the package to npm (if desired) or load the folder as a local community node archive.
Contributing
- Fork this repo, implement fixes or nodes in
src/, and push a topic branch. - Run
npm run buildto regeneratedist/before submitting a pull request. - Describe how to reproduce or test your changes in the PR description.
License
Apache License 2.0 - see LICENSE.