Sanjay
02/01/2026, 10:53 AMAI Evy
02/01/2026, 10:53 AMAI Evy
02/01/2026, 10:53 AMnodes parameter is defined as an array of nodes in the conversation flow. [(1) ]()
When updating a conversation flow, you would need to send the entire nodes array with all your nodes, not just the single node you want to modify.
Recommended approach:
1. First retrieve the current conversation flow using the Get Conversation Flow endpoint [(2) ]()
2. Modify the specific node in your local copy of the nodes array
3. Send the complete updated nodes array back via the Update Conversation Flow endpoint [(1) ]()
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const conversationFlowResponse = await client.conversationFlow.retrieve('conversation_flow_id') ;
console.log(conversationFlowResponse.conversation_flow_id) ;
[(2) ]()
This retrieves the full conversation flow, after which you can modify the specific node in the nodes array and submit the complete array back.AI Evy
02/01/2026, 10:53 AMAI Evy
02/01/2026, 10:53 AM