Publish Workflow
Publish a workflow so the current draft becomes the active published version. You can optionally provide a title and description for the version changelog.
The request body is the same regardless of the workflow's graph structure — you only need the current checksum and optional version metadata.
You can obtain the latest checksum from:
Create workflow response (
data.checksum), orUpdate workflow response (
data.checksum), orGet workflow by id (
data.checksum) — most reliable; always reflects server state.
Publish a workflow — promotes the current draft to an active published version.
Prerequisites:
The workflow must have been tested at least once after the last update (
testedAtmust be non-null).checksummust match the server's current value. Get it from: Create response, Update response, orGET /dev/v1/workflow/{entity-id}→data.checksum.
title and description are optional version changelog fields — use them to label releases (e.g. v1.0, Hotfix-2026-05).
To retrieve a specific published version's graph later, call GET /dev/v1/workflow/{entity-id}?version=v1.
Canonical response file: examples/publish_workflow_200.json
Your Nected API key. Obtain from your workspace settings.
The workflow entity ID
a1b2c3d4-e5f6-7890-abcd-ef1234567890Branch name (optional)
Request body for the publish endpoint
Current checksum of the workflow — must match server state
Short title for this published version (e.g. v1.0)
Changelog / description for this version
OK — workflow published.
Standard API response wrapper
Response payload — shape varies by endpoint
Bad Request
Internal Server Error
POST /dev/v1/workflow/{entity-id}/publish HTTP/1.1
Host: api.nected.ai
Nected-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 146
{
"checksum": "7f3d2a1b9c8e4f6a0d5b2c7e1a9f3d8c",
"title": "v1.0",
"description": "Initial production release — gold/silver/standard discount tiers."
}{
"data": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"version": "v1",
"publishedAt": "2026-05-31T10:00:00.000Z"
},
"code": "success",
"message": "Workflow Published Successfully."
}Copy-paste JSON example
Last updated