Duplicate a customer flow
Changed onDeep-copies a flow into a new project-owned flow. The copy carries the source's description, branching mode, linked agents, flow-level expectations and flow-owned metrics. A scripted flow copies its whole step graph; an improv flow copies its variants (personas, briefs, expectations). Duplicating a Roark-managed flow is how you customise it. Voicemail flows are Roark-managed and cannot be duplicated.
Request
- Base URLhttps://api.roark.ai
- URLhttps://api.roark.ai/v1/customer-flow/{flowId}/duplicate
- AuthHTTP bearer
Path parameters
Request body
Example request
{
"title": "Reschedule an appointment (v2)"
}Response
The duplicated 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