Description
n8n-nodes-onevision
Community node package for integrating n8n with the OneVision Workspace Server REST API.
This repository ships one custom n8n node, one credential type, compiled runtime files under dist/, and documentation for the live workflow compatibility contract.
Install | Credentials | Repository Structure | Build Semantics | Runtime Semantics | Compatibility Contract | Operations | Validation
Install
n8n Community Nodes
In n8n:
1. Go to Settings > Community Nodes.
2. Select Install a community node.
3. Enter n8n-nodes-onevision.
4. Install and restart n8n.
Manual Install
npm install n8n-nodes-onevision
For repository development:
npm install
npm run build
Credentials
Credential type: oneVisionApi
Defined in credentials/OneVisionApi.credentials.ts.
| Field | Purpose |
| — | — |
| API Key | OneVision Workspace Server API key sent as X-API-Key |
| Base URL | OneVision Workspace Server base URL |
Repository Structure
Important tracked files and runtime outputs:
README.mdLICENSEpackage.jsonpackage-lock.jsontsconfig.jsoncredentials/OneVisionApi.credentials.tscredentials/OneVision.svgnodes/OneVision/OneVision.node.tsnodes/OneVision/OneVision.svgnodes/OneVision.svgdist/credentials/OneVisionApi.credentials.jsdist/credentials/OneVisionApi.credentials.d.tsdist/credentials/OneVision.svgdist/nodes/OneVision/OneVision.node.jsdist/nodes/OneVision/OneVision.node.d.tsdist/nodes/OneVision/OneVision.svgdist/nodes/OneVision.node.jsdist/nodes/OneVision.node.d.tsdist/nodes/OneVision.svgdocs/BUILDANDRELEASE.mddocs/WORKFLOW_COMPATIBILITY.mdnodes/OneVision/README.md
Build Semantics
Build command:
npm run build
Current build script:
node ./node_modules/typescript/bin/tsc
Development watch script:
node ./node_modules/typescript/bin/tsc --watch
The scripts call package entrypoints directly instead of relying on node_modules/.bin shims where possible. This keeps builds reliable on mounted shares where npm bin symlinks can be materialized as plain files.
Package manifest semantics:
| Field | Current value |
| — | — |
| Package | n8n-nodes-onevision |
| Runtime node entry | dist/nodes/OneVision/OneVision.node.js |
| Runtime credential entry | dist/credentials/OneVisionApi.credentials.js |
| Source node | nodes/OneVision/OneVision.node.ts |
| Source credential | credentials/OneVisionApi.credentials.ts |
| Icon | file:OneVision.svg |
More detail: Workflow Compatibility.
Operations
The node currently exposes 11 resources and 50 operation values. The authenticated OneVision OpenAPI export captured on 2026-05-22 has 43 REST operations; each one has a typed operation below, with legacy convenience operations preserved for existing workflows.
| Resource Display | Resource Value | Operations |
| — | — | — |
| Assembly Line | assemblyLine | activate, activateGet, deactivate, deactivateGet, getAll, getXml |
| Authentication | authentication | alive, login, logout |
| JMF | jmf | sendToAssemblyLine, sendToAssemblyLinePut, sendToMachine, sendToMachinePut |
| Job | job | delete, getAll, getFiles, getLog, getOverview, resumeActions, update |
| Job Start | jobStart | startHttp, startPace, startTicket |
| Module | module | getAll, getInfo, resumeContinueOnRest |
| Statistics | statistics | getCurrentAssemblyLines, getCurrentJobs, getCurrentMachines, getCurrentModules, getHistoryAssemblyLines, getHistoryMachines, getHistoryMetadata, getHistoryModules, getHistoryRunningJobs, getHistoryStartedFinished |
| Storage | storage | createFolder, deleteFile, getFile, getFolder, getMetadata, uploadFile |
| Substrate | substrate | getAll, getLastChanged |
| System | system | getBuildNumber, getJobStartEnabled, getSystemProblems, getVersion, setJobStartEnabled |
| API Request | apiRequest | make |
Service Notes
/ws/rest; it also accepts copied Swagger paths that start with /rest/ and normalizes them under /ws/rest.assemblyLine.activate and assemblyLine.deactivate use the current API’s name query parameter. The activateGet and deactivateGet variants exist because the OpenAPI exposes both GET and PUT methods.system.setJobStartEnabled sends enable=TRUE|FALSE as a query parameter, matching the current API.Validation
Minimum local validation:
npm run build
Minimum live validation after deployment:
1. Confirm n8n health is green.
2. Confirm n8n is loading the intended package commit.
3. Confirm the public icon route returns SVG.
4. Query saved workflows for n8n-nodes-onevision.oneVision nodes.
5. Validate saved typeVersion values against declared versions.
6. Validate saved resource and operation values against current option lists.
7. Open representative workflows in the n8n editor and verify icon, subtitle, resource, operation, and required fields.
Do not skip browser/editor validation after large node builds.
Related Docs
License
See the repository license file.