Workflows¶
Workflows are visual automation assemblies built with React Flow. Use them when automation needs routing, reusable graph logic, typed connections, subworkflows, webhook triggers, or readable operator flow.
Create Workflow¶
- Open
Automation > Assemblies. - Select
New Workflow. - Drag nodes from sidebar onto canvas.
- Configure selected node in the side panel.
- Connect named ports.
- Save workflow assembly.
Read Workflow Canvas¶
- Trigger nodes start flow.
- Target nodes provide device sets.
- Action edges control execution route.
- Data edges pass target or result payloads.
- Debug Info previews expected runtime envelopes while authoring and shows persisted runtime details in run snapshots.
Run Workflow¶
Workflows can run manually, from scheduled jobs, from webhooks, or from watchdog remediation. Scheduled workflow jobs use one saved workflow and configure execution inside the workflow itself.
Repair Legacy Wiring¶
Older saved workflows may open for repair but be blocked from manual run, webhook run, or Scheduled Job selection until edges reconnect to current named ports.
Detailed Codex Breakdown
API endpoints¶
GET /api/assemblies/<assembly_guid>/export- load saved workflow.POST /api/assemblies/import- save workflow assembly.DELETE /api/assemblies/<assembly_guid>- delete user-domain workflow.GET /api/workflows/<workflow_guid>/editor-access- verify editor access.POST /api/workflows/run- start workflow run.GET /api/workflows/runs/<run_id>- load run snapshot.GET /api/workflows/runs/<run_id>/nodes/<node_id>- node run detail.GET /api/workflows/<workflow_guid>/webhooks- list webhooks.POST /api/workflows/<workflow_guid>/webhooks- create webhook.DELETE /api/workflows/<workflow_guid>/webhooks/<webhook_id>- delete webhook.
Related documentation¶
Source map¶
- Workflow editor controller:
Data/Engine/Containers/webui-frontend/data/web-interface/src/Flow_Editor/Flow_Editor.jsx - Canvas:
Data/Engine/Containers/webui-frontend/data/web-interface/src/Flow_Editor/Flow_Editor_Canvas.jsx - Sidebar:
Data/Engine/Containers/webui-frontend/data/web-interface/src/Flow_Editor/Flow_Editor_Sidebar.jsx - Node registry:
Data/Engine/Containers/webui-frontend/data/web-interface/src/Flow_Editor/nodeRegistry.js - Node source:
Data/Engine/Containers/webui-frontend/data/web-interface/src/nodes/ - Workflow API:
Data/Engine/Containers/api-backend/data/services/API/workflows/
Runtime behavior¶
- Node modules are auto-loaded with
import.meta.glob('../nodes/**/*.jsx', { eager: true }). - Workflow documents store
nodesandedgesinside encoded workflow payloads. - Runtime v1 uses named ports and route-aware Action edges.
- Workflow run snapshots are immutable inspection records.