Orchesty Node.js Worker - Blueprint
Orchesty integration worker with Node.js, TypeScript, and the Orchesty SDK
Starter for Orchesty integration workers built with Node.js, TypeScript, and @orchesty/nodejs-sdk. Register your Applications, Connectors, Batches, and custom Nodes, then connect the worker to your Orchesty instance.
Tech stack:
| Layer | Technology |
|---|---|
| Runtime | Node.js LTS, pnpm |
| SDK | @orchesty/nodejs-sdk |
| AI rules | @orchesty/nodejs-ai |
| Tests | Jest + ESLint |
The worker listens on port 8080. GET /applications returns {"items":[...]} once it is running.
Connect to Orchesty
The deploy dialog asks how the worker should reach Orchesty. Fill it in and the first deploy starts connected.
- Orchesty Cloud: enter your Tenant ID. Cloud region is prefilled with
eu2. - Self-hosted: enter Backend URL, Starting point URL, and Worker API host.
- Orchesty API key in both cases.
All fields are optional. If you skip them, the worker stops right after start until you set them:
- Open the worker service and go to Deployments → Env Vars.
- Set
ORCHESTY_API_KEYand eitherTENANT_ID(plusCLOUD_REGIONif noteu2) orBACKEND_URL,STARTING_POINT_URL, andWORKER_API_HOST. - Redeploy the service.
Once it runs, register the service's public URL as a worker in Orchesty.
CRYPT_SECRET is generated during the blueprint deploy and encrypts stored application credentials. Keep it stable. Changing it makes existing credentials unreadable.
Project Structure
├── src/
│ └── index.ts # Worker entry point: register Applications and Nodes here
├── .jest/ # Jest setup helpers
├── Dockerfile # Multi-stage production image
├── Makefile # install, start, test, lint, build
├── AGENTS.md # Setup workflow for AI coding assistants
└── .mcp.json # Rock8Cloud MCP endpoint for agent-driven deploysKey design decisions:
- The platform sets
PORTand the image maps it onto the SDK'sAPP_PORT. Do not setPORTyourself. AGENTS.mdtells AI coding assistants how to copy the Orchesty rules from@orchesty/nodejs-aiinto their own rule directory, so generated code follows Orchesty conventions.- Every push to your fork's
mainbranch redeploys the worker.
Environment Variables
| Variable | Required | Description |
|---|---|---|
CRYPT_SECRET | yes | Encrypts stored application credentials. Generated by the blueprint. |
ORCHESTY_API_KEY | yes | API key the worker uses to talk to Orchesty. |
TENANT_ID | Orchesty Cloud | Your Orchesty Cloud tenant. |
CLOUD_REGION | no | Orchesty Cloud region, default eu2. |
BACKEND_URL | self-hosted | Orchesty backend URL. |
STARTING_POINT_URL | self-hosted | Orchesty starting-point URL. |
WORKER_API_HOST | self-hosted | Orchesty worker-api URL. |
LOGGER_TYPE | no | Logger output format. |
Running Locally
make init-dev # installs deps, generates .env, starts the dev server
make init-dev-docker # same, inside a dev container (no local Node.js needed)
make test # lint + unit testsSee the Orchesty docs for building Applications and Connectors.