VocalDocscontracts 1.65.0

NotificationRule

A notification rule (1.60.0; channels.md section 2): an Organization-scoped notify that delivers a templated message about a Vocal event to a fixed destination, through a Connection and one of its notify tools.

An object with 14 fields.

Fields

FieldTypeRequiredDescription
connection_idConnectionIdyes
created_atTimestampyes
enabledbooleanyes
event_typesarray of NotificationEventTypeyesThe record event types it delivers (RECORD_EVENT_TYPES).
filterstring or nullyesA ZEN expression over the event envelope; null delivers every event.
fixed_argumentsNotificationArgumentsyesEvery argument but the text, fixed at save, such as the destination channel.
idNotificationRuleIdyes
namestringyes
object"notification_rule"yes
organization_idOrganizationIdyes
revisionintegeryes
templatestringyesThe text in the closed template language of prompt-manager.md section 3, over the event envelope's fields; in PHI mode the envelope carries identifiers only.
toolUpstreamToolNameyesA notify tool of the Connection's Connector.
updated_atTimestampyes

Used by

The operations whose parameters, request body or responses name this shape directly.