Zernio::WorkflowExecutionEvent
Name
Type
Description
Notes
action
String
[optional]
status
String
[optional]
node_id
String
Present on `node_*` events
[optional]
node_type
String
Present on `node_*` events
[optional]
source_handle
String
The edge handle the executor followed out of this node (see `WorkflowEdge.sourceHandle`)
[optional]
duration_ms
Integer
Node run time; present on `node_completed` and `node_failed`
[optional]
error_message
String
Failure detail; present on `node_failed` and `execution_exited`
[optional]
meta
Hash<String, Object>
Per-node-type payload. Shape varies — see WorkflowNode `type`. Examples: `send_message` → `{ messageType, text, recipient }`, `webhook` → `{ url, method, statusCode, responseTimeMs, responsePreview }`, `ai` → `{ model, provider, inputTokens, outputTokens, responsePreview }`, `condition` → `{ matchedHandle, rulesEvaluated }`, `a_b_split` → `{ percentage, chosen }`.
[optional]
at
Time
Event timestamp (UTC)
[optional]
require 'zernio-sdk'
instance = Zernio ::WorkflowExecutionEvent . new (
action : null ,
status : null ,
node_id : null ,
node_type : null ,
source_handle : null ,
duration_ms : null ,
error_message : null ,
meta : null ,
at : null
)