Update a customer flow
Changed onUpdates a flow's title, description, branching mode, linked agents or flow-level expectations. The step graph is replaced through PUT /graph.
Request
- Base URLhttps://api.roark.ai
- URLhttps://api.roark.ai/v1/customer-flow/{flowId}
- AuthHTTP bearer
Path parameters
Request body
Example request
{
"agentExpectations": [
{
"prompt": "The agent confirmed the new appointment time back to the customer"
}
]
}Response
The updated customer flow
Example response
{
"data": {
"happyPath": {
"personaOverride": {
"backstoryPrompt": "A busy professional calling during lunch break",
"properties": {
"age": 35,
"zipCode": "94105",
"occupation": "Software Engineer"
},
"phoneNumber": "+19312830919"
}
},
"edgeCases": [
{
"personaOverride": {
"backstoryPrompt": "A busy professional calling during lunch break",
"properties": {
"age": 35,
"zipCode": "94105",
"occupation": "Software Engineer"
},
"phoneNumber": "+19312830919"
}
}
]
}
}Changes
- info
added the required property
////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
////to the response with the status - info
added the required property
/////to the response with the status
- info
- 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