yoavbg
07/31/2025, 4:56 AMAI Evy
07/31/2025, 4:56 AMAI Evy
07/31/2025, 4:57 AMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const conversationFlowResponse = await client.conversationFlow.create({
model_choice: { model: 'gpt-4o', type: 'cascading' },
nodes: [
{
id: 'start',
instruction: { text: 'Greet the customer and ask how you can help them.', type: 'prompt' },
type: 'conversation',
},
],
start_speaker: 'agent',
}) ;
[(3) ]()
MCP servers can be configured within conversation flows to extend agent capabilities, but they don't create the conversation flow agents themselves [(1) ]() . The conversation flow agents are created through the Retell AI API or dashboard interface [(3) ]() , [(4) ]() .AI Evy
07/31/2025, 4:57 AMAI Evy
07/31/2025, 4:57 AMyoavbg
07/31/2025, 4:58 AMAI Evy
07/31/2025, 4:58 AMAI Evy
07/31/2025, 4:58 AMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const conversationFlowResponse = await client.conversationFlow.create({
model_choice: { model: 'gpt-4o', type: 'cascading' },
nodes: [
{
id: 'start',
instruction: { text: 'Greet the customer and ask how you can help them.', type: 'prompt' },
type: 'conversation',
},
],
start_speaker: 'agent',
}) ;
Check out these potentially useful sources: [Create Conversation Flow]() , [Conversation Flow Overview]() , [Retell MCP Node Tutorial]()
Would you like a general answer based on my knowledge instead?AI Evy
07/31/2025, 4:58 AMAI Evy
07/31/2025, 4:58 AM