TriggerConfig
Defined in: types.ts:338
A trigger: fires on a cron or a webhook delivery and posts one or more
messages, each structurally mentioning its agent so the turn starts
through the ordinary message path. No emitter/command tier — see
[[ZOD081]] §Concept.
Properties
schedule?
optionalschedule?:string
Defined in: types.ts:340
Cron expression. Mutually exclusive with webhook: — exactly one is required.
webhook?
optionalwebhook?:WebhookTriggerConfig
Defined in: types.ts:342
Webhook ingress config. Mutually exclusive with schedule: — [[ZOD082]].
as
as:
string
Defined in: types.ts:344
Full MXID the trigger posts as, e.g. @cron:example.org.
messages
messages:
TriggerMessage[]
Defined in: types.ts:350
The messages this trigger can post. A flat room:/mention:/text:/
match: at the trigger level desugars into a single-entry list here at
config load — nothing downstream branches on which spelling was used.