invariance_case_event_create
Attach a semantic workflow event to a case, such as support.customer.escalated or approval.granted, to record meaningful facts. Use for filtering and rollups while keeping raw trace data in runs/nodes.
Instructions
Attach a semantic workflow event to a case, e.g. "support.customer.escalated", "approval.granted", or "docs.received". Prefer this for meaningful workflow facts; keep raw execution trace data in runs/nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Case id, e.g. "case_abc123". | |
| tags | No | Free-form labels for filtering and rollups. Normalized server-side. | |
| type | Yes | Dotted semantic event type. | |
| payload | No | JSON object string for event-specific fields. | |
| actor_id | No | ||
| actor_type | No | ||
| occurred_at | No | ISO-8601 source timestamp. Defaults to now. | |
| evidence_refs | No | JSON array of non-node evidence refs: tickets, docs, Slack, GitHub, meetings, URLs. | |
| evidence_node_ids | No | Node ids that justify this event. |