This object allows you to create custom Notification Types
which will create
interaction
instances (such as emails, text messages, etc.) automatically when case conditions are met. For example,
when a new bankruptcy
case is initiated
, the system can automatically send an email notification
and ask the borrower to provide supporting documents.
The conditions are set in the following way. There are two triggers and one condition fields that you can configure:
onStatus
- triggered based on the case status.onOutcome
- triggered based on the case outcome.onCondition
- condition(s) based on case fields values.You must provide at least one trigger, onStatus
or onOutcome
, when creating a new Notification Type
object.
Few examples:
onStatus=processing
, onOutcome=null
, onCondition=null
- the interaction
instance will be created when the case status is changed to processing
.onStatus=completed
, onOutcome=approved
, onCondition=null
- the interaction
instance will be created when the case status is changed to completed
and the outcome is approved
.Notification Types
must be associated with Case Types
. A Notification Type
object can
be associated with multiple Case Types
.
Create a new type configuration for triggering notifications.
Success
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "name": "",
- "description": "",
- "status": "draft",
- "onStatus": "initiated",
- "onOutcome": "approved",
- "onCondition": [
- {
- "fieldName": "string",
- "value": null,
- "dataType": "integer",
- "operator": "eq"
}
], - "channel": "voice",
- "theme": "agentNotification",
- "templateId": 0,
- "delay": 0,
- "unit": "calendarDays"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "name": "",
- "description": "",
- "status": "draft",
- "version": 1,
- "derivedFromTypeId": "0",
- "companyId": "string",
- "createdBy": 0,
- "publishedAt": "2019-08-24T14:15:22Z",
- "publishedBy": 0,
- "deprecatedAt": "2019-08-24T14:15:22Z",
- "deprecatedBy": 0,
- "deprecationMessage": "string",
- "onStatus": "initiated",
- "onOutcome": "approved",
- "onCondition": [
- {
- "fieldName": "string",
- "value": null,
- "dataType": "integer",
- "operator": "eq"
}
], - "channel": "voice",
- "theme": "agentNotification",
- "templateId": 0,
- "delay": 0,
- "unit": "calendarDays"
}
}
Success
{- "status": 0,
- "count": 0,
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "name": "",
- "description": "",
- "status": "draft",
- "version": 1,
- "derivedFromTypeId": "0",
- "companyId": "string",
- "createdBy": 0,
- "publishedAt": "2019-08-24T14:15:22Z",
- "publishedBy": 0,
- "deprecatedAt": "2019-08-24T14:15:22Z",
- "deprecatedBy": 0,
- "deprecationMessage": "string",
- "onStatus": "initiated",
- "onOutcome": "approved",
- "onCondition": [
- {
- "fieldName": "string",
- "value": null,
- "dataType": "integer",
- "operator": "eq"
}
], - "channel": "voice",
- "theme": "agentNotification",
- "templateId": 0,
- "delay": 0,
- "unit": "calendarDays"
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "name": "",
- "description": "",
- "status": "draft",
- "version": 1,
- "derivedFromTypeId": "0",
- "companyId": "string",
- "createdBy": 0,
- "publishedAt": "2019-08-24T14:15:22Z",
- "publishedBy": 0,
- "deprecatedAt": "2019-08-24T14:15:22Z",
- "deprecatedBy": 0,
- "deprecationMessage": "string",
- "onStatus": "initiated",
- "onOutcome": "approved",
- "onCondition": [
- {
- "fieldName": "string",
- "value": null,
- "dataType": "integer",
- "operator": "eq"
}
], - "channel": "voice",
- "theme": "agentNotification",
- "templateId": 0,
- "delay": 0,
- "unit": "calendarDays"
}
}
Change the triggering conditions and settings of a draft
type, or update the status
of an active
type to deprecated
.
Success
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "name": "",
- "description": "",
- "status": "draft",
- "onStatus": "initiated",
- "onOutcome": "approved",
- "onCondition": [
- {
- "fieldName": "string",
- "value": null,
- "dataType": "integer",
- "operator": "eq"
}
], - "channel": "voice",
- "theme": "agentNotification",
- "templateId": 0,
- "delay": 0,
- "unit": "calendarDays"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "name": "",
- "description": "",
- "status": "draft",
- "version": 1,
- "derivedFromTypeId": "0",
- "companyId": "string",
- "createdBy": 0,
- "publishedAt": "2019-08-24T14:15:22Z",
- "publishedBy": 0,
- "deprecatedAt": "2019-08-24T14:15:22Z",
- "deprecatedBy": 0,
- "deprecationMessage": "string",
- "onStatus": "initiated",
- "onOutcome": "approved",
- "onCondition": [
- {
- "fieldName": "string",
- "value": null,
- "dataType": "integer",
- "operator": "eq"
}
], - "channel": "voice",
- "theme": "agentNotification",
- "templateId": 0,
- "delay": 0,
- "unit": "calendarDays"
}
}