https://retellai.com/?utm_source=discord&utm_medium=seo logo
can you create me a conversational flow agent base...
# ❓・ai-evy-support
s
@AI Evy can you create me a conversational flow agent based on the script i will share
a
Thanks for tagging me @sahalshamas. I'll look through relevant sources and get back to you shortly.
### Answer I can't directly create the agent for you, but I can guide you through the process. To create a conversation flow agent, you can use the Retell Dashboard or the API [(1) ]() . The Dashboard provides a visual editor where you can design your agent using nodes and transitions . Using the Dashboard: Head to the Dashboard, create a new conversation flow agent and select a pre-built template to get started . You can modify the template to match your script - all changes are auto-saved . Using the API: You can create a conversation flow programmatically using the Create Conversation Flow endpoint [(2) ]() . Here's the basic structure:
Copy code
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-5', type: 'cascading' },
 nodes: [
 {
 id: 'start',
 instruction: { text: 'Greet the customer and ask how you can help them.', type: 'prompt' },
 type: 'conversation',
 },
 ],
 start_speaker: 'agent',
}) ;
Key Components: - **Nodes**: Define different scenarios in your conversation [(1) ]() - **Edges**: Connect nodes with transition conditions - **Global Settings**: Configuration that applies to the entire conversation Feel free to share your script, and I can help you understand how to structure it into nodes and transitions for your conversation flow agent. **
​ To learn more, see the sources I considered: [[1] Conversation Flow Overview](https://docs.retellai.com/build/conversation-flow/overview) [[2] Create Conversation Flow](https://docs.retellai.com/api-references/create-conversation-flow) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy is this script correct in conversational flow agent.
a
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
### Answer I don't see a script attached to your message that I can review. Could you share the script you'd like me to check for your conversation flow agent? Once you share it, I can help verify if it follows the correct structure for a conversation flow agent, which should include [(1) ]() : - Nodes with proper types (conversation, function, logic, or end nodes) - Edges with transition conditions connecting the nodes - Global Settings including global prompt, voice, and language settings Please paste or attach your script and I'll be happy to review it for you.
​ To learn more, see the sources I considered: [[1] Conversation Flow Overview](https://docs.retellai.com/build/conversation-flow/overview) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy is this script correct in conversational flow agent . Rapport_AskName Prompt: “I’m Stella from Table Waiterr, by the way. Sorry, I forgot to ask – what’s your name?” Example transitions: After the user responds with their name (saved as {{staff_name}} if staff or {{owner_name}} if owner) → go to Offer_Presentation. Offer_Presentation Prompt: “Great, {{staff_name}} (or {{owner_name}})! I’m reaching out from Table Waiterr. What we do is convert printed menus into interactive QR-code menus and place them on tables and at your entrance. We also promote your Scan‑to‑Order QR menus on Facebook, Instagram and Google to increase foot traffic. This way, when customers walk in, they can just scan the QR code, browse the menu, order, and pay right from their phones.” Example transitions: After this explanation, the agent proceeds to Role_Identify. Role_Identify Prompt: “By the way, are you the owner or manager of the restaurant? Or do you work here?” (friendly tone) Example transitions: If user says Yes (owner/manager) → go to Owner_Qualify_1. If user says No (staff) → go to Staff_GetOwnerName.
a
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
### Answer Your script structure is on the right track, but needs some adjustments to work correctly in Retell AI's conversation flow [(1) ]() . What's Correct: - You've identified distinct conversation stages (nodes) - You're using dynamic variables like
{{staff_name}}
and
{{owner_name}}
[(2) ]() - You have clear transition logic between nodes [(1) ]() What Needs Adjustment: 1. **Node Structure**: Each section should be a Conversation Node with proper instruction formatting [(3) ]() . Conversation nodes support either a Prompt (for dynamic generation) or Static Sentence (for fixed text) . 2. **Transitions**: Instead of "Example transitions," you need to define Edges with transition conditions [(1) ]() . Edges connect nodes and define how conversations progress based on user interactions . 3. **Dynamic Variables**: While you can use variables like
{{staff_name}}
, you'll need to capture these values through function calls or set them as dynamic variables in your flow [(2) ]() . 4. **Conditional Logic**: For the Role_Identify node where you branch based on user response (owner vs staff) , you'll need separate edges with prompt-based transition conditions [(3) ]() . Recommended Structure: Create three conversation nodes: - Rapport_AskName node with your greeting prompt - Offer_Presentation node with your pitch - Role_Identify node with your role question Then connect them with edge
​ To learn more, see the sources I considered: [[1] Conversation Flow Overview](https://docs.retellai.com/build/conversation-flow/overview) [[2] Step 1: Configure global settings](https://docs.retellai.com/build/conversation-flow/global-setting) [[3] Conversation Node](https://docs.retellai.com/build/conversation-flow/conversation-node) ​
s that have transition conditions like "When user provides their name" or "When user indicates they are the owner/manager" [(1) ]() . Would you like help structuring this into the actual node and edge format for the Retell AI dashboard or API?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
Transition Setup: - From Rapport_AskName to Offer_Presentation: Transition when user provides their name - From Offer_Presentation to Role_Identify: Transition automatically after presentation - From Role_Identify: Create two edges with transition conditions - one for "user indicates they are owner/manager" and another for "user indicates they are staff" Key Improvements: - Shortened prompts for better flow and reduced latency [(2) ]() - More conversational and natural language [(1) ]() - Clear transition points between nodes - Maintained your dynamic variable structure for personalization The conversation node is the most commonly used node type and allows multi-turn conversations within a single node . You don't need to create a new node for every sentence the agent says - it's recommended to split nodes when there's a logic split or when instructions get too long . Would you like help setting up the edges with specific transition conditions for the owner vs. staff branches?
### Answer I can help you restructure your script for better results in a conversation flow agent [(1) ]() . Node 1: Rapport_AskName (Conversation Node)
Copy code
Instruction Type: Prompt
Text: "Hi! I'm Stella from Table Waiterr. Before we continue, I'd love to know your name - what should I call you?"
Node 2: Offer_Presentation (Conversation Node)
Copy code
Instruction Type: Prompt
Text: "Thanks, {{staff_name}}! I'm reaching out from Table Waiterr. We help restaurants like yours convert printed menus into interactive QR-code menus that customers can scan right from their tables or at your entrance. We also promote these Scan-to-Order QR menus on Facebook, Instagram, and Google to drive more foot traffic. Customers can browse your menu, order, and pay directly from their phones - no app download needed."
Node 3: Role_Identify (Conversation Node)
Copy code
Instruction Type: Prompt
Text: "Quick question - are you the owner or manager of the restaurant, or are you part of the team here?"
​ To learn more, see the sources I considered: [[1] Conversation Node](https://docs.retellai.com/build/conversation-flow/conversation-node) [[2] Retell AI’s Advanced Conversation Flow | Retell AI](https://www.retellai.com/blog/unlocking-complex-interactions-with-retell-ais-conversation-flow) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
### Answer I don't see your full prompt attached to this message. Could you please share it so I can review and help optimize it for your conversation flow agent? Once you share it, I can help you: - Structure it into proper nodes with correct instruction formatting [(1) ]() - Set up edges with appropriate transition conditions [(2) ]() - Optimize prompts for better performance and reduced latency [(3) ]() - Ensure dynamic variables are properly configured [(4) ]() Please paste or attach your full script and I'll provide specific recommendations.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Node Overview](https://docs.retellai.com/build/conversation-flow/node) [[2] Step 3: Add transition conditions](https://docs.retellai.com/build/conversation-flow/transition-condition) [[3] Retell AI’s Advanced Conversation Flow | Retell AI](https://www.retellai.com/blog/unlocking-complex-interactions-with-retell-ais-conversation-flow) [[4] Conversation Flow Overview](https://docs.retellai.com/build/conversation-flow/overview) ​