Execution Engine
Workflow execution uses SSE (Server-Sent Events) streaming, delivering each node’s results in real-time. The frontend can display step-by-step progress:- Node ID and name
- Execution status (running / success / failed)
- Execution duration
- Output variables and values
Production-Grade Reliability
ZGI workflows are designed for production, not just demos:- Assertions — Define validation rules per node (e.g., “retrieval must return citations”, “output must match JSON schema”)
- Retry — Failed nodes auto-retry with configurable limits and backoff
- Fallback — When retries exhaust, degrade gracefully (e.g., output a “pending review” list instead of failing silently)
Workflow Lifecycle
- Draft — Edit and save on the visual canvas. Auto-saved every 30 seconds.
- Debug — Test with sample inputs. SSE streams node-by-node execution in the debug panel.
- Publish — One-click publish generates a version number and makes the workflow available via API or chat.
- Monitor — View run history, execution logs, token consumption, and error rates.