Template JSON
{
"nodes": [
{
"id": "start-1",
"type": "start",
"label": "Start",
"x": 80,
"y": 160,
"position": {
"x": 80,
"y": 160
},
"config": {
"publicSafe": true,
"protectedAction": false
},
"status": "idle",
"metadata": {}
},
{
"id": "api_call-2",
"type": "api_call",
"label": "Preview content intake",
"x": 310,
"y": 240,
"position": {
"x": 310,
"y": 240
},
"config": {
"publicSafe": true,
"protectedAction": false,
"service": "opencontent.platphormnews.com"
},
"status": "idle",
"metadata": {}
},
{
"id": "docs_export-3",
"type": "docs_export",
"label": "Draft docs report",
"x": 540,
"y": 160,
"position": {
"x": 540,
"y": 160
},
"config": {
"publicSafe": true,
"protectedAction": false,
"target": "docs.platphormnews.com",
"mode": "draft"
},
"status": "idle",
"metadata": {}
},
{
"id": "approval-4",
"type": "approval",
"label": "Human publish approval",
"x": 770,
"y": 240,
"position": {
"x": 770,
"y": 240
},
"config": {
"publicSafe": false,
"protectedAction": true
},
"status": "idle",
"metadata": {}
},
{
"id": "api_call-5",
"type": "api_call",
"label": "Catalog publish proposal",
"x": 1000,
"y": 160,
"position": {
"x": 1000,
"y": 160
},
"config": {
"publicSafe": false,
"protectedAction": true,
"service": "catalog.platphormnews.com"
},
"status": "idle",
"metadata": {}
},
{
"id": "end-6",
"type": "end",
"label": "Complete",
"x": 1230,
"y": 240,
"position": {
"x": 1230,
"y": 240
},
"config": {
"publicSafe": true,
"protectedAction": false
},
"status": "idle",
"metadata": {}
}
],
"edges": [
{
"id": "edge-1",
"source": "start-1",
"target": "api_call-2",
"sourceNodeId": "start-1",
"targetNodeId": "api_call-2",
"condition": "success",
"metadata": {}
},
{
"id": "edge-2",
"source": "api_call-2",
"target": "docs_export-3",
"sourceNodeId": "api_call-2",
"targetNodeId": "docs_export-3",
"metadata": {}
},
{
"id": "edge-3",
"source": "docs_export-3",
"target": "approval-4",
"sourceNodeId": "docs_export-3",
"targetNodeId": "approval-4",
"metadata": {}
},
{
"id": "edge-4",
"source": "approval-4",
"target": "api_call-5",
"sourceNodeId": "approval-4",
"targetNodeId": "api_call-5",
"metadata": {}
},
{
"id": "edge-5",
"source": "api_call-5",
"target": "end-6",
"sourceNodeId": "api_call-5",
"targetNodeId": "end-6",
"metadata": {}
}
]
}