summerpuppet471
03/09/2026, 4:28 PMAI Evy
03/09/2026, 4:28 PMAI Evy
03/09/2026, 4:29 PMAI Evy
03/09/2026, 4:29 PMAI Evy
03/09/2026, 4:29 PMclient.conversationFlow.list() to retrieve your conversation flows. [(2) ]()
2. Create a new conversation flow with the same configuration using client.conversationFlow.create(). [(3) ]()
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const conversationFlowResponse = await client.conversationFlow.create({
model_choice: { model: 'gpt-4.1', type: 'cascading' },
nodes: [
{
id: 'start',
instruction: { text: 'Greet the customer and ask how you can help them.', type: 'prompt' },
type: 'conversation',
},
],
start_speaker: 'agent',
}) ;
console.log(conversationFlowResponse.conversation_flow_id) ;
You would retrieve the configuration from your existing conversation flow and pass those same parameters (nodes, model_choice, tools, global_prompt, etc.) to the create endpoint to duplicate it.