Templates

platphorm-native

Local Draft Artifact

Create a browser-local artifact draft with export/share/delegation fallback when server persistence is unavailable.

availableworkflowpublic-safe templatebuilt_in
Nodes
4
Edges
3
Version
3.0.0
Storage
local draft

Workflow graph

This is a reusable template graph. Opening it in Builder creates a browser-local draft that can be saved and reopened from Builder recent drafts or Gallery local drafts.

  1. Step 1 · start

    Start

    public-safe
  2. Step 2 · transform_json

    Create local artifact packet

    public-safe
  3. Step 3 · condition

    Offer export/share/delegate

    public-safe
  4. Step 4 · end

    Complete

    public-safe
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": "transform_json-2",
      "type": "transform_json",
      "label": "Create local artifact packet",
      "x": 310,
      "y": 240,
      "position": {
        "x": 310,
        "y": 240
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false,
        "storageMode": "local_browser"
      },
      "status": "idle",
      "metadata": {}
    },
    {
      "id": "condition-3",
      "type": "condition",
      "label": "Offer export/share/delegate",
      "x": 540,
      "y": 160,
      "position": {
        "x": 540,
        "y": 160
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false,
        "expression": "serverPersistenceAvailable || fallbackAvailable"
      },
      "status": "idle",
      "metadata": {}
    },
    {
      "id": "end-4",
      "type": "end",
      "label": "Complete",
      "x": 770,
      "y": 240,
      "position": {
        "x": 770,
        "y": 240
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false
      },
      "status": "idle",
      "metadata": {}
    }
  ],
  "edges": [
    {
      "id": "edge-1",
      "source": "start-1",
      "target": "transform_json-2",
      "sourceNodeId": "start-1",
      "targetNodeId": "transform_json-2",
      "condition": "success",
      "metadata": {}
    },
    {
      "id": "edge-2",
      "source": "transform_json-2",
      "target": "condition-3",
      "sourceNodeId": "transform_json-2",
      "targetNodeId": "condition-3",
      "metadata": {}
    },
    {
      "id": "edge-3",
      "source": "condition-3",
      "target": "end-4",
      "sourceNodeId": "condition-3",
      "targetNodeId": "end-4",
      "metadata": {}
    }
  ]
}