Deep-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.
roark customer-flow duplicate <flow-id> [options]
Calls POST /v1/customer-flow/{flowId}/duplicate
Arguments
string
required
The flow-id.
Options
string
Title for the copy. Defaults to “Copy of” the source flow.
array
Agents to link on the copy. Omit to carry the source flow’s agents over. Required when the source is a Roark-managed flow with no agents of its own. Repeatable.