TriggerMessage
Defined in: types.ts:317
One message a trigger can post: a room, the agent to mention, the body
template, and — webhook triggers only — a CEL match: predicate gating
whether this message fires for a given delivery. See [[ZOD085]] §Design 4.
Properties
room
room:
string
Defined in: types.ts:319
Room id or alias the message goes to.
mention
mention:
string
Defined in: types.ts:321
Agent name (key in agents) to mention. Structural, never templated — §Design 3.
text
text:
string
Defined in: types.ts:323
The message body. Literal for a scheduled trigger; ${...} is CEL-interpolated for a webhook trigger.
match?
optionalmatch?:string
Defined in: types.ts:329
CEL predicate over the delivery (event, body, headers, output).
Absent means always fire. Only valid on a webhook: trigger — a
schedule trigger has no delivery to evaluate.