https://retellai.com/?utm_source=discord&utm_medium=seo logo
my ai agent talking consistently
# ❓・ai-evy-support
s
@AI Evy my ai agent talking consistently . its also saying pause for confirmation
a
Thanks for tagging me @sahalshamas. I'll look through relevant sources and get back to you shortly.
8505937952/1326210671008022663) . This involves training the agent to acknowledge potential interruptions by asking "Did you say something?" and then either resuming or addressing the actual interruption .
### Answer If your agent is speaking continuously and saying "pause for confirmation" without waiting for user input, here are several settings to adjust: Adjust Interruption Sensitivity You can control how easily the agent gets interrupted by adjusting the interruption sensitivity setting [(1) ]() [(2) ]() . Set it lower if you want the agent to be more resilient to background speech or user interruptions . Configure Responsiveness The responsiveness setting controls how responsive the agent is . Set it lower if you want the agent to respond slower, which can be useful for allowing more time for user input . Reducing responsiveness by 0.1 adds 0.5 seconds of agent wait time [(1) ]() . Use Pause Before Speaking There's a setting called "Pause before speaking" (also referred to as
begin_message_delay_ms
) that controls how long the agent waits before speaking at the beginning of a call [(3) ]() . For the beginning of the call, if the agent speaks first, it will wait for the configured duration before speaking [(1) ]() . Block Interruptions for Specific Nodes If you're using Conversation Flow, you can set the interruption sensitivity to 0 or block interruptions for specific nodes where you want the agent to complete its statement without being interrupted [(4) ]() . Prompt-Based Solution One community member shared a prompt-based approach to handle interruptions more gracefully [(5) ](
​ To learn more, see the sources I considered: [[1] Step 1: Configure global settings](https://docs.retellai.com/build/conversation-flow/global-setting) [[2] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) [[3] AI agent intro doesn't wait for user to speak, just says (waiting for there reponse) and keeps going](https://discord.com/channels/1186424376300679209/1402065109349695508) [[4] Agent Speaking for Both User and Assistant Roles](https://discord.com/channels/1186424376300679209/1433386000452681819) [[5] Discord message from @mattybgoood on 2025-01-07](https://discord.com/channels/1186424376300679209/1294891368505937952/1326210671008022663) ​
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'd be happy to review your universal prompt, but I don't see it attached to your message. Could you please share the prompt text you'd like me to check? In the meantime, here are some best practices for writing prompts in Retell AI: Sectional Prompts Break down your system prompts into smaller sections where each section has its focus, like identity, style, guideline, task & goals [(1) ]() . This makes prompts reusable, easier to maintain, and easier for the LLM to understand . Write Task as Steps If you want your agent to follow a specific procedure, write the task as steps . This helps the LLM understand what to ask at each step and ensures the agent doesn't pack all questions in one go . You can add
wait for user response
to be more explicit about when to pause . Global Prompt Location The global prompt (also called "general prompt" in multi-state setups) is where you specify the agent's persona, identity, and guardrails [(2) ]() [(3) ]() . This text will be available in every node and will influence all response generation [(2) ]() . Once you share your prompt, I can provide specific feedback on any potential issues.
​ To learn more, see the sources I considered: [[1] Write a single prompt](https://docs.retellai.com/build/single-multi-prompt/write-single-prompt) [[2] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) [[3] Get Retell LLM](https://docs.retellai.com/api-references/get-retell-llm) ​
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 the universal prompt attached to your message. Could you please share the prompt text you'd like me to review? In the meantime, here are key principles for writing effective prompts in Retell AI: Break Down Your Prompt into Sections Organize your system prompts into smaller sections where each section has a specific focus, like identity, style, guideline, task & goals [(1) ]() . This makes prompts reusable, easier to maintain, and easier for the LLM to understand . Write Tasks as Sequential Steps If you want your agent to follow a specific procedure, write the task as numbered steps . This helps the LLM understand what to ask at each step and ensures the agent doesn't pack all questions in one go . You can add "wait for user response" to be more explicit about when to pause . Define State Transition Logic When building multi-prompt agents, define clear conditions for transitioning between states [(2) ]() . For example, you can include prompts like "if yes, transition to your_next_state" or "if no or hesitant, call function end_call" . Specify When to Call Functions Define explicitly when to call functions in your prompts . For instance, "Once confirmed, call function book_appointment to book the appointment" . Once you share your universal prompt, I can provide specific feedback on potential issues or improvements.
​ To learn more, see the sources I considered: [[1] Single/Multi Prompt Agent Overview](https://docs.retellai.com/build/single-multi-prompt/prompt-overview) [[2] Build a multi-prompt agent](https://docs.retellai.com/build/single-multi-prompt/write-multi-prompt) ​
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 still don't see the universal prompt text in your messages. To review your prompt for errors, I need you to paste the actual prompt content. However, I can provide guidance on what to check when reviewing your universal prompt: Key Areas to Review Sectional Organization Break down your system prompts into smaller sections where each section has its focus, like identity, style, guideline, task & goals [(1) ]() . This makes prompts reusable, easier to maintain, and easier for the LLM to understand . Task Structure If you want your agent to follow a specific procedure, write the task as steps . This helps the LLM understand what to ask at each step and ensures the agent doesn't pack all questions in one go . You can add "wait for user response" to be more explicit about when to pause . Tone and Personality Define whether the voice agent should sound formal, casual, empathetic, urgent, etc. [(2) ]() . This framing helps maintain consistent brand voice . Behavioral Boundaries Limit what topics, actions, or types of advice the AI can engage with . This prevents the agent from going off-script or providing inappropriate responses . Common Issues to Check Based on your earlier concern about the agent talking consistently and saying "pause for confirmation," check if your prompt: - Has clear instructions about when to wait for user input - Defines appropriate pause points in the conversation - Specifies when the agent should stop speaking and listen Please paste your universal prompt text so I can provide specific feedback on any potential errors or improvements.
​ To learn more, see the sources I considered: [[1] Single/Multi Prompt Agent Overview](https://docs.retellai.com/build/single-multi-prompt/prompt-overview) [[2] Prompt Engineering](https://www.retellai.com/glossary/prompt-engineering) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy Stella is an Australian-accented female AI sales agent. She speaks in a warm, confident, and professional tone, aiming to build trust and rapport immediately. She avoids sounding like a stereotypical telemarketer (e.g. using phrases like “I’m reaching out to you…” instead of “calling you from”). Her goal is to qualify restaurant owners on their current menu/order process, explain Table Waiter’s digital menu and marketing solutions clearly, handle any objections, and guide the call toward closing a sale and scheduling onboarding. Style: Friendly, personable, respectful (e.g. uses the person’s name after introduction). Uses casual Australian turns of phrase (“right?”, “thanks”, small humor). Always listens and responds naturally. Objectives: Build strong rapport (get agreement early), introduce Table Waiter’s QR menu offer, gather qualifying information, overcome objections, and close the sale by enrolling the restaurant. 1. Rapport Building Stella: (in cheerful tone) “Hi, is this {{restaurant_name}} ?” (pause for confirmation) Owner/Staff: “Yes.” Stella: “Fantastic –“Thanks. I got your number from Google. You serve some great food there, right?”” (pause, expect “Yes”) Owner/Staff: “Yes, we do.” Stella: “Excellent! I’m Stella, by the way. Sorry, I didn’t catch your name – what should I call you?” (pause for name) {{owner_name}}/{{staff_name}}: “[Name].” Stella: “Great to meet you, [Name]! Thanks for confirming. I just wanted to ask a couple of quick questions about your restaurant and share something that might help you.” (Uses their name to build connection.). i can only paste this . when i paste full it goes as file
a
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
### Answer Thanks for sharing the first part of your universal prompt! Based on what you've shared and best practices for Retell AI prompts, here's my feedback: ## What's Working Well Your prompt has strong elements: - Clear identity and personality definition for Stella [(1) ]() - Defined tone and behavioral boundaries - Natural conversation flow with pause points ## Key Issues to Address 1. Missing Explicit Wait Instructions Your script shows "(pause for confirmation) " and "(pause for name) " but doesn't explicitly tell the LLM to wait for user response [(2) ]() . This could be why your agent talks consistently without pausing. Fix: Add explicit wait instructions like: - "Wait for user response before continuing" - "Do not proceed until the user responds" 2. Script Format vs. LLM Prompt Your prompt reads more like a script with back-and-forth dialogue rather than instructions for an LLM [(2) ]() [(3) ]() . The LLM needs clear behavioral instructions, not a screenplay. Better Format:
Copy code
## Identity
You are Stella, an Australian-accented female AI sales agent for Table Waiter.

## Style
- Warm, confident, and professional tone
- Use casual Australian phrases ("right?", "thanks")
- Always use the person's name after introduction
- Avoid telemarketer phrases like "I'm reaching out to you"

## Task (as steps)
Step 1: Confirm you're speaking with {{restaurant_name}}. Wait for confirmation.
Step 2: Build rapport by mentioning their food. Wait for response.
Step 3: Introduce yourself and ask for their name. Wait for their name.
Step 4: [Continue with remaining steps]
[(2) ]() 3. Sectional Organization Break your prompt into focused sections: identity, style, guidelines, task & goals [(4) ]() . This makes it easier for the LLM to understand and maintain . 4. Function Calling If you need to book appointments or update CRM data during the call, define explicitly when to call those functions [(5) ]() . ## Recommended Structure Based on Retell AI best practices [(2) ]() [(3) ]() :
Copy code
## Identity
[Who Stella is and what she represents]

## Style Guardrails
- Be conversational and natural
- Use Australian phrases appropriately
- Always pause after questions

## Task & Goals (as sequential steps)
Step 1: [Action]. Wait for user response.
Step 2: [Action]. Wait for user response.
[Continue...]

## Behavioral Boundaries
- Never proceed without user confirmation
- If user seems hesitant, [specific action]
- Escalate to human if [condition]
Would you like me to help restructure your full prompt once you can share it? You can upload it as a file if it's too long to paste.
​ To learn more, see the sources I considered: [[1] Prompt Engineering](https://www.retellai.com/glossary/prompt-engineering) [[2] How to Write Voice Bot Scripts That Engage Users | Retell AI](https://www.retellai.com/blog/how-to-write-voice-bot-prompt) [[3] Prompt-Based vs. Conversational Pathway | Retell AI](https://www.retellai.com/blog/prompt-based-vs-conversational-pathways-choosing-the-right-approach) [[4] Integrate LLM](https://docs.retellai.com/integrate-llm/integrate-llm) [[5] 2025 B2B Guide to AI Phone Calls & Voice Agents | Retell AI | Retell AI](https://www.retellai.com/blog/b2b-guide-to-ai-phone-calls) ​
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 can see you're trying to share your universal prompt but it's getting cut off. Based on the conversation history and the portion you've shared, I can provide additional specific feedback: ## Critical Issue: Your Prompt Format Your current prompt reads like a dialogue script rather than LLM instructions [(1) ]() . The format with "Stella: (in cheerful tone) " and "Owner/Staff: 'Yes.'" is telling the LLM what both sides should say, which can cause the agent to speak continuously without waiting . ## How to Fix This Use Sectional Prompts [(1) ]() [(2) ]() Break your prompt into focused sections:
Copy code
## Identity
You are Stella, an Australian-accented female AI sales agent for Table Waiter.
Your role is to qualify restaurant owners and explain Table Waiter's digital menu solutions.

## Style Guardrails
Be conversational: Use natural language, contractions, and casual Australian phrases.
Be personable: Use the person's name after introduction.
Avoid telemarketer language: Don't say "I'm reaching out to you."

## Task Instructions
1. Confirm you're speaking with {{restaurant_name}}. 
   Wait for user response.
2. Build rapport by mentioning their food quality.
   Wait for user response.
3. Introduce yourself and ask for their name.
   Wait for user response.
4. [Continue with remaining steps]
Explicit Tool Calling Instructions [(1) ]() If you need to use functions during the call, specify exact conditions:
Copy code
## Tool Usage Instructions
- If customer confirms interest in demo:
  → Call function `schedule_demo` with their availability
- If customer mentions current system issues:
  → Transition to solution_presentation_state
## Additional Recommendations For Preventing Continuous Speech [(3) ]() Use prompt engineering to handle pauses: "Ask one question at a time: Avoid overwhelming the caller with multiple questions" [(1) ]() . You can also use words like "strictly" and "mandatorily" to enforce behavior [(3) ]() . Consider Conversation Flow [(4) ]() If your agent needs to handle complex logic with multiple decision branches, consider switching to Conversation Flow agents instead of trying to manage everything in a single prompt [(1) ]() . Conversation Flow provides more deterministic control over when tools are called and when transitions happen [(4) ]() . To share your full prompt, you can upload it as a file attachment in Discord, and I can provide more comprehensive feedback.
​ To learn more, see the sources I considered: [[1] Prompt Engineering Guide](https://docs.retellai.com/build/prompt-engineering-guide) [[2] Write a single prompt](https://docs.retellai.com/build/single-multi-prompt/write-single-prompt) [[3] Discord message from @talha1216 on 2024-06-17](https://discord.com/channels/1186424376300679209/1186462578310910112/1252304251208597534) [[4] 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 can see you've uploaded a file - let me help you review your universal prompt for Stella, your AI sales agent. Main Issue: Script Format vs. LLM Instructions Your prompt is written as a dialogue script (with "Stella:" and "Owner/Staff:") rather than instructions for the LLM [(1) ]() . This format can cause the agent to speak continuously without properly waiting for user responses. Recommended Structure Use sectional prompts to organize your instructions [(1) ]() [(2) ]() :
Copy code
## Identity
You are Stella, an Australian-accented female AI sales agent for Table Waiter.
Your role is to qualify restaurant owners and explain Table Waiter's digital menu solutions.

## Style Guardrails
Be concise: Keep responses under 2 sentences unless explaining complex topics.
Be conversational: Use natural language, contractions, and casual Australian phrases.
Be personable: Use the person's name after introduction.

## Response Guidelines
Ask one question at a time: Avoid overwhelming the caller with multiple questions.
Confirm understanding: Paraphrase important information back to the caller.

## Task Instructions
1. Confirm you're speaking with {{restaurant_name}}.
   Wait for user response.
2. Build rapport by mentioning their food quality.
   Wait for user response.
3. Introduce yourself and ask for their name.
   Wait for user response.
4. [Continue with remaining steps]
Key Changes Needed 1. Add explicit "Wait for user response" instructions after each step where you need the user to reply [(2) ]() 2. Remove the back-and-forth dialogue format - the LLM doesn't need to see what the user might say [(1) ]() 3. Use clear step-by-step tasks rather than a screenplay format [(2) ]() For Your Specific Issue Since your agent is saying "pause for confirmation" and talking consistently, add these guardrails [(1) ]() : - "Ask one question at a time: Avoid overwhelming the caller with multiple questions" - "Wait for user response before proceeding to the next step" Would you like me to help restructure the full prompt once you share the complete file?
​ To learn more, see the sources I considered: [[1] Prompt Engineering Guide](https://docs.retellai.com/build/prompt-engineering-guide) [[2] Write a single prompt](https://docs.retellai.com/build/single-multi-prompt/write-single-prompt) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy Voice Persona & Objectives Stella is an Australian-accented female AI sales agent. She speaks in a warm, confident, and professional tone, aiming to build trust and rapport immediately. She avoids sounding like a stereotypical telemarketer (e.g. using phrases like “I’m reaching out to you…” instead of “calling you from”). Her goal is to qualify restaurant owners on their current menu/order process, explain Table Waiter’s digital menu and marketing solutions clearly, handle any objections, and guide the call toward closing a sale and scheduling onboarding. ## Style Guardrails Be concise: Keep responses under 2 sentences unless explaining complex topics. Be conversational: Use natural language, contractions, and casual Australian phrases. Be personable: Use the person's name after introduction. Objectives: Build strong rapport (get agreement early), introduce Table Waiter’s QR menu offer, gather qualifying information, overcome objections, and close the sale by enrolling the restaurant. change this into a good ouput
a
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
### Answer Here's your prompt restructured following Retell AI best practices:
Copy code
## Identity
You are Stella, an Australian-accented female AI sales agent for Table Waiter [(1) ](<https://docs.retellai.com/build/prompt-engineering-guide>) .
Your role is to qualify restaurant owners on their current menu/order process and explain Table Waiter's digital menu and marketing solutions .

## Style Guardrails
Be concise: Keep responses under 2 sentences unless explaining complex topics .
Be conversational: Use natural language, contractions, and casual Australian phrases .
Be personable: Use the person's name after introduction .
Avoid telemarketer language: Don't use phrases like "I'm reaching out to you" .

## Response Guidelines
Ask one question at a time: Avoid overwhelming the caller with multiple questions .
Confirm understanding: Paraphrase important information back to the caller .

## Task Instructions
Your goal is to build rapport, introduce Table Waiter's QR menu offer, gather qualifying information, overcome objections, and close the sale by enrolling the restaurant .

[Continue with specific steps here, each followed by "Wait for user response"]
Key improvements: - Sectional organization makes it easier for the LLM to understand - Removed dialogue script format that was causing continuous speech - Added "Response Guidelines" section to enforce pausing behavior - Structured for step-by-step task execution [(2) ]() This format should resolve your issue with the agent talking consistently without pausing [(1) ]() .
​ To learn more, see the sources I considered: [[1] Prompt Engineering Guide](https://docs.retellai.com/build/prompt-engineering-guide) [[2] Integrate LLM](https://docs.retellai.com/integrate-llm/integrate-llm) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy this is my client script for outbound voice agent. can you provide me universal prompt, prompt tree , knowledge base etc https://cdn.discordapp.com/attachments/1444732430182514718/1445003058982686841/CLIENT_HARRY.pdf?ex=692ec378&is=692d71f8&hm=4e87fc6ca7cb0be98a64720ef8c59210f094008ebef73fc32d0a6e80026d06ed&
a
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
### Answer \I can see you've uploaded a client script, but I don't have access to view the file content directly. However, I can guide you on how to structure your outbound voice agent with Retell AI based on best practices. ## Universal Prompt Structure For your outbound sales agent, use this sectional format [(1) ]() :
Copy code
## Identity
You are Stella, an Australian-accented female AI sales agent for Table Waiter.
Your role is to qualify restaurant owners and explain Table Waiter's digital menu solutions.

## Style Guardrails
Be concise: Keep responses under 2 sentences unless explaining complex topics.
Be conversational: Use natural language, contractions, and casual Australian phrases.
Be personable: Use the person's name after introduction.
Avoid telemarketer language: Don't use phrases like "I'm reaching out to you."

## Response Guidelines
Ask one question at a time: Avoid overwhelming the caller with multiple questions.
Wait for user response before proceeding to the next step.
Confirm understanding: Paraphrase important information back to the caller.

## Task Instructions
[Add your specific steps here, each followed by "Wait for user response"]
r 0.1 reduction) - Interruption Sensitivity - Control how easily agent gets interrupted - Voicemail Detection - Set up handling for voicemail scenarios If you can share the specific content of your client script (paste it as text) , I can provide more tailored recommendations for structuring your prompts and states. **
## Multi-Prompt vs Single Prompt Consider Multi-Prompt if: - Your script has more than 3 functions - You need different behavior at different conversation stages - Your single prompt exceeds 500 words Multi-Prompt Benefits: - Each state has focused prompts and specific functions - Better function control (tools available only when appropriate) - Easier debugging (issues isolated to specific states) - Predictable behavior with clear state transitions For example, you could structure states like: - State 1: Lead Qualification - Gather customer information - State 2: Solution Presentation - Explain Table Waiter features - State 3: Objection Handling - Address concerns - State 4: Closing - Schedule onboarding ## Knowledge Base Setup You can create knowledge bases to provide context to your agent [(2) ]() : 1. Navigate to "Knowledge Base" tab in your dashboard 2. Add sources via: - URLs - Import web content about Table Waiter features - Files - Upload product documentation (PDF, DOCX, etc.) - Text - Add specific pricing or feature details 3. Connect to your agent in the agent editor 4. Configure retrieval settings (recommended: 3 chunks, 0.60 similarity threshold) Best Practices for Knowledge Base: - Use Markdown format with clear headings - Keep sections focused and reasonably short - Group related information within the same section - Avoid ambiguity - use specific names, dates, and details ## Global Settings to Configure In your agent settings, configure [(3) ]() : - Voice Settings - Select an Australian-accented voice - Conversation Initiation - Set to "Agent-First" for outbound calls - Responsiveness - Adjust how quickly agent responds (lower = slower, adds 0.5s pe
​ To learn more, see the sources I considered: [[1] Single/Multi Prompt Agent Overview](https://docs.retellai.com/build/single-multi-prompt/prompt-overview) [[2] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[3] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) ​
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.
​ To learn more, see the sources I considered: [[1] Prompt Engineering Guide](https://docs.retellai.com/build/prompt-engineering-guide) [[2] Single/Multi Prompt Agent Overview](https://docs.retellai.com/build/single-multi-prompt/prompt-overview) [[3] Knowledge Base](https://docs.retellai.com/build/knowledge-base) ​
## Multi-Prompt Tree Recommendation Since you're building an outbound sales agent, consider using a multi-prompt structure if your conversation has distinct phases [(2) ]() : - State 1: Rapport Building - Confirm contact, introduce yourself, get name - State 2: Qualification - Assess current menu system, identify pain points - State 3: Solution Presentation - Explain Table Waiter features and benefits - State 4: Objection Handling - Address concerns and hesitations - State 5: Closing - Schedule demo or onboarding Each state would have focused prompts and only relevant tools available . ## Knowledge Base Setup To add supporting information about Table Waiter [(3) ]() : 1. Navigate to "Knowledge Base" tab in your dashboard 2. Add sources via: - URLs - Import web content about your product features - Files - Upload product documentation (PDF, DOCX, MD) - Text - Add specific pricing or feature details 3. Connect to your agent in the agent editor 4. Configure retrieval settings (recommended: 3 chunks, 0.60 similarity threshold) Please upload your client script file again so I can provide specific recommendations for structuring your prompts and states.
### Answer I don't see a file attached to your message. Could you please upload the file again or paste the content directly in your message? In the meantime, based on our conversation history about your Table Waiter outbound sales script, here's what I can help you create: ## Universal Prompt Structure Using Retell AI best practices for sectional prompts [(1) ]() :
Copy code
## Identity
You are Stella, an Australian-accented female AI sales agent for Table Waiter.
Your role is to qualify restaurant owners on their current menu/order process and explain Table Waiter's digital menu and marketing solutions.

## Style Guardrails
Be concise: Keep responses under 2 sentences unless explaining complex topics.
Be conversational: Use natural language, contractions, and casual Australian phrases.
Be personable: Use the person's name after introduction.
Avoid telemarketer language: Don't use phrases like "I'm reaching out to you."

## Response Guidelines
Ask one question at a time: Avoid overwhelming the caller with multiple questions.
Wait for user response before proceeding to the next step.
Confirm understanding: Paraphrase important information back to the caller.

## Task Instructions
[Your specific conversation steps will go here, each followed by "Wait for user response"]
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.
## Multi-Prompt Tree Recommendation For an outbound sales agent with multiple conversation phases, consider using a multi-prompt structure [(1) ]() : When to use Multi-Prompt: - Your conversation has more than 3 functions - You need different behavior at different stages - Your single prompt exceeds 500 words Suggested State Structure: - State 1: Rapport Building & Qualification - Confirm contact, gather basic info - State 2: Needs Assessment - Identify current menu system pain points - State 3: Solution Presentation - Explain Table Waiter features - State 4: Objection Handling - Address concerns - State 5: Closing - Schedule demo/onboarding ## Knowledge Base Setup To provide context about Table Waiter to your agent [(3) ]() : 1. Navigate to "Knowledge Base" tab in your dashboard 2. Add sources via: - URLs - Import web content about Table Waiter features (max 500 URLs) - Files - Upload product documentation in .pdf, .docx, .md formats (max 25 files, 50MB each) - Text - Add specific pricing or feature details (max 50 text snippets) 3. Connect to your agent in the agent editor 4. Configure retrieval settings: - Chunks to retrieve: 3 (recommended) - Similarity threshold: 0.60 (recommended) Knowledge Base Best Practices: - Prefer Markdown format with clear headings - Keep sections focused and reasonably short - Group related information within the same section - Use specific names, dates, and details to avoid ambiguity ## Agent Configuration Settings Configure these essential settings for your outbound agent [(4) ]() : Voice Settings: - Select an Australian-accented voice from the voice selection dropdown
### Answer I can see you've uploaded another file. To help you create a comprehensive setup for your Table Waiter outbound voice agent, I'll need to see the content of your client script. However, let me provide you with a complete framework based on Retell AI best practices: ## Universal Prompt Structure Based on your sales script requirements, here's a properly structured universal prompt [(1) ]() [(2) ]() :
Copy code
## Identity
You are Stella, an Australian-accented female AI sales agent for Table Waiter.
Your role is to qualify restaurant owners on their current menu/order process and explain Table Waiter's digital menu and marketing solutions.

## Style Guardrails
Be concise: Keep responses under 2 sentences unless explaining complex topics.
Be conversational: Use natural language, contractions, and casual Australian phrases.
Be personable: Use the person's name after introduction.
Avoid telemarketer language: Don't use phrases like "I'm reaching out to you."

## Response Guidelines
Ask one question at a time: Avoid overwhelming the caller with multiple questions.
Wait for user response before proceeding to the next step.
Confirm understanding: Paraphrase important information back to the caller.
Never proceed without user confirmation.

## Task Instructions
[Your specific conversation flow steps will be added here based on your script]
Conversation Initiation: - Set to "Agent-First" for outbound calls - Configure a fixed welcome message or use prompts to guide opening Speech Settings: - **Responsiveness**: Adjust how quickly agent responds (reducing by 0.1 adds 0.5s wait time) - **Interruption Sensitivity**: Control how easily agent gets interrupted - **Backchanneling**: Set up acknowledgment words and frequency Call Settings: - Configure voicemail detection and handling - Set maximum call duration - Enable "End call on silence" if needed ## Making Outbound Calls To initiate outbound calls [(5) ]() [(6) ]() : Prerequisites: - A Retell-managed or imported phone number - Agent configured and bound to the phone number - API key for authentication [(5) ]() Key Parameters: - `from_number`: Your Retell number in E.164 format (e.g., "+14157774444") - `to_number`: Destination number in E.164 format (e.g., "+12137774445") - `override_agent_id`: The agent ID to use for this call - `retell_llm_dynamic_variables`: Inject dynamic variables like customer names Please upload your client script file again or paste its content directly so I can provide specific recommendations for structuring your prompts, states, and knowledge base content tailored to your exact use case.
​ To learn more, see the sources I considered: [[1] Single/Multi Prompt Agent Overview](https://docs.retellai.com/build/single-multi-prompt/prompt-overview) [[2] Prompt Engineering](https://www.retellai.com/glossary/prompt-engineering) [[3] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[4] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) [[5] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[6] How can I create an outbound call](https://retell.discourse.group/t/how-can-i-create-an-outbound-call/132) ​
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.
nt-First" for outbound calls - Configure fixed welcome message or use prompts to guide opening Speech Settings: - Responsiveness: Adjust how responsive the agent is (reducing by 0.1 adds 0.5s wait time) - Interruption Sensitivity: Control how easily agent gets interrupted - Backchanneling: Set up acknowledgment frequency and words Call Settings: - Configure voicemail detection and handling Please paste your client script content directly so I can provide specific recommendations tailored to your exact use case.
### Answer I can see you've uploaded a file, but I don't have direct access to view file contents. To help you create a comprehensive setup for your Table Waiter outbound voice agent, please paste the content of your client script directly in the message. However, based on our conversation history, here's a complete framework for your agent: ## Universal Prompt Structure Using Retell AI's sectional prompt format [(1) ]() :
Copy code
## Identity
You are Stella, an Australian-accented female AI sales agent for Table Waiter.
Your role is to qualify restaurant owners on their current menu/order process and explain Table Waiter's digital menu and marketing solutions.

## Style Guardrails
Be concise: Keep responses under 2 sentences unless explaining complex topics.
Be conversational: Use natural language, contractions, and casual Australian phrases.
Be personable: Use the person's name after introduction.
Avoid telemarketer language: Don't use phrases like "I'm reaching out to you."

## Response Guidelines
Ask one question at a time: Avoid overwhelming the caller with multiple questions.
Confirm understanding: Paraphrase important information back to the caller.
Wait for user response before proceeding to the next step.

## Task Instructions
[Add your specific conversation steps here, each followed by "Wait for user response"]
## Multi-Prompt Tree Recommendation Consider using multi-prompt structure if your conversation has more than 3 functions or your single prompt exceeds 500 words [(2) ]() . Suggested State Structure: - State 1: Lead Qualification - Gather customer information, no booking functions available - State 2: Needs Assessment - Identify pain points with current menu system - State 3: Solution Presentation - Explain Table Waiter features - State 4: Objection Handling - Address concerns - State 5: Appointment Scheduling - Only accessible after qualification, booking functions enabled Each state includes focused prompts, state-specific functions, transition logic, and context preservation . ## Knowledge Base Setup To add supporting information about Table Waiter [(3) ]() : 1. Navigate to "Knowledge Base" tab in your dashboard 2. Click "Add" button in top-right corner 3. Add sources via: - URL - Import content from web pages (max 500 URLs) - File - Upload documents in PDF, TXT, DOCX, MD formats (max 25 files, 50MB each) - Text - Add custom content (max 50 text snippets) 4. Connect to your agent in the agent editor 5. Configure KB settings: 3 chunks to retrieve, 0.60 similarity threshold (recommended) Best Practices: - Prefer Markdown format with clear, descriptive headings - Keep sections focused and reasonably short - Group related information within the same section - Use specificity in references - include names, dates, units ## Agent Configuration Configure these settings [(4) ]() : Voice Settings: - Open voice selection dropdown and select an Australian-accented voice Conversation Initiation: - Set to "Age
​ To learn more, see the sources I considered: [[1] Prompt Engineering Guide](https://docs.retellai.com/build/prompt-engineering-guide) [[2] Single/Multi Prompt Agent Overview](https://docs.retellai.com/build/single-multi-prompt/prompt-overview) [[3] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[4] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) ​
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 can see you've been uploading files, but I don't have direct access to view file contents. To help you create a comprehensive setup for your Table Waiter outbound voice agent, please paste the content of your client script directly in the message. Based on our conversation history, here's what I can provide: ## Universal Prompt Structure Using Retell AI's sectional prompt format [(1) ]() :
Copy code
## Identity
You are Stella, an Australian-accented female AI sales agent for Table Waiter.
Your role is to qualify restaurant owners on their current menu/order process and explain Table Waiter's digital menu and marketing solutions.

## Style Guardrails
Be concise: Keep responses under 2 sentences unless explaining complex topics.
Be conversational: Use natural language, contractions, and casual Australian phrases.
Be personable: Use the person's name after introduction.
Avoid telemarketer language: Don't use phrases like "I'm reaching out to you."

## Response Guidelines
Ask one question at a time: Avoid overwhelming the caller with multiple questions.
Confirm understanding: Paraphrase important information back to the caller.
Wait for user response before proceeding to the next step.

## Task Instructions
[Add your specific conversation steps here, each followed by "Wait for user response"]
## Multi-Prompt Tree Recommendation Consider using multi-prompt structure if your conversation has more than 3 functions or your single prompt exceeds 500 words [(2) ]() . Each state would have focused prompts, state-specific functions, transition logic, and context preservation . ## Knowledge Base Setup To add supporting information about Table Waiter [(3) ]() : 1. Navigate to "Knowledge Base" tab in your dashboard 2. Click "Add" button in top-right corner 3. Add sources via URL, File, or Text 4. Connect to your agent in the agent editor 5. Configure KB settings: 3 chunks to retrieve, 0.60 similarity threshold (recommended) Best Practices: - Prefer Markdown format with clear, descriptive headings - Keep sections focused and reasonably short - Group related information within the same section - Use specificity in references ## Agent Configuration Configure these settings [(4) ]() : Voice Settings: Select an Australian-accented voice from the voice selection dropdown Conversation Initiation: Set to "Agent-First" for outbound calls Speech Settings: - Responsiveness: Adjust how responsive the agent is (reducing by 0.1 adds 0.5s wait time) - Interruption Sensitivity: Control how easily agent gets interrupted - Backchanneling: Set up acknowledgment frequency and words Call Settings: Configure voicemail detection and handling Please paste your client script content directly so I can provide specific recommendations tailored to your exact use case.
​ To learn more, see the sources I considered: [[1] Prompt Engineering Guide](https://docs.retellai.com/build/prompt-engineering-guide) [[2] Single/Multi Prompt Agent Overview](https://docs.retellai.com/build/single-multi-prompt/prompt-overview) [[3] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[4] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
s
@AI Evy can you give all the sources for outbound ai agent for creating universal promt,knowledge base,promt tree,llm prompt etc
a
### Answer Here are all the key sources for building your outbound AI agent with Retell AI: ## Universal Prompt & Prompt Engineering *[Prompt Engineering Guide]() * [(1) ]() - Covers sectional prompt structure, style guardrails, response guidelines, and explicit tool calling instructions for single/multi-prompt agents. *[Single/Multi Prompt Agent Overview]() * [(2) ]() - Explains when to use single vs multi-prompt structures, benefits of each approach, and how to organize conversation states. ## Knowledge Base *[Knowledge Base]() * [(3) ]() - Complete guide on creating knowledge bases using URLs, documents, and custom text. Covers auto-refreshing, auto-crawling, limits (500 URLs, 25 files) , best practices for Markdown formatting, and how to connect KB to agents with retrieval configuration (3 chunks, 0.60 similarity threshold recommended) . ## LLM Configuration & API *[Create Retell LLM]() * [(4) ]() - API reference for creating Retell LLM Response Engines, including model selection, temperature settings, tool configurations, states, and dynamic variables . *[Update Retell LLM]() * [(5) ]() - API reference for updating existing Retell LLM configurations . *[List Retell LLMs]() * [(6) ](
ist-retell-llms) - API reference for listing all Retell LLM Response Engines . ## Best Practices *[Custom LLM Best Practices]() * [(7) ]() - Covers prompt engineering principles, latency considerations, response conciseness, and when to use RAG for large knowledge bases . These sources provide comprehensive guidance for building production-ready outbound AI agents with proper prompt structure, knowledge base integration, and LLM configuration.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
s
@AI Evy also need variable
a
### Answer [(1) ]() ## Dynamic Variables for Outbound AI Agents Dynamic variables allow you to personalize your agent's responses for each specific call . You can use the
{{variable_name}}
syntax to inject data into prompts, begin messages, tool configurations, and more . ### Where to Use Dynamic Variables Dynamic variables work in : - Prompts - Agent instructions and personality - Begin message - Opening greeting - Tool configurations - Custom function URLs, tool descriptions, property descriptions - Call handling - Voicemail prompts/messages, transfer call phone numbers, warm transfer instructions - Webhook URL ### Setting Dynamic Variables for Outbound Calls When making outbound calls via the Create Phone Call API, set your variables in the
retell_llm_dynamic_variables
field [(2) ]() . All values must be strings [(1) ]() [(2) ]() :
Copy code
javascript
const registerCallResponse = await retell.call.createPhoneCall({
 from_number: '+14157774444',
 to_number: '+12137774445',
 override_agent_id: 'agent_abc123',
 retell_llm_dynamic_variables: {
 name: 'John Doe',
 blood_group: 'B+'
 }
}) ;
[(2) ]() ### Example Usage in Prompts You can reference dynamic variables in your prompts like this [(1) ]() :
Copy code
"Hello {{user_name}}, I understand you're interested in {{product_name}}. How can I help you today?"
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[3] Extract Dynamic Variables](https://docs.retellai.com/build/single-multi-prompt/extract-dv) ​
### System Variables Available Retell automatically provides these system variables : -
{{current_time}}
- Current time in America/Los_Angeles -
{{current_calendar}}
- 14-day calendar -
{{session_type}}
- Session type (voice or chat) -
{{direction}}
- Call direction (inbound or outbound) -
{{user_number}}
- User's phone number -
{{call_id}}
- Current call session ID ### Extracting Variables During Calls You can also extract dynamic variables from user responses using the Extract Dynamic Variable tool [(3) ]() . This lets you save values the user provides during the conversation .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy can i upload clients script directly in knowledge base directly or do i want to change . which is more good for the best output
a
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
### Answer ### Answer You should not upload your client script directly to the knowledge base without modification [(1) ]() . Here's why and what to do instead: ## Knowledge Base vs. Prompt: Different Purposes Knowledge Base is designed for supporting information that your agent retrieves during conversations—like product details, FAQs, policies, and reference material . It's meant to provide context, not instructions . Prompts contain your agent's instructions, personality, conversation flow, and behavioral guidelines . ## Best Practice: Transform Your Script For optimal output, you should: 1. Extract factual information from your client script (product features, pricing, company policies) and add that to the knowledge base 2. Convert conversation flow and instructions into a structured prompt using sectional format 3. Keep them separate - the knowledge base supplies supporting information; the prompt supplies instructions ## How to Structure Your Knowledge Base Content When adding your script content to the knowledge base : - Prefer Markdown format with clear, descriptive headings - Keep sections focused and reasonably short - Group related information within the same section - Use specificity - include names, dates, units, and avoid ambiguous pronouns like "it" or "this" ## Supported Formats for Upload You can upload your script as [(1) ]() [(2) ]() : - Text - Copy and paste specific content (max 50 text snippets) [(1) ]() - File - Upload as .txt, .md, .pdf, .docx (max 25 files, 50MB each) [(1) ]() [(2) ](
owledge-base) - URL - If your script is hosted online (max 500 URLs) ## Example Structure In Knowledge Base (factual information) [(1) ]() :
Copy code
## Table Waiter Features
- QR code digital menus
- Online ordering system
- Marketing automation tools

## Pricing
- Basic plan: $X/month
- Premium plan: $Y/month
In Prompt (instructions) :
Copy code
## Task Instructions
1. Greet the restaurant owner warmly
2. Ask about their current menu system
3. Wait for user response
4. Identify pain points based on their answer
...
The knowledge base is for what your agent knows, while the prompt is for how your agent behaves .
​ To learn more, see the sources I considered: [[1] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[2] Create Knowledge Base](https://docs.retellai.com/api-references/create-knowledge-base) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
i need source for setting promt tree and universal promt
@AI Evy i need source for setting promt tree and universal promt
a
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
### Answer ## Key Sources for Setting Up Prompt Tree and Universal Prompt ### Universal Prompt Structure *[Prompt Engineering Guide]() * [(1) ]() - This covers best practices for writing effective prompts using sectional structure (Identity, Style Guardrails, Response Guidelines, Task Instructions) for single/multi-prompt agents . ### Prompt Tree (Multi-Prompt Structure) *[Single/Multi Prompt Agent Overview]() * [(2) ]() - This explains when to use single vs multi-prompt structures, how to organize conversation into states, and the benefits of multi-prompt architecture . Each state includes focused prompts, state-specific functions, transition logic, and context preservation . ### API Implementation *[Create Retell LLM]() * [(3) ]() - This API reference shows how to create Retell LLM Response Engines with states, including the
general_prompt
field for universal instructions and the
states
array for your prompt tree structure . Each state contains
name
,
state_prompt
,
edges
for transitions, and
tools
. *[Update Conversation Flow]() * [(4) ]() - This API reference covers updating conversation flows with
global_prompt
for universal instructions and
nodes
array for your conversation tree . These sources provide comprehensive guidance for structuring both your universal prompt and multi-state prompt tree in Retell AI [(2) ](
single-multi-prompt/prompt-overview) [(1) ]() [(3) ]() .
​ To learn more, see the sources I considered: [[1] Prompt Engineering Guide](https://docs.retellai.com/build/prompt-engineering-guide) [[2] Single/Multi Prompt Agent Overview](https://docs.retellai.com/build/single-multi-prompt/prompt-overview) [[3] Create Retell LLM](https://docs.retellai.com/api-references/create-retell-llm) [[4] Update Conversation Flow](https://docs.retellai.com/api-references/update-conversation-flow) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.