What Are Workflows?
Workflows are visual, node-based systems that control how traces are processed. You build workflows by connecting nodes in a canvas - triggers, conditions, human intervention gates, notifications, and rejections. When a trace comes in and matches a trigger, the workflow executes node by node until it reaches an end state.How Workflows Work
Trace Created
A trace arrives from your AI system
Policy Assessment
Policies evaluate the trace and produce assessments
Trigger Evaluation
Workflow triggers check if they match the trace or its assessments
Node Execution
If a trigger matches, the workflow executes its nodes in sequence
Final State
Trace ends as Completed, Rejected, or waiting for human decision
Workflow Nodes
Build workflows using these node types:Trigger Nodes
Triggers define when a workflow should start executing.Policy Trigger
Fires when a specific policy matches. Configure which policy and what outcome (compliant/non-compliant).
Conditional Trigger
Fires based on custom conditions - check trace fields, arguments, or assessment data.
Action Nodes
Action nodes do something when reached.Human Intervention
Creates a review task and pauses the workflow until a human decides.
Notification
Sends an alert to configured channels without pausing.
Rejection
Marks the trace as rejected and ends the workflow.
Human Intervention Node
The human intervention node is where human review happens:| Setting | Description |
|---|---|
| Approvals Needed | How many people must approve |
| Timeout | How long to wait before escalation |
| Channels | Where to send the approval request |
- Approved → Continue to next node
- Declined → Execute decline path
- Change Requested → Execute change request path
- Error/Timeout → Execute error path
Notification Node
Send alerts without blocking:| Setting | Description |
|---|---|
| Channels | Slack, Email, Teams, or SMS |
| Include Details | Whether to include trace arguments |
| Include Policy Results | Whether to show assessment data |
Building a Workflow
- Go to Workflows in the dashboard
- Click Create Workflow or edit an existing one
- Drag nodes onto the canvas
- Connect nodes by dragging from outputs to inputs
- Configure each node by clicking on it
- Save and activate
Example: GDPR Review Workflow
Example: High-Value Transaction Workflow
Trigger Conditions
Conditional triggers can check:| Category | Fields |
|---|---|
| Trace | functionName, sourceName, direction, status |
| Arguments | Any key in trace.args |
| Metadata | Any key in trace.metadata |
| Assessment | confidence, riskLevel, compliant, tags, recommendation |
equals,not_equalscontains,not_containsgreater_than,less_thanin,not_in
When No Triggers Match
If no workflow triggers match a trace:- Trace is automatically marked as Completed
- No human review required
- Assessment data is still logged
Best Practices
Start Simple
Begin with one trigger and one action. Add complexity as needed.
Use Policy Triggers
Let your policies do the heavy lifting. Trigger workflows based on policy results.
Set Timeouts
Always configure timeouts on human intervention nodes to prevent stuck workflows.
Test First
Send test traces to verify your workflow behaves as expected.