Update a customer flow
Updates a flow's title, description, branching mode, linked agents or flow-level expectations. The step graph is replaced through PUT /graph.
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"
}
}
},
"edgeCases": [
{
"personaOverride": {
"backstoryPrompt": "A busy professional calling during lunch break",
"properties": {
"age": 35,
"zipCode": "94105",
"occupation": "Software Engineer"
}
}
}
]
}
}Changes
Changed in 2 of the 105 revisions of this API.7
- ○
added the required property
data/oneOf[subschema #1: Scripted]/edgeCases/items/personaOverride/ageto the response with the200statusresponse-required-property-added
- ○
added the required property
data/oneOf[subschema #1: Scripted]/happyPath/oneOf[subschema #1: Scripted]/allOf[subschema #1: Scripted]/personaOverride/ageto the response with the200statusresponse-required-property-added
- ○
added the required property
data/oneOf[subschema #2: Improv]/edgeCases/items/personaOverride/ageto the response with the200statusresponse-required-property-added
- ○
added the required property
data/oneOf[subschema #2: Improv]/happyPath/oneOf[subschema #1: Improv]/allOf[subschema #1: Improv]/personaOverride/ageto the response with the200statusresponse-required-property-added
- ○
added the required property
data/oneOf[subschema #3: Voicemail]/edgeCases/items/personaOverride/ageto the response with the200statusresponse-required-property-added
- ○
added the required property
data/oneOf[subschema #3: Voicemail]/happyPath/oneOf[subschema #1: Voicemail]/allOf[subschema #1: Voicemail]/personaOverride/ageto the response with the200statusresponse-required-property-added
- ○
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○