Create a workflow
Creates a new workflow in the Novu Cloud environment
Request body
Example request
{
"steps": [
{
"controlValues": {
"skip": {
"and": [
{
"==": [
{
"var": "payload.tier"
},
"pro"
]
},
{
"==": [
{
"var": "subscriber.data.role"
},
"admin"
]
},
{
">": [
{
"var": "payload.amount"
},
"4"
]
}
]
}
}
}
],
"preferences": {
"user": {
"channels": {
"email": {
"enabled": true
},
"sms": {
"enabled": false
}
}
},
"workflow": {
"channels": {
"email": {
"enabled": true
},
"sms": {
"enabled": false
}
}
}
}
}Response
Created
Example response
{
"steps": [
{
"controls": {
"values": {
"skip": {
"and": [
{
"==": [
{
"var": "payload.tier"
},
"pro"
]
},
{
"==": [
{
"var": "subscriber.data.role"
},
"admin"
]
},
{
">": [
{
"var": "payload.amount"
},
"4"
]
}
]
}
}
},
"controlValues": {
"skip": {
"and": [
{
"==": [
{
"var": "payload.tier"
},
"pro"
]
},
{
"==": [
{
"var": "subscriber.data.role"
},
"admin"
]
},
{
">": [
{
"var": "payload.amount"
},
"4"
]
}
]
}
},
"providerOverrides": {
"slack": {
"text": "{{payload.title}}",
"blocks": [
{
"type": "divider"
}
]
},
"whatsapp-business": {
"type": "text",
"text": {
"body": "{{payload.title}}"
}
},
"pagerduty": {
"severity": "warning",
"source": "novu",
"summary": "{{payload.title}}"
}
}
}
],
"preferences": {
"user": {
"channels": {
"email": {
"enabled": true
},
"sms": {
"enabled": false
}
}
},
"default": {
"channels": {
"email": {
"enabled": true
},
"sms": {
"enabled": false
}
}
}
}
}Changes
Changed in 7 of the 13 revisions of this API.147675
- ▲
the
///////////response property's maxLength was unset from84for the response statusresponse-property-max-length-unset
- ▲
the
////////////////response property's maxLength was unset from84for the response statusresponse-property-max-length-unset
- ▲
- ●
added the new
CHAT_EDITOR_SELECTenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_EDITOR_SELECTenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_EDITOR_SELECTenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_EDITOR_SELECTenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_EDITOR_SELECTenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_EDITOR_SELECTenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_EDITOR_SELECTenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_EDITOR_SELECTenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_EDITOR_SELECTenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_EDITOR_SELECTenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_EDITOR_SELECTenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ○
added the new optional request property
///////////new-optional-request-property
- ○
added the optional property
///////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////////////////to the response with the statusresponse-optional-property-added
- ●
- ●
added the new
CHAT_CARD_INVALID_BUTTONenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_INVALID_BUTTONenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_INVALID_BUTTONenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_INVALID_BUTTONenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_INVALID_BUTTONenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_INVALID_BUTTONenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_INVALID_BUTTONenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_INVALID_BUTTONenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_INVALID_BUTTONenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_INVALID_BUTTONenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_INVALID_BUTTONenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_LIMIT_EXCEEDEDenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_LIMIT_EXCEEDEDenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_LIMIT_EXCEEDEDenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_LIMIT_EXCEEDEDenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_LIMIT_EXCEEDEDenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_LIMIT_EXCEEDEDenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_LIMIT_EXCEEDEDenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_LIMIT_EXCEEDEDenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_LIMIT_EXCEEDEDenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_LIMIT_EXCEEDEDenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
CHAT_CARD_LIMIT_EXCEEDEDenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////////to the response with the statusresponse-optional-property-added
- ●
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
///////////new-optional-request-property
- ○
added the new optional request property
///////////new-optional-request-property
- ○
added the new optional request property
///////////new-optional-request-property
- ○
added the new optional request property
///////////new-optional-request-property
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
///////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
///////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
///////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
///////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////////////////to the response with the statusresponse-optional-property-added
- ○
- ▲
the
//////response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
the
//////response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
the
//////response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
the
//////response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
the
//////response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
the
//////response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
the
//////response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
the
//////response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
the
//////response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
the
//////response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
the
//////response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ○
added the new optional request property
//////new-optional-request-property
- ○
added
tooldiscriminator mapping keys to the/request propertyrequest-property-discriminator-mapping-added
- ○
added to the
/request propertyoneOflistrequest-property-one-of-added
- ○
removed from the
//////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
//////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
//////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
//////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
//////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
//////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
//////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
//////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
//////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
//////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
//////response propertyallOflist for the response statusresponse-property-all-of-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
removed the optional property
///////////from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
////////////////from the response with the statusresponse-optional-property-removed
- ●
added the new
UNSUPPORTED_PROPERTYenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
UNSUPPORTED_PROPERTYenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
UNSUPPORTED_PROPERTYenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
UNSUPPORTED_PROPERTYenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
UNSUPPORTED_PROPERTYenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
UNSUPPORTED_PROPERTYenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
UNSUPPORTED_PROPERTYenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
UNSUPPORTED_PROPERTYenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
UNSUPPORTED_PROPERTYenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
UNSUPPORTED_PROPERTYenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
UNSUPPORTED_PROPERTYenum value to the//////////////response property for the response statusresponse-property-enum-value-added
- ○
added the optional property
//////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////to the response with the statusresponse-optional-property-added
- ●
- ▲
added to the
/response propertyoneOflist for the response statusresponse-property-one-of-added
- ●
added the new
TOOLenum value to the////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOLenum value to the////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOLenum value to the////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOLenum value to the////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOLenum value to the////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOLenum value to the////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOLenum value to the////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOLenum value to the////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOLenum value to the////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOLenum value to the////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_BODYenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_BODYenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_BODYenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_BODYenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_BODYenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_BODYenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_BODYenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_BODYenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_BODYenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_BODYenum value to the//////////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
toolenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
added the new
toolenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
added the new
toolenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
added the new
toolenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
added the new
toolenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
added the new
toolenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
added the new
toolenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
added the new
toolenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
added the new
toolenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
added the new
toolenum value to the//////response property for the response statusresponse-property-enum-value-added
- ○
added the new
toolenum value to the request property//////request-property-enum-value-added
- ○
added the new
toolenum value to the request property//////request-property-enum-value-added
- ○
added the new
toolenum value to the request property//////request-property-enum-value-added
- ○
added the new
toolenum value to the request property//////request-property-enum-value-added
- ○
added the new
toolenum value to the request property//////request-property-enum-value-added
- ○
added the new
toolenum value to the request property//////request-property-enum-value-added
- ○
added the new
toolenum value to the request property//////request-property-enum-value-added
- ○
added the new
toolenum value to the request property//////request-property-enum-value-added
- ○
added the new
toolenum value to the request property//////request-property-enum-value-added
- ○
added the new
toolenum value to the request property//////request-property-enum-value-added
- ○
added
tooldiscriminator mapping keys to the/response property for the response statusresponse-property-discriminator-mapping-added
- ▲