Templates

phorm

Phorm Prompt-to-Interface Flow

Send a non-secret UI prompt to Phorm, receive a degraded or confirmed design artifact, and preview AgentUI mapping.

availablephorm_design_paneloperator boundary includedbuilt_in
Nodes
5
Edges
4
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 · phorm_design

    Request Phorm design preview

    public-safe
  3. Step 3 · transform_json

    Map layout to AgentUI form

    public-safe
  4. Step 4 · browserops_check

    Validate generated preview

    operator boundary
  5. Step 5 · 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": "phorm_design-2",
      "type": "phorm_design",
      "label": "Request Phorm design preview",
      "x": 310,
      "y": 240,
      "position": {
        "x": 310,
        "y": 240
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false,
        "service": "phorm.platphormnews.com",
        "mode": "prompt_to_interface"
      },
      "status": "idle",
      "metadata": {}
    },
    {
      "id": "transform_json-3",
      "type": "transform_json",
      "label": "Map layout to AgentUI form",
      "x": 540,
      "y": 160,
      "position": {
        "x": 540,
        "y": 160
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false,
        "output": "agentui_layout"
      },
      "status": "idle",
      "metadata": {}
    },
    {
      "id": "browserops_check-4",
      "type": "browserops_check",
      "label": "Validate generated preview",
      "x": 770,
      "y": 240,
      "position": {
        "x": 770,
        "y": 240
      },
      "config": {
        "publicSafe": false,
        "protectedAction": true,
        "service": "browserops.platphormnews.com"
      },
      "status": "idle",
      "metadata": {}
    },
    {
      "id": "end-5",
      "type": "end",
      "label": "Complete",
      "x": 1000,
      "y": 160,
      "position": {
        "x": 1000,
        "y": 160
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false
      },
      "status": "idle",
      "metadata": {}
    }
  ],
  "edges": [
    {
      "id": "edge-1",
      "source": "start-1",
      "target": "phorm_design-2",
      "sourceNodeId": "start-1",
      "targetNodeId": "phorm_design-2",
      "condition": "success",
      "metadata": {}
    },
    {
      "id": "edge-2",
      "source": "phorm_design-2",
      "target": "transform_json-3",
      "sourceNodeId": "phorm_design-2",
      "targetNodeId": "transform_json-3",
      "metadata": {}
    },
    {
      "id": "edge-3",
      "source": "transform_json-3",
      "target": "browserops_check-4",
      "sourceNodeId": "transform_json-3",
      "targetNodeId": "browserops_check-4",
      "metadata": {}
    },
    {
      "id": "edge-4",
      "source": "browserops_check-4",
      "target": "end-5",
      "sourceNodeId": "browserops_check-4",
      "targetNodeId": "end-5",
      "metadata": {}
    }
  ]
}