Event categories
Execution events - Flow lifecycleexecution_started- Flow beginsexecution_ended- Flow completesexecution_failed- Flow crashes
step_entered- Entering a stepstep_completed- Step finishes successfullystep_failed- Step encounters error
action_preparing- Setting up actionaction_executing- Running actionaction_performed- Action completesdecision_evaluated- Decide node chooses path
Accessing events
Test flows
Events appear in the Flow Events tab when testing flows. Events show step-by-step execution with timestamps and details.Production flows
View events in execution logs dashboard:- Project → Execution logs → Click execution → Events tab
- Real-time updates for active flows
- Full execution history
Key event types
Decision trackingdecision_evaluating- AI evaluating conditionsdecision_evaluated- Path chosen with reasoning
variables_set- Variables updated- Shows old/new values and source
ai_field_resolving- Processing AI promptai_field_resolved- AI response received
user_input_received- User respondedwait_timeout- Timeout triggered
step_failed- Step error with detailsaction_failed- Action error
Event structure
Each event includes:eventType- What happenedcreatedAt- Exact timestampstep- Associated step (if any)edgeLabel- Transition takenpayload- Event-specific data
- Decision events include prompt, response, model used
- Action events show parameters and results
- Error events contain error message and stack trace
- Variable events show before/after values

