{
execution_context: {
vars: {...}, // Workflow variables
system: {...}, // System data
context: {...}, // Execution context
metadata: {...} // Metadata
},
flow_events: [...], // Recent workflow events (last 10)
flow_info: {
id: "flow_abc123", // Flow ID
name: "My Flow", // Flow name
step_id: "step_xyz" // Current step ID
},
available_edges: [ // Condition labels from your DecideNode
"premium",
"standard",
"trial"
],
whatsapp_context: { // Only present when triggered by WhatsApp
conversation: {
id: "conv_123",
phone_number: "+1234567890",
status: "open",
last_active_at: "2024-01-15T10:30:00Z",
whatsapp_config_id: "config_abc",
metadata: {},
created_at: "2024-01-10T08:00:00Z",
updated_at: "2024-01-15T10:30:00Z"
},
messages: [ // All messages, ordered by created_at (oldest first)
{
id: "msg_001",
message_type: "text",
content: "Hello!",
direction: "inbound",
status: "delivered",
processing_status: "processed",
whatsapp_message_id: "wamid_abc",
origin: "user",
phone_number: "+1234567890",
has_media: false,
created_at: "2024-01-15T10:00:00Z",
updated_at: "2024-01-15T10:00:00Z"
}
]
}
}