Update a workflow
Changed onPartially updates a workflow by its unique identifier workflowId
Request
- Base URLhttps://api.novu.co
- AuthAPI key in header Authorization
Path parameters
Headers
A header for idempotency purposes
Request body
Response
OK
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}}"
}
},
"integrationOverrides": {
"tool-webhook": {
"prod-alerts": {
"alert_type": "incident"
},
"staging-alerts": {
"alert_type": "test"
}
}
}
}
],
"preferences": {
"user": {
"channels": {
"email": {
"enabled": true
},
"sms": {
"enabled": false
}
}
},
"default": {
"channels": {
"email": {
"enabled": true
},
"sms": {
"enabled": false
}
}
}
}
}Changes
- breaking
the
response's property type changed from no type toobjectfor status - breaking
the
response's property type changed from no type toobjectfor status - breaking
the
/////response's property type changed from no type toobjectfor status - breaking
the
response's property type changed from no type toobjectfor status
- breaking
- info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status
- info