Docs · Workflows

Workflows

A Workflow is the governed process graph: collect → decide → tool/seal → human-in-the-loop. Forms, chat turns, and agents are interfaces onto the same graph.

JSON-LD sketch

{
  "@id": "urn:uuid:…",
  "schemaRef": "schema:workflow",
  "name": "Support ticket",
  "data": {
    "workflowId": "wf-support-ticket",
    "entry": "collect",
    "nodes": [
      {
        "id": "collect",
        "kind": "collect",
        "meta": {
          "fields": [
            { "name": "email", "type": "email", "required": true },
            { "name": "subject", "type": "text", "required": true },
            { "name": "body", "type": "textarea" }
          ]
        }
      },
      { "id": "notify", "kind": "tool", "tool": "email.notify" }
    ],
    "edges": [{ "from": "collect", "to": "notify" }]
  }
}

Runs produce Events (audit + attention). Public embeds host the collect surface without console chrome.

In Closure

  • Graph canvas + node inspector for precision
  • Triggers: manual, webhook, schedule, connector event
  • Packs ship workflow fixtures with the Experience
  • Hybrid orchestration — parallel gateways, waits, foreach, compensation, and multi-agent teams as one node: Orchestration

API: Workflows API