sahalshamas
11/30/2025, 4:50 PMAI Evy
11/30/2025, 4:51 PMAI Evy
11/30/2025, 4:51 PMAI Evy
11/30/2025, 4:51 PMbegin_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) ](AI Evy
11/30/2025, 4:51 PMAI Evy
11/30/2025, 4:51 PMsahalshamas
11/30/2025, 4:58 PMsahalshamas
11/30/2025, 4:58 PMAI Evy
11/30/2025, 4:58 PMAI Evy
11/30/2025, 4:59 PMwait 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.AI Evy
11/30/2025, 4:59 PMAI Evy
11/30/2025, 4:59 PMsahalshamas
11/30/2025, 5:01 PMAI Evy
11/30/2025, 5:01 PMAI Evy
11/30/2025, 5:01 PMAI Evy
11/30/2025, 5:02 PMAI Evy
11/30/2025, 5:02 PMAI Evy
11/30/2025, 5:03 PMAI Evy
11/30/2025, 5:04 PMAI Evy
11/30/2025, 5:04 PMAI Evy
11/30/2025, 5:04 PMsahalshamas
11/30/2025, 5:06 PMAI Evy
11/30/2025, 5:06 PMAI Evy
11/30/2025, 5:06 PM## 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]AI Evy
11/30/2025, 5:06 PM## 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.AI Evy
11/30/2025, 5:07 PMAI Evy
11/30/2025, 5:07 PMAI Evy
11/30/2025, 5:14 PMAI Evy
11/30/2025, 5:14 PM## 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:AI Evy
11/30/2025, 5:14 PM## 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.AI Evy
11/30/2025, 5:14 PMAI Evy
11/30/2025, 5:14 PMAI Evy
11/30/2025, 5:17 PMAI Evy
11/30/2025, 5:17 PM## 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]AI Evy
11/30/2025, 5:17 PMAI Evy
11/30/2025, 5:17 PMAI Evy
11/30/2025, 5:17 PMsahalshamas
11/30/2025, 6:53 PMAI Evy
11/30/2025, 6:53 PMAI Evy
11/30/2025, 6:54 PM## 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) ]() .AI Evy
11/30/2025, 6:54 PMAI Evy
11/30/2025, 6:54 PMsahalshamas
12/01/2025, 10:40 AMsahalshamas
12/01/2025, 10:46 AMAI Evy
12/01/2025, 10:46 AMAI Evy
12/01/2025, 10:46 AM## 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"]AI Evy
12/01/2025, 10:46 AMAI Evy
12/01/2025, 10:46 AMAI Evy
12/01/2025, 10:47 AMAI Evy
12/01/2025, 10:47 AMsahalshamas
12/01/2025, 1:28 PMAI Evy
12/01/2025, 1:28 PMAI Evy
12/01/2025, 1:28 PMAI Evy
12/01/2025, 1:28 PMAI Evy
12/01/2025, 1:28 PM## 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"]AI Evy
12/01/2025, 1:29 PMAI Evy
12/01/2025, 1:34 PMAI Evy
12/01/2025, 1:34 PMAI Evy
12/01/2025, 1:34 PM## 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]AI Evy
12/01/2025, 1:34 PMAI Evy
12/01/2025, 1:34 PMAI Evy
12/01/2025, 1:34 PMsahalshamas
12/01/2025, 1:36 PMAI Evy
12/01/2025, 1:36 PMAI Evy
12/01/2025, 1:37 PMAI Evy
12/01/2025, 1:37 PM## 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"]AI Evy
12/01/2025, 1:37 PMAI Evy
12/01/2025, 1:37 PMAI Evy
12/01/2025, 1:37 PMAI Evy
12/01/2025, 1:38 PMAI Evy
12/01/2025, 1:39 PM## 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"]AI Evy
12/01/2025, 1:39 PMAI Evy
12/01/2025, 1:39 PMAI Evy
12/01/2025, 1:39 PMAI Evy
12/01/2025, 1:48 PMsahalshamas
12/01/2025, 1:48 PMAI Evy
12/01/2025, 1:49 PMAI Evy
12/01/2025, 1:49 PMAI Evy
12/01/2025, 1:49 PMAI Evy
12/01/2025, 1:49 PMAI Evy
12/01/2025, 1:56 PMsahalshamas
12/01/2025, 1:56 PMAI Evy
12/01/2025, 1:56 PM{{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) ]() :
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) ]() :
"Hello {{user_name}}, I understand you're interested in {{product_name}}. How can I help you today?"AI Evy
12/01/2025, 1:56 PMAI Evy
12/01/2025, 1:56 PM{{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 .AI Evy
12/01/2025, 1:56 PMsahalshamas
12/01/2025, 2:39 PMAI Evy
12/01/2025, 2:40 PMAI Evy
12/01/2025, 2:40 PMAI Evy
12/01/2025, 2:40 PM## 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) :
## 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 .AI Evy
12/01/2025, 2:41 PMAI Evy
12/01/2025, 2:41 PMsahalshamas
12/02/2025, 4:15 PMsahalshamas
12/02/2025, 4:15 PMAI Evy
12/02/2025, 4:15 PMAI Evy
12/02/2025, 4:15 PMgeneral_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) ](AI Evy
12/02/2025, 4:15 PMAI Evy
12/02/2025, 4:15 PM