NotificationRule.
Which notices go to which channel for whom, with quiet hours and a digest cadence; never what happens, only who is told
Figure 1NotificationRulespecified
- kind
- definition
- scope
- tenant
- key
- the person and the name
- store
- postgres
- family
- leads
Fields#
| field | type | required | note |
|---|---|---|---|
name | text | yes | |
notices | [text] | yes | |
channel | NotificationChannel | yes | |
for_person | id | yes | |
quiet_hours | text | no | a range in the person’s zone |
digest | one of none | hourly | daily | yes |
Routes that use it#
/v1/act/notification_rulereturns it