https://retellai.com/?utm_source=discord&utm_medium=seo logo
what setup do i need to do on twilio for my number...
# ❓・ai-evy-support
w
@AI Evy what setup do i need to do on twilio for my number im setting up cold transfer but its not working this is mentioned somehwere for cold transfers Original Caller or Callee. If you are using custom telephony, enable SIP REFER and PSTN transfer, and set SIP REFER to show transferee's number.
a
Thanks for tagging me @wesleybldc. I'll look through relevant sources and get back to you shortly.
### Answer For cold transfers to work properly with Twilio when using Retell AI, you need to configure several settings in your Twilio Elastic SIP Trunk [(1) ]() [(2) ]() . ## Required Twilio Configuration In your Twilio Elastic SIP Trunk, you need to ensure: 1. Enable Call Transfers - Make sure call transfer is enabled [(3) ](

▾

) 2. Enable PSTN Transfer - This checkbox must be ticked 3. Configure Caller ID for Transfers - For the transferee's number to show, you need to configure your SIP trunking provider to allow SIP REFER and set caller ID as transferee [(1) ]() [(2) ]() ## Specific Steps in Twilio Based on the setup process, when creating your SIP trunk: 1. Create a new Elastic SIP Trunk in Twilio [(3) ](

▾

) 2. In the trunk settings, ensure "Enable PSTN Transfer" is checked 3. Configure the termination settings with your SIP URI ## Why This Configuration is Needed When you want to use cold transfer with the transferee's number showing (the original caller's number to the transfer destination) , your telephony provider needs to support SIP REFER with proper caller ID handling [(1) ]() [(2) ]() . This is because cold transfer with transferee number uses SIP REFER to transfer the call, and different telephony providers may or may not honor the custom SIP headers in the REFER request [(4) ]() . Note that some provid
ers like Twilio may not honor custom SIP headers in the REFER request for cold transfers with transferee numbers , but the basic PSTN transfer functionality should work when properly configured.
​ To learn more, see the sources I considered: [[1] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[2] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) [[3] Retell AI - Connect to your own Twilio - Using Sip Trunking](

https://www.youtube.com/watch?v=JC3PV_R-Z1Y▾

) [[4] Set & parse custom SIP headers](https://docs.retellai.com/build/telephony/sip-headers) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy Caller ID for Transfer Target v Set caller ID as Transferee Set caller ID as Transferor which one should i set it as? and walk me through what both means
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer Based on the Retell AI documentation, here's what each caller ID option means and which one to choose: ## Caller ID Options Explained **Set caller ID as Transferee**: The transfer destination will see the number that the user is calling from (the original caller's number) [(1) ]() [(2) ]() **Set caller ID as Transferor**: The transfer destination will see the Retell agent's number ## Which One to Choose For most use cases, you should set caller ID as Transferee . This is typically what you want because: - The person receiving the transfer sees the original caller's number - It maintains context about who the original caller was - It's more natural for the receiving agent to know which customer is being transferred ## Important Configuration Requirements To use "Set caller ID as Transferee", you must configure the following in your telephony provider : - Enable SIP REFER - Enable transfer to PSTN - Set caller ID as transferee ## Current Limitations There are some known issues with caller ID display during transfers. Some users have reported that the transferee's number doesn't always display correctly, and this may be related to how different telephony providers handle SIP REFER [(3) ]() [(4) ]() [(5) ]() [(6) ]() . The "Set caller ID as Transferee" option is the recommended choice for most scenarios where you want the receiving party to see the original caller's information.
​ To learn more, see the sources I considered: [[1] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[2] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) [[3] Caller ID on call transfers](https://discord.com/channels/1186424376300679209/1267524202328621067) [[4] Discord message from @nir.simionovich on 2025-02-28](https://discord.com/channels/1186424376300679209/1294891368505937952/1345025767821676555) [[5] Call transfers not showing Transferee ID, also transfers only work with Warm transfers not cold.](https://discord.com/channels/1186424376300679209/1343990356655603772) [[6] warm transfer caller ID](https://discord.com/channels/1186424376300679209/1396874200852992162) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy after setting this up, the transfer doesnt ring to the transfer number
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer If your cold transfer isn't ringing the destination number, there are several potential issues based on documented cases: ## Common Causes and Solutions Telephony Provider Configuration Issues [(1) ]() One user resolved a similar issue by contacting their provider (Zadarma) and setting up a new connection with PBX central, which fixed the transfer functionality . SIP Provider Compatibility [(2) ]() For some providers, warm transfers may fail while cold transfers work, or vice versa. One documented solution is to register a SIP-capable endpoint and transfer to a SIP URI instead of a direct PSTN number . Custom SIP Headers Not Honored [(3) ]() For cold transfers with transferee number, Twilio may not honor custom SIP headers in the REFER request, which could affect transfer functionality . ## Troubleshooting Steps 1. Test with a different number - Try transferring to another known working number to isolate if it's number-specific [(1) ]() 2. Check your telephony provider settings - Ensure your SIP trunk provider has: - SIP REFER enabled [(4) ]() [(5) ]() - Transfer to PSTN enabled - Proper caller ID configuration 3. Consider using SIP URI instead - If transferring to PSTN numbers fails, try using a SIP URI format like
sip:username@domain
[(5) ]() [(2) ]() 4. **Contact your telephony provider
** - They may need to adjust settings on their end, similar to the Zadarma case where a PBX central connection resolved the issue [(1) ]() The transfer feature only works during phone calls (not web calls) and is available for Retell numbers and imported numbers [(4) ]() [(5) ]() .
​ To learn more, see the sources I considered: [[1] Transfer](https://discord.com/channels/1186424376300679209/1397568596632146113) [[2] Cold transfer works but warm does not for the same phone number](https://discord.com/channels/1186424376300679209/1351510694175965196) [[3] Set & parse custom SIP headers](https://docs.retellai.com/build/telephony/sip-headers) [[4] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[5] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy do i need to enable this Symmetric RTP Enabled Twilio will detect where the remote RTP stream is coming from and start sending RTP to that destination instead of the one negotiated in the SDP
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer ### Answer Based on the available sources, the Symmetric RTP setting isn't specifically mentioned as a requirement for Retell AI's SIP trunking setup with Twilio [(1) ]() [(2) ](

▾

) . However, given that you're experiencing transfer issues where calls aren't ringing the destination number, enabling Symmetric RTP could potentially help. This setting is particularly useful when there are NAT (Network Address Translation) issues or firewall configurations that might interfere with RTP streams [(1) ]() . ## What Symmetric RTP Does Symmetric RTP allows Twilio to detect where the actual RTP stream is coming from and adjust accordingly, rather than relying solely on the negotiated SDP. This can resolve connectivity issues in complex network environments . ## Recommendation Since you're troubleshooting transfer issues and the documentation doesn't explicitly prohibit this setting, it's worth enabling Symmetric RTP as part of your troubleshooting process. It's a common best practice for SIP trunking configurations and shouldn't interfere with Retell AI's functionality [(1) ]() [(2) ](

▾

) . The key requirements mentioned in the documentation focus on enabling call transfers and PSTN transfer in your Elastic SIP Trunk , but additional network-level optimizations like Symmetric RTP are generally beneficial for call quality and connectivity.
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Retell AI - Connect to your own Twilio - Using Sip Trunking](

https://www.youtube.com/watch?v=JC3PV_R-Z1Y▾

) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy ive already set this up on my twilio Call Transfer (SIP REFER) Enabled Twilio will consume an incoming SIP REFER from your communications infrastructure and create an INVITE message to the address in the Refer-To header Caller ID for Transfer Target Set caller ID as Transferee Enable PSTN Transfer Allow Call Transfers to the PSTN via your Trunk. but cold transfers are not working at all
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer Since your Twilio SIP trunk configuration appears correct but cold transfers still aren't working, there are several additional troubleshooting steps based on documented issues: ## Check Your Retell AI Agent Configuration 1. Transfer Ring Timeout Setting - One user resolved similar issues by configuring a longer ring window before timeout by setting the
transfer_ring_timeout
in your agent [(1) ]() . This allows 30 seconds of ring time on the transfer leg . 2. Consider Warm Transfer Instead - Warm transfers wait for the human to answer before fully connecting and handing off . Some users have found warm transfers work when cold transfers fail . ## Verify Your SIP Trunk Setup Even though your Twilio settings look correct, double-check that: - Your termination URI is properly configured in Retell AI when you imported your number [(2) ]() [(3) ]() - The number format you're transferring to is in E.164 format (e.g., +1234567890) ## Known Twilio Limitations There's a documented limitation where Twilio may not honor custom SIP headers in the REFER request for cold transfers with transferee numbers [(4) ]() . This could affect the transfer functionality even when SIP REFER is enabled. ## Alternative Approaches If cold transfers continue to fail, consider: - Using SIP URI format instead of phone numbers:
sip:username@domain
[(3) ]() - Testing with warm transfers to see if the issue is specific to cold transfers - Contacting Twilio support to verify their SIP REFER implementation is working correctly with your specific trun
k configuration The transfer feature only works during phone calls (not web calls) and requires proper SIP trunk configuration [(2) ]() [(3) ]() .
​ To learn more, see the sources I considered: [[1] Hi team, I’m having trouble with the transfer_call function.](https://discord.com/channels/1186424376300679209/1384634772772360383) [[2] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[3] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) [[4] Set & parse custom SIP headers](https://docs.retellai.com/build/telephony/sip-headers) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy do i need to setup my termination? for now i only have origination setup
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer Yes, you absolutely need to set up termination for outbound calls, including transfers [(1) ]() . This is likely why your cold transfers aren't working. ## Required Termination Setup For Twilio Elastic SIP Trunking with Retell AI, you need both: 1. *Termination (for outbound calls) * - This includes transfers 2. *Origination (for inbound calls) * - Which you already have ## Termination Configuration Steps 1. Set up termination in your Twilio Elastic SIP Trunk 2. Configure the termination SIP URI - You might want to use a localized termination URI that's near your region [(1) ]() [(2) ]() 3. Set up authentication - Either whitelist IP addresses or create auth with username and password [(1) ]() ## Authentication Options Since Retell SIP server does not have a static IP, if you opt for the IP route, you need to whitelist all IP addresses in the range . Alternatively, you can use credential-based authentication with username and password . ## Import Configuration When you import your number to Retell AI, you need to supply the termination SIP URI you set up in your Twilio trunk . If you have set up auth via credentials, you'll also need to supply the username and password [(1) ]() [(3) ]() . ## Common Issue Make sure there's no space in your Termination SIP URI, and use a localized termination URI that's near your region [(1) ]() [(2) ]() . Check the username and credentials to ensure you entered the right information [(1) ](
lai.com/deploy/twilio) . Without proper termination setup, outbound calls (including transfers) won't work because Retell AI needs a way to route outbound traffic through your Twilio trunk .
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Hey everyone, I could use some help setting up international calls through Retell + Twilio.](https://discord.com/channels/1186424376300679209/1384845104132522024) [[3] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how to keep track of cold transfers with hubspot and retell ai?
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer For tracking cold transfers with HubSpot and Retell AI, you can leverage Retell AI's HubSpot integration capabilities to automatically log call outcomes and transfer events. ## HubSpot Integration for Transfer Tracking Retell AI integrates with HubSpot via API to update contact records, log call outcomes, and trigger follow-up workflows [(1) ]() . The system allows teams to automate call and text actions based on conversation results, ultimately keeping data accurate and processes aligned . Key features for tracking transfers include: - Custom field mapping for syncing call outcomes to contact properties - Automated workflow triggers that respond to call status or sentiment - Secure authentication via OAuth 2.0 with compliance to standard API rate limits ## Transfer Configuration Options For cold transfers specifically, you can configure custom SIP headers that can be used for tracking and routing purposes [(2) ]() [(3) ]() . All header names must start with
X-
[(2) ]() . You can use dynamic variables for your custom SIP header values, so you can pass information extracted from the call to the receiving party [(3) ]() . ## Integration Partners for Enhanced Tracking Several certified partners specialize in CRM integrations that could help with transfer tracking [(4) ]() [(5) ]() . For example, one partner mentioned they do "CRM/marketing automation integrations" and have "worked with Hubspot specifically fo
r some integrations" [(5) ]() . ## Recommended Approach To effectively track cold transfers: 1. Set up the HubSpot integration with custom field mapping to capture transfer events [(1) ]() 2. Use custom SIP headers to pass transfer metadata [(2) ]() [(3) ]() 3. Configure automated workflow triggers in HubSpot to respond to transfer outcomes [(1) ]() 4. Consider working with a certified partner who has HubSpot integration experience [(4) ]() [(5) ]() The integration enables teams to unify voice, text, and chat conversations with their broader customer engagement workflows, without requiring custom middleware [(1) ]() .
​ To learn more, see the sources I considered: [[1] AI Voice Agents for Salesforce, HubSpot & Zendesk | Retell AI | Retell AI](https://www.retellai.com/blog/ai-voice-agents-salesforce-hubspot-zendesk) [[2] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[3] Set & parse custom SIP headers](https://docs.retellai.com/build/telephony/sip-headers) [[4] Find a Certified Partner | Retell AI](https://www.retellai.com/partners) [[5] Discord message from @fyodor2572 on 2024-10-21](https://discord.com/channels/1186424376300679209/1294891368505937952/1297975730013077514) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how does retell deal with concurrency? after hitting the concurrency limit, are my calls put on a queue automatically?
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer When you hit your concurrency limit, Retell AI does not automatically queue calls [(1) ]() [(2) ]() . Instead, extra calls are rejected immediately [(1) ]() . ## How Retell AI Handles Concurrency Limits Pay-As-You-Go users get a quota of 20 concurrent calls by default [(3) ]() . When this limit is reached: - Calls are rejected, not queued [(1) ]() - You'll receive email alerts when the limit is hit - You can see rejected calls in the dashboard logs ## Checking Your Current Concurrency You can monitor your concurrency usage with the API [(4) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const concurrency = await client.concurrency.retrieve() ;
console.log(concurrency.base_concurrency) ;
## Managing High Call Volumes If you need to handle more than 20 concurrent calls, you have several options: 1. Upgrade your plan - Go to the "Billing" page to purchase additional concurrency [(3) ]() 2. Implement your own queuing - You need to handle concurrency checks on your side before making calls [(2) ]() [(5) ]() 3. Use the Get Concurrency API - Check available slots before placing calls [(5) ]() ## Important Notes - Each agent can handle unlimited calls, as long as total concurrency stays within your quota [(3) ]() - You don't need multiple agents for multiple concurrent calls - Retell provides no native queuing system - this must be implemented on your end [(5) ]() The concurrency limit applies to both inbound and outbound calls, whether they're connected or still ringing [(2) ]() .
​ To learn more, see the sources I considered: [[1] Concurrency Limit Notifications](https://discord.com/channels/1186424376300679209/1396243309197787166) [[2] Question on concurrency limits when creating >20 outbound calls at once](https://discord.com/channels/1186424376300679209/1375439800408080505) [[3] Understand concurrency & limits](https://docs.retellai.com/deploy/concurrency) [[4] Get Concurrency](https://docs.retellai.com/api-references/get-concurrency) [[5] Discord message from @fyodor2572 on 2024-11-24](https://discord.com/channels/1186424376300679209/1186462578310910112/1310366442268528650) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy why do outbound calls leave a voice mail? how do enforce and ensure that it does not leave any voice mails
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer [(1) ]() , [(2) ]() , [(3) ]() , [(4) ]() , [(5) ]() , [(6) ]() , [(7) ]() ## Why Outbound Calls Leave Voicemails By default, when Retell AI agents encounter voicemails, they will continue the conversation as normal unless you specifically configure voicemail detection [(1) ]() . If voicemail detection is enabled and set to "leave a message," the agent will wait for its turn to speak and then leave the configured message . ## How to Prevent Voicemails To ensure your outbound calls never leave voicemails, you need to configure voicemail detection to hang up when voicemail is detected . ### Option 1: Configure Agent to Hang Up on Voicemail Set the
voicemail_option
in your agent configuration to hang up when voicemail is detected [(2) ]() [(3) ]() [(4) ]() [(5) ]() [(6) ]() [(7) ]() :
Copy code
json
{
  "voicemail_option": {
    "action": {
      "type": "hangup"
    }
  }
}
### Option 2: Disable Voicemail Detection Entirely Set
voicemail_option
to
null
to disable voicemail detection completely :
Copy code
json
{
  "voicemail_option": null
}
## Important Details - Voicemail detection runs for the first 3 minutes of the call [(1) ]() [(2) ]() [(3) ]() [(4) ]() [(5) ]() [(6) ]() [(7) ]() - The system will hang up the moment it detects voicemail if configured to do so [(1) ]() - When a call is detected as voicemail and the hangup action is taken successfully, the call will have a disconnection reason of
voicemail_reached
- Voicemail detection adds generally under 100ms of latency impact ## Current Issues to Be Aware Of Some users have reported that voicemail detection doesn't always work perfectly - agents may talk over answering machine messages and ignore the beep [(8) ]() . This suggests the detection isn't 100% reliable in all scenarios.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy what happens to inbound calls to retell? will there be voice messages left by the customer? what happens to those voice mails
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer For inbound calls to Retell AI, the behavior depends on how you've configured your agent's voicemail settings [(1) ]() . ## Default Behavior for Inbound Calls When customers call your Retell AI agent, the agent will answer and engage in conversation . However, if the agent encounters a situation where it needs to handle voicemail detection (which is primarily designed for outbound scenarios) , the behavior depends on your configuration . ## Voicemail Configuration Options You can configure your agent's voicemail handling through the
voicemail_option
parameter [(2) ]() [(3) ]() [(4) ]() [(5) ]() [(6) ]() [(7) ]() : Option 1: Hang up when voicemail is detected
Copy code
json
{
  "voicemail_option": {
    "action": {
      "type": "hangup"
    }
  }
}
Option 2: Leave a message
Copy code
json
{
  "voicemail_option": {
    "action": {
      "type": "static_text",
      "text": "Please give us a callback tomorrow at 10am."
    }
  }
}
Option 3: Disable voicemail detection
Copy code
json
{
  "voicemail_option": null
}
## Important Details - Voicemail detection runs for the first 3 minutes of the call [(1) ]() [(2) ]() [(3) ]() [(4) ]() [(5) ]() [(6) ]() [(7) ]() - If voicemail detection timeout is reached, the system will stop detection and continue with the call as normal [(1) ]() - When a call is detected as voicemail and the configured action is taken successfully, the call will have a disconnection reason of
voicemail_reached
- Voicemail detection adds generally under 100ms of latency impact ## Customer Voicemails For typical inbound calls where customers are calling to speak with your AI agent, they would engage in real-time conversation rather than leaving voicemails . The voicemail detection feature is primarily designed for outbound calling scenarios where your agent might encounter answering machines . If you need to handle scenarios where customers might leave messages, you would need to implement that through your telephony provider's voicemail system rather than Retell AI's voicemail detection feature.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy would there ever be a chance for inbound calls - where the customer will leave a voice message for the agent? or would it never reach that or hit the concurrent limit?
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer ### Answer For inbound calls to Retell AI, there are two scenarios where customers might leave voicemails, but both have specific conditions: ## Scenario 1: Concurrency Limit Reached When you hit your concurrency limit, calls are rejected immediately rather than being queued [(1) ]() . For example, if you have 20 concurrent calls and someone tries to make the 21st call, that call gets rejected . However, if your telephony provider (like Twilio) has voicemail configured on their end, rejected calls could potentially go to your provider's voicemail system rather than Retell AI's agent . ## Scenario 2: Agent Configuration Issues If there are webhook errors or configuration problems with your inbound calls, the call might not connect to the Retell AI agent [(2) ]() . In such cases, depending on your telephony setup, the call could go to voicemail . ## Key Points About Retell AI's Voicemail Handling Retell AI's voicemail detection feature is primarily designed for outbound calls where the agent encounters answering machines [(3) ]() [(4) ]() . For inbound calls: - The agent is designed to answer and engage in real-time conversation - Voicemail detection runs for the first 3 minutes of the call if configured - You can configure voicemail options through the
voicemail_option
parameter
Copy code
json
{
  "voicemail_option": {
    "action": {
      "type": "hangup"
    }
  }
}
## Bottom Line Under normal circumstances with proper configuration and available concurrency, inbound callers would speak directly with your AI agent rather than leaving voicemails. Voicemails would only occur due to technical issues (concurrency limits, webhook errors) or telephony provider configurations outside of Retell AI's control.
​ To learn more, see the sources I considered: [[1] Can inbound calls be in waiting?](https://discord.com/channels/1186424376300679209/1325062801474977802) [[2] Discord message from @yves_69297 on 2025-01-16](https://discord.com/channels/1186424376300679209/1186462578310910112/1329371703100571778) [[3] Update Agent](https://docs.retellai.com/api-references/update-agent) [[4] Update Agent](https://docs.retellai.com/api-references/update-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how to increase concurrent users? can i upgrade from a pay as you go plan? is there a different plan? like a corporate plan that gives more concurrent users
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer ### Answer Yes, you can increase concurrent users from the Pay-As-You-Go plan through multiple options: ## Upgrading Concurrency on Pay-As-You-Go You can upgrade your concurrency directly from the Pay-As-You-Go plan [(1) ]() . Go to the "Billing" page in your dashboard to upgrade your plan and purchase additional concurrency . The cost for additional concurrency is $8 per concurrent call per month [(2) ]() [(3) ]() . You can add as many concurrent calls as you want [(4) ](

▾

) [(5) ](

▾

) . ## Plan Options ### Pay-As-You-Go Plan - **Default**: 20 concurrent calls [(1) ]() [(2) ]() [(6) ]() - $10 free credits (equal to 60 mins) [(2) ]() [(7) ]() - **Add-on pricing**: $8 per additional concurrency per month [(2) ]() - Discord and community support [(2) ]() [(7) ]() ### Enterprise Plan For companies with large volumes (over $3k/month) , data or deployment requirements, or support needs : - Everything from Pay-As-You-Go - Custom concurrent calls based on volumes - Volume-based discounts (as low as $0.03/min) - Premium private Slack channel support with dedicated support teams ## How Concurrency Works The concurrency limit applies per workspace [(8) ](
00679209/1186462578310910112/1342534237789618368) . Each agent within your plan can handle unlimited calls, as long as total concurrency remains within your designated quota [(1) ]() . You can monitor your current usage with the Get Concurrency API [(9) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const concurrency = await client.concurrency.retrieve() ;
console.log(concurrency.base_concurrency) ;
## Contact for Enterprise For enterprise pricing and custom concurrency needs, you can [Contact Sales]() [(2) ]() .
​ To learn more, see the sources I considered: [[1] Understand concurrency & limits](https://docs.retellai.com/deploy/concurrency) [[2] AI Phone Agent Pricing | Retell AI](https://www.retellai.com/pricing) [[3] Concurrent Calls x Enterprise Plan](https://discord.com/channels/1186424376300679209/1295794900675203109) [[4] Personalization with Airtable](

https://www.youtube.com/watch?v=U8jdhkqOOhE▾

) [[5] Personalization with Airtable](

https://www.youtube.com/watch?v=U8jdhkqOOhE▾

) [[6] Discord message from @everymosquito on 2024-08-13](https://discord.com/channels/1186424376300679209/1186462578310910112/1272948139199955035) [[7] Inside Retell AI | The Conversational AI Platform Behind Scalable AI Phone Systems | Retell AI](https://www.retellai.com/blog/inside-retell-ai-conversational-ai-phone-system) [[8] Discord message from @cartier5 on 2025-02-21](https://discord.com/channels/1186424376300679209/1186462578310910112/1342534237789618368) [[9] Get Concurrency](https://docs.retellai.com/api-references/get-concurrency) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how to preven outbound calls from leaving voicemails?
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer To prevent outbound calls from leaving voicemails, you need to configure your agent's voicemail detection to hang up when voicemail is detected [(1) ]() . ## Configure Agent to Hang Up on Voicemail Set the
voicemail_option
in your agent configuration to hang up automatically when voicemail is detected [(2) ]() [(3) ]() [(4) ]() :
Copy code
json
{
  "voicemail_option": {
    "action": {
      "type": "hangup"
    }
  }
}
[(2) ]() , [(3) ]() , [(4) ]() ## Alternative: Disable Voicemail Detection You can also set
voicemail_option
to
null
to disable voicemail detection completely [(2) ]() [(3) ]() [(4) ]() :
Copy code
json
{
  "voicemail_option": null
}
[(2) ]() , [(3) ]() , [(4) ]() ## How It Works - Voicemail detection runs for the first 3 minutes of the call [(1) ]() - The system will hang up the moment it detects voicemail if configured to do so - When a call is detected as voicemail and the hangup action is taken successfully, the call will have a disconnection reason of
voicemail_reached
- Voicemail detection adds generally under 100ms of latency impact ## Important Note Even with hangup configured, there may be a brief delay while detection is confirmed [(5) ]() . The system continuously checks for voicemail and ends the call as soon as voicemail is detected, but this confirmation process can result in a short delay .
​ To learn more, see the sources I considered: [[1] Handle voicemail](https://docs.retellai.com/build/handle-voicemail) [[2] Get Agent Versions](https://docs.retellai.com/api-references/get-agent-versions) [[3] Update Agent](https://docs.retellai.com/api-references/update-agent) [[4] Create Agent](https://docs.retellai.com/api-references/create-agent) [[5] Hang Up Option still goes to Voicemail](https://discord.com/channels/1186424376300679209/1388876820161757304) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how to export call data into a csv? how to get the transcription and summary data
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer ### Answer To export call data to CSV and get transcription and summary data, you'll need to use Retell AI's API to retrieve call information and then process it into CSV format [(1) ]() . ## Getting Call Data via API You can retrieve call data using the List Calls endpoint :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.registerPhoneCall({
 agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
}) ;
console.log(phoneCallResponse.agent_id) ;
[(2) ]() ## Available Call Data Fields The API returns comprehensive call data including [(3) ]() [(1) ]() : - **Transcript**: Available in the
transcript
field as plain text [(1) ]() - **Transcript Object**: Detailed transcript with word-level timestamps in
transcript_object
- **Call Analysis**: Summary and analysis data in the
call_analysis
object [(3) ]() [(1) ]() - **Call Summary**: Specific summary text in
call_analysis.call_summary
- **User Sentiment**: Available in
call_analysis.user_sentiment
- **Recording URL**: Link to audio recording in
recording_url
- **Duration**: Call length in
duration_ms
[(1) ]() - **Timestamps**: Start and end times in
start_timestamp
and
end_timestamp
## Post-Call Analysis Integration For automated data extraction to spreadsheets, you can use post-call analysis with webhooks [(4) ]() . One approach mentioned is to "use post call analysis and then add a webhook that stores that info in sheets" . ## Important Notes About Data Extraction When using post-call analysis for data extraction, the LLM will try to fill the variables you specify, but there's no guarantee all fields will be populated [(5) ]() . Variables can be nullable or not required . ## Processing the Data Once you retrieve the call data via the API, you'll need to: 1. Extract the relevant fields (transcript, summary, sentiment, etc.)
2. Format the data appropriately for CSV 3. Use your preferred method to write to CSV format The API provides all the raw data you need - the CSV export functionality would need to be implemented on your end using the retrieved call information.
​ To learn more, see the sources I considered: [[1] List Calls](https://docs.retellai.com/api-references/list-calls) [[2] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[3] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[4] Outputting post call data retrieval information at end of call](https://discord.com/channels/1186424376300679209/1351976997642960916) [[5] Post Call Data Analysis - Nullable Variables](https://discord.com/channels/1186424376300679209/1376599913621885099) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy from the get_call get request, it doesnt show the number called from and called to? how can i get this information
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer The List Calls API does include phone number information in the response [(1) ]() . Based on the API documentation, you can filter calls by phone numbers using the
filter_criteria
parameters : -
filter_criteria.from_number
- to filter calls with specific from number(s) -
filter_criteria.to_number
- to filter calls with specific to number(s) However, looking at the example response in the documentation, the phone numbers don't appear to be included in the standard response fields shown . The response includes fields like
call_id
,
agent_id
,
call_status
, etc., but the actual phone numbers aren't visible in the example response . For retrieving individual call details including phone numbers, you can use the retrieve call method [(2) ]() [(3) ]() : JavaScript/TypeScript:
Copy code
javascript
client.call.retrieve(callId) -> CallResponse
[(2) ]() Python:
Copy code
python
client.call.retrieve(call_id) -> CallResponse
[(3) ]() If the phone numbers aren't appearing in your API responses, you may need to check: 1. Whether your API key has the necessary permissions to access phone number data 2. If there are specific fields you need to request to get the phone number information 3. Whether the phone numbers are available in a different endpoint or response format I don't have complete information about the exact field names for phone numbers in the call response. You might want to: - Check the full API response structure for fields that might contain phone number data - Contact support for clarification on accessing phone number information from call records **
​ To learn more, see the sources I considered: [[1] List Calls](https://docs.retellai.com/api-references/list-calls) [[2] RetellAI/retell-typescript-sdk/api.md](https://github.com/RetellAI/retell-typescript-sdk/blob/main/api.md) [[3] RetellAI/retell-python-sdk/api.md](https://github.com/RetellAI/retell-python-sdk/blob/main/api.md) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how to manage concurrency of calls?
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer To manage concurrency of calls in Retell AI, you need to implement concurrency checks on your side and monitor your limits through the API [(1) ]() . ## Understanding Concurrency Limits Pay-As-You-Go users get 20 concurrent calls by default [(2) ]() . Concurrency refers to the number of simultaneous active voice calls that can be handled at any given moment . Each agent can handle unlimited calls, provided the total concurrency remains within your designated quota . ## Monitor Current Concurrency Use the Get Concurrency API to check your current usage before making new calls [(3) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const concurrency = await client.concurrency.retrieve() ;
console.log(concurrency.base_concurrency) ;
The API response includes : -
current_concurrency
- Current number of ongoing calls -
concurrency_limit
- Total concurrency limit -
base_concurrency
- Free concurrency limit (20 by default) -
purchased_concurrency
- Additional purchased concurrency -
remaining_purchase_limit
- How much more you can purchase ## Managing High Call Volumes When creating more than 20 calls, you need to implement concurrency checks because Retell AI does not automatically queue calls [(1) ]() . Extra calls are rejected immediately when the limit is reached. Best practices: 1. Check concurrency before creating calls - Use the Get Concurrency API to monitor available slots 2. Implement your own throttling logic - Ensure you stay within your limits [(4) ]() 3. Use individual call creation - Instead of batch calls, use the Create Phone Call API with your own rate limiting ## Increasing Concurrency Limits If you need more than 20 concurrent calls [(2) ]() : - Go to the "Billing" page to upgrade your plan and purchase additional concurrency - Contact support at support@retellai.com for custom requirements - The default concurrency limit has been increased to 20 for all users [(5) ]() ## Key Points - You must implement concurrency management on your side [(1) ]() - Calls are rejected, not queued, when limits are exceeded - Stay below your concurrency limit to avoid call failures [(6) ]() - Monitor your dashboard to check current concurrent calls [(2) ](
rency)
​ To learn more, see the sources I considered: [[1] Question on concurrency limits when creating >20 outbound calls at once](https://discord.com/channels/1186424376300679209/1375439800408080505) [[2] Understand concurrency & limits](https://docs.retellai.com/deploy/concurrency) [[3] Get Concurrency](https://docs.retellai.com/api-references/get-concurrency) [[4] Newb Q: How to limit Retell's concurrency to 3 not the 20 default for SIP](https://discord.com/channels/1186424376300679209/1373220576235229214) [[5] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[6] Discord message from @fahad_9 on 2025-01-01](https://discord.com/channels/1186424376300679209/1294891368505937952/1323902422715994184) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how can implement and test concurrency management? how can i test this in a sandbox environment? how can i test
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer Based on the sources available, I can provide guidance on implementing concurrency management, but I don't have specific information about sandbox testing environments for concurrency in the documentation. ## Implementing Concurrency Management You need to implement concurrency checks on your side before creating calls [(1) ]() . Here's how to implement basic concurrency management: ### 1. Monitor Current Concurrency First, check your current concurrency before making calls:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const concurrency = await client.concurrency.retrieve() ;
console.log(concurrency.base_concurrency) ;
### 2. Implement Concurrency Checks You must implement logic to check available slots before creating calls . The system doesn't queue calls - they get rejected when limits are exceeded . ### 3. Basic Implementation Pattern
Copy code
javascript
async function makeCallWithConcurrencyCheck(phoneNumber, agentId) {
  // Check current concurrency
  const concurrency = await client.concurrency.retrieve() ;
  
  if (concurrency.current_concurrency < concurrency.concurrency_limit) {
    // Safe to make call
    const call = await client.call.createPhoneCall({
      from_number: 'YOUR_NUMBER',
      to_number: phoneNumber,
      agent_id: agentId
    }) ;
    return call;
  } else {
    // Handle concurrency limit reached
    console.log('Concurrency limit reached, cannot make call') ;
    return null;
  }
}
## Understanding Concurrency Limits Pay-As-You-Go users get 20 concurrent calls by default [(2) ]() . Concurrency refers to simultaneous active voice calls at any given moment . You can purchase additional concurrency for $5 per concurrent call per month [(3) ]() . ## Testing Considerations For testing concurrency management: 1. Monitor your dashboard - You can check current concurrent calls in the dashboard [(2) ]() 2. Use the API to track usage - The concurrency endpoint shows current usage in real-time 3. Test with multiple calls - Create multiple calls simultaneously to test your limits ## Load Testing Approach One community member mentioned using platforms like Cloudonix or Jambonz to add a "power multiplier" to your Retell concurrency [(1) ]() . This involves: - Using external platforms for outbound dialing - Only passing connected calls (not voicemails) to Retell - This can effectively increase your capacity beyond the base concurrency limit I don't have specific information about dedicated sandbox environments for concurrency testing. For comprehensive testing strategies or sandbox environments, you may want to [Contact Sales]() or visit [) . Would you like a general answer based on my knowledge about testing concurrency in production systems?
​ To learn more, see the sources I considered: [[1] Question on concurrency limits when creating >20 outbound calls at once](https://discord.com/channels/1186424376300679209/1375439800408080505) [[2] Understand concurrency & limits](https://docs.retellai.com/deploy/concurrency) [[3] Scalable concurrency model](https://discord.com/channels/1186424376300679209/1289329667555201115) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy when a cold transfer occurs, thereafter. does the retell stop the call
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer For cold transfers in Retell AI, the AI agent's involvement ends once the transfer is initiated [(1) ]() . ## Cold Transfer Behavior In a cold transfer, the call is transferred to the destination number and that's it . The Retell AI agent does not remain on the call after initiating the cold transfer. ## How Cold Transfer Works When a cold transfer occurs: 1. The AI agent uses the transfer_call tool to initiate the transfer 2. The call is transferred directly to the destination number 3. The AI agent disconnects from the call 4. The caller is connected directly to the transfer destination without the AI agent present ## Cold vs Warm Transfer Difference This is different from warm transfers, where the AI agent can: - Detect if a human is present after the transfer target answers - Speak private messages to the transfer target - Speak messages to both parties once connected In cold transfers, none of these additional steps occur - it's a simple direct transfer where the Retell AI agent exits the call .
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] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) ​
w
@AI Evy in the conversation workflow how can i handle a customers request for a callback for a certain time how can i this information to somewhere, external source how can i also pass the transcript
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer To handle customer callback requests and send information to external sources in Retell AI, you can use dynamic variables and webhooks [(1) ]() . ## Passing Information to External Sources You can pass callback information and other data to external systems using the
retell_llm_dynamic_variables
parameter when creating phone calls [(2) ]() [(1) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.createPhoneCall({
 from_number: '+14157774444',
 to_number: '+12137774445',
}) ;
console.log(phoneCallResponse.agent_id) ;
[(2) ]() The webhook sent from Retell will include everything you pass into the parameter [(1) ]() . ## Accessing Call Transcripts You can retrieve transcripts and call data through the API or webhooks [(3) ]() . For real-time updates, you can set up webhooks to receive updates when calls are initiated, end, and analyzed . ## Webhook Configuration Configure webhooks in your agent to receive call data [(4) ]() [(5) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.create({
 response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
 voice_id: '11labs-Adrian',
}) ;
console.log(agentResponse.agent_id) ;
[(4) ]() ## Post-Call Analysis for Data Extraction For automated callback scheduling data extraction, you can use post-call analysis [(6) ]() . One approach is to "use post call analysis and then add a webhook that stores that info in sheets" . The webhook includes a temporary recording for users who opt out of storage, though this recording expires in 10 minutes [(7) ]() . ## Best Practice for External Integration A recommended approach is creating a wrapper API/webhook in the middle that would handle the callback scheduling logic and then send the data to your external system [(1) ]() .
​ To learn more, see the sources I considered: [[1] Discord message from @jayzpio on 2025-02-05](https://discord.com/channels/1186424376300679209/1294891368505937952/1336577919174185013) [[2] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[3] Receive calls](https://docs.retellai.com/deploy/inbound-call) [[4] Create Agent](https://docs.retellai.com/api-references/create-agent) [[5] Update Agent](https://docs.retellai.com/api-references/update-agent) [[6] Discord message from @creamdigital_20664 on 2025-04-14](https://discord.com/channels/1186424376300679209/1294891368505937952/1361370212343091280) [[7] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy walk me through each of these nodes and what they do - explain in details with examples of best usage of it ADD NEW NODE Conversation Function Call Transfer Press Digit Logic Split Node Agent Transfer SMS Extract Variable MCP Ending
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer # Retell AI Conversation Flow Nodes Guide Here's a detailed walkthrough of each node type in Retell AI's Conversation Flow and their best use cases [(1) ]() : ## 1. Conversation Node [(2) ]() **Purpose**: The most commonly used node for having conversations with users . **What it does**: - Enables multi-turn conversations within a single node - Agent will not call functions or perform actions while in this node - Can use either dynamic prompts or static sentences **Best usage examples**: - Greeting customers and gathering initial information - Explaining services or policies - Asking clarifying questions - Providing information that doesn't require external data **When transitions happen**: When user is done speaking, or when "Skip Response" is enabled and agent finishes speaking . ## 2. Function Node [(3) ]() **Purpose**: Used to call functions (pre-built or custom) and execute external actions . **What it does**: - Calls associated functions when entering the node - Can speak during execution with configurable messages - Can wait for results before transitioning **Best usage examples**: - Booking appointments in external calendars - Checking availability in scheduling systems - Updating CRM records - Processing payments - Looking up customer information **Key settings**: "Speak During Execution" and "Wait for Result" control timing and user experience . ## 3. Call Transfer Node [(4) ]() **Purpose**: Transfer calls to another phone number (phone calls only, not web calls) . **What it does**: - Transfers calls to numbers in e.164 format or SIP URIs - Supports both cold and warm tran
sk-specific specialization (general inquiry to technical support) - Modularizing complex workflows ## 7. SMS Node **Purpose**: Send SMS messages during or after voice conversations. **Best usage examples**: - Sending appointment confirmations - Providing reference numbers or links - Following up with additional information - Sending payment links or forms Note: Detailed documentation for this node wasn't available in the provided sources. ## 8. Extract Variable Node **Purpose**: Extract and store information as dynamic variables for later use. **Best usage examples**: - Capturing customer names, phone numbers, or emails - Storing appointment preferences or dates - Extracting product interests or requirements - Saving information for post-call analysis Note: This appears to be referenced as "Extract DV Node" in the node overview [(1) ]() . ## 9. MCP Node [(7) ]() **Purpose**: Call tools on your MCP (Model Context Protocol) server . **What it does**: - Calls tools on external MCP servers - Not intended for conversation but agent can still talk if needed - Can extract response values as dynamic variables **Best usage examples**: - Integrating with custom business systems - Accessing proprietary databases or APIs - Performing complex business logic operations - Connecting to specialized external tools ## 10. End Node **Purpose**: Terminates the conversation flow. **Best usage examples**: - Ending calls after successful task completion - Concluding conversations when no further action is needed - Terminating flows after transfers or escalations - Closing interactions after providing final information Note: Referenced as "End Node" in the node overview [(1) ]() . ## Best Practices for
sfers - Agent doesn't speak while in this node **Transfer types**: - **Cold transfer**: Direct transfer to destination - **Warm transfer**: Includes human detection, whisper messages, and three-way messages **Best usage examples**: - Escalating to human agents - Routing to specialized departments - Transferring to external service providers - Connecting to on-call personnel ## 4. Press Digit Node **Purpose**: Handles DTMF (touch-tone) input from callers. **Best usage examples**: - Creating interactive voice response (IVR) systems - Collecting numeric input like account numbers - Menu navigation systems - Authentication via PIN entry Note: Detailed documentation for this node wasn't available in the provided sources. ## 5. Logic Split Node [(5) ]() **Purpose**: Branch conversation flow based on conditions without agent speaking . **What it does**: - Immediately evaluates conditions upon entry - Branches to corresponding destination nodes - Minimal time spent in node - Always includes an "else" condition as default **Best usage examples**: - Routing based on customer type or status - Branching based on time of day or business hours - Directing flow based on previous conversation data - Splitting paths based on dynamic variables ## 6. Agent Transfer Node [(6) ]() **Purpose**: Switch from one AI agent to another within the same call . **What it does**: - Transfers conversation to a different AI agent - Near-instant transition with lower latency than call transfers - Destination agent has access to full conversation history - No separate phone numbers needed **Best usage examples**: - Transferring from front-desk agent to appointment-booking agent - Language-based transfers (English agent to Spanish agent) - Ta
Node Usage - **Break down complex logic**: When a node isn't performing well due to LLM hallucinations, break it into multiple nodes - **Organize your canvas**: Use the "Organize" button to automatically arrange nodes when the canvas gets cluttered - **No node limits**: You can add as many nodes as needed - **Strategic transitions**: Add edges with transition conditions to control flow between nodes Each node type serves specific purposes in creating sophisticated conversational AI workflows, allowing you to build complex, multi-step interactions while maintaining control over the conversation flow.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy Function Node (3) Purpose: Used to call functions (pre-built or custom) and execute external actions . What it does: Calls associated functions when entering the node Can speak during execution with configurable messages Can wait for results before transitioning Best usage examples: Booking appointments in external calendars Checking availability in scheduling systems Updating CRM records Processing payments Looking up customer information Key settings: "Speak During Execution" and "Wait for Result" control timing and user experience . Key settings: "Speak During Execution" and "Wait for Result" control timing and user experience . what does key settings refer to? i cannot find it the user interface How can i utilize this custom function to trigger after the customer tells the ai agent what time to callback. i want to ensure the entire conversation is should this be the last step or how can i use this function to trigger the creation of a hubspot task creation or to trigger a workflow
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer ## Function Node Settings Location The "key settings" for Function Node are found in the Node Settings section [(1) ]() . These settings include: - **Speak During Execution**: when enabled, a text input box will show up where you can write instructions for the agent to follow to generate an utterance like
Let me check that for you.
to say while the function is being executed - **Wait for Result**: when enabled, the agent will wait for the function to finish executing before attempting to transition to any other node - **Global Node**: read more at Global Node - **Block Interruptions**: when enabled, the agent will not be interrupted by user when speaking - **LLM**: choose a different model for this particular node ## Creating HubSpot Task Custom Function To trigger HubSpot task creation after a callback request, you'll need to create a custom function [(2) ]() . Here's how: ### 1. Configure Function Details - Name:
create_hubspot_task
- Description:
Create a HubSpot task for callback scheduling
### 2. Set Up HTTP Request - **HTTP Method**: POST - **Endpoint URL**: Your HubSpot API endpoint for task creation - **Headers**: Include your HubSpot API key and content-type ### 3. Define Parameters Example parameter schema for callback information :
Copy code
json
{
  "type": "object",
  "properties": {
    "callback_time": {
      "type": "string",
      "description": "The requested callback time"
    },
    "customer_phone": {
      "type": "string", 
      "description": "Customer's phone number"
    },
    "customer_name": {
      "type": "string",
      "description": "Customer's name"
    }
  },
  "required": [
    "callback_time",
    "customer_phone"
  ]
}
## Flow Positioning Strategy For callback scheduling, this Function Node should typically not be the last step. Consider this flow: 1. Extract Dynamic Variable Node - Capture callback time and customer details [(3) ]() 2. Function Node - Create HubSpot task with the extracted information [(1) ]() 3. Conversation Node - Confirm the callback has been scheduled 4. SMS Node (optional) - Send confirmation text [(4) ]() ## Ensuring Complete Conversation Data To capture the entire conversation for your HubSpot task, you can: - Use dynamic variables to reference conversation data in your custom function [(2) ]() - Set Wait for Result to true so the conversation doesn't end before the task is created [(1) ]() - Configure response variables to extract values from the HubSpot API response and save them as dynamic variables [(5) ]() ## Alternative: Webhooks for Post-Call Processing Consider using webhooks for HubSpot integration, which can trigger after the call ends and include the full transcript and call analysis [(6) ]() . Webhooks automatically push information the moment an event occurs, allowing you to instantly update CRMs and trigger automated workflows .
​ To learn more, see the sources I considered: [[1] Function Node Overview](https://docs.retellai.com/build/conversation-flow/function-node) [[2] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) [[3] Extract Dynamic Variable Node](https://docs.retellai.com/build/conversation-flow/extract-dv-node) [[4] SMS Node](https://docs.retellai.com/build/conversation-flow/sms-node) [[5] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) [[6] Retell AI Webhooks | AI Voice Agents With Live Data | Retell AI](https://www.retellai.com/blog/retell-ai-webhooks-feature) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how to handle spanish?
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer ### Answer To handle Spanish in Retell AI, you need to configure both the language settings and prompt instructions [(1) ]() . ## Language Configuration In the global settings, select the language your agent will understand . You can select Spanish as the language of user audio, or choose "multi" to allow the agent to understand both Spanish and English . ## Prompt Configuration Write your prompt in English as you normally would, but include a clear instruction for the agent to always respond in Spanish [(2) ]() . Add something like "always respond in Spanish" into the prompt . The language setting will not enforce the agent to generate responses in Spanish - you must specify this in the prompt itself . It also won't enforce a specific accent, so choose a voice that speaks with the desired accent . ## Multilingual Setup Options For multilingual Spanish/English support, you can: 1. **Use multilingual language model**: Use the multilingual Spanish/English language model and specifically prompt something like "ask the user their language preference in english and spanish, and once they have told you, use this consistently throughout your conversation" [(3) ]() . 2. **English prompts with Spanish responses**: Spanish bots can be written entirely in English with instructions to speak Spanish - this approach works perfectly . ## Voice Selection Retell AI supports Spanish voice agents with industry-leading low latency, high accuracy, and full compliance [(4) ]() [(5) ]() . You can choose between different Spanish varian
ts like Spanish (Latin America) [(6) ]() and Spanish (Spain) [(5) ]() . ## Transfer Scenarios If you need different agents for different languages, you can set up call transfers between Spanish and English agents, though you may need to implement custom routing logic to handle language preference changes during calls [(7) ]() .
​ To learn more, see the sources I considered: [[1] Step 1: Configure global settings](https://docs.retellai.com/build/conversation-flow/global-setting) [[2] Discord message from @dcphealth_99900 on 2025-08-27](https://discord.com/channels/1186424376300679209/1294891368505937952/1410379209615868006) [[3] Discord message from @zzzxvzxvzvzv_55797 on 2025-02-27](https://discord.com/channels/1186424376300679209/1186462578310910112/1344785385603207219) [[4] ](https://www.retellai.com/languages/spanish) [[5] Retell AI](https://www.retellai.com/languages-ai/spanish-spain) [[6] ](https://www.retellai.com/languages-ai/spanish-ai) [[7] 📞 Inbound call transfer issue – multilingual setup](https://discord.com/channels/1186424376300679209/1356567785739915326) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy trying to setup sip trunking to handle inbound calls with retell. currently it already works and setup for outbound calls. when i try to do inbound calls. it says the user is busy
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer Based on the available documentation, when inbound calls through SIP trunking show as "user is busy," this typically indicates a configuration issue with your SIP trunking provider's origination settings [(1) ]() . ## Troubleshooting Steps Check Your Origination Settings The documentation specifically mentions that for inbound call connection issues, you should check your origination setting in your SIP trunking provider . Also check the logs in your telephony provider, and perhaps open a ticket with them . Verify Configuration Details Since outbound calls work but inbound calls fail, this suggests your termination settings are correct but your origination configuration may need adjustment . Retell will not be able to know if the setup you provide works or not until a call is made . Common SIP Trunking Issues From community reports, similar "busy" or connection issues can stem from: - SIP media path problems where signaling works but media doesn't flow properly [(2) ]() - NAT gateway issues causing missing SIP ACK messages after pickup - Firewall or IP authentication problems [(3) ]() ## Configuration Requirements For proper inbound call handling with SIP trunking, ensure your provider has: - Correct origination settings pointing to Retell's SIP server - Proper codec configuration (G722, G729, OPUS) [(4) ]() - TCP transport method (UDP temporarily not supported due to connectivity issues) - Appropriate number format (+E.164) ## Next Steps 1. Check provider logs - Review your SIP trunking provider's logs for specific error messages 2. Verify origination configuration - Ensure inbound
routing is properly configured to Retell's SIP server 3. Contact your provider - Open a ticket with your telephony provider to troubleshoot the origination path [(1) ]() If configuration appears correct, you may need to delete and re-import the number , as changing configuration of imported numbers currently requires this process.
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Major Calling Outage with SIP Trunking](https://discord.com/channels/1186424376300679209/1384072591773401119) [[3] Discord message from @sohithbandari on 2025-08-15](https://discord.com/channels/1186424376300679209/1186462578310910112/1405960109015699629) [[4] Telnyx](https://docs.retellai.com/deploy/telnyx) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy the line is ringing but retell is not picking up
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer When the line is ringing but Retell is not picking up, this typically indicates an issue with your SIP trunking origination configuration or call routing [(1) ]() . ## Check Your SIP Server Configuration Ensure your SIP trunking provider is correctly configured to route inbound calls to Retell's SIP server:
sip:5t4n6j0wnrl.sip.livekit.cloud
. For toll-free numbers, you may need to specify the transport protocol:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp
[(2) ]() . ## Verify Number Import Status Make sure your phone number is properly imported into Retell AI [(1) ]() . The number needs to be imported so Retell knows how to route the call [(3) ]() . You can import numbers programmatically via the Import Number API . ## Common Configuration Issues Based on community reports, similar issues can stem from [(4) ]() : - SIP configuration problems with origination settings - Authentication issues between your provider and Retell's SIP server - Transport protocol mismatches (TCP vs UDP) ## Troubleshooting Steps 1. Check origination settings in your SIP trunking provider [(1) ]() 2. Review provider logs for specific error messages about call routing 3. Verify authentication - ensure credentials or IP whitelisting is properly configured 4. Confirm transport protocol - TCP is recommended, UDP may have connectivity issues [(3) ]() ## Provider-Specific Configuration For Telnyx, ensure you have : - Set
+E.164
as the number format - Selected
TCP
as the transport method - Configured proper SIP region settings The documentation notes that Retell will not be able to know if the setup works until a call is made [(1) ]() . If calls are ringing but not connecting, this suggests a routing or authentication issue between your provider and Retell's SIP infrastructure.
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] How to Choose the Right Telephony System in 2024 | Retell AI](https://www.retellai.com/blog/how-to-choose-the-right-telephony-system-in-2024) [[3] Telnyx](https://docs.retellai.com/deploy/telnyx) [[4] Discord message from @naseem_53863 on 2025-05-23](https://discord.com/channels/1186424376300679209/1186462578310910112/1375533669619470396) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy Thanks—that PCAP is clear: SIP responses seen: 100 Trying → 180 Ringing → 486 Rejected (final). To: sip:+18883077981@5t4n6j0wnrl.sip.livekit.cloud → Twilio reached Retell’s LiveKit SIP host correctly. Meaning: Retell/LiveKit rejected the call (no route/agent available), not a Twilio or carrier block. these are the logs and what happened. so what is the issue on retell side
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer Based on your PCAP analysis showing a 486 Rejected response from Retell's SIP server, the issue is on Retell's side and typically indicates that the phone number is not properly imported or configured in your Retell account [(1) ]() . ## Common Causes of 486 Rejected from Retell **Number Not Imported**: The most likely cause is that the phone number
+18883077981
is not imported into your Retell account . Even though the SIP call reaches Retell's server correctly, Retell rejects it because it doesn't recognize the destination number. **Multiple Account Conflicts**: From community reports, 486 errors can occur when the same SIP trunk or number is added to multiple Retell accounts [(2) ]() . This creates routing conflicts where Retell doesn't know which account should handle the call. **Configuration Issues**: The number may be imported but with incorrect configuration details that prevent proper call routing [(1) ]() . ## Troubleshooting Steps 1. **Verify Number Import**: Check your Retell dashboard to confirm that
+18883077981
is properly imported and shows as active . 2. **Check Configuration**: If the number is imported, verify that your termination SIP URI and authentication credentials are correctly configured . 3. **Delete and Re-import**: If configuration changes are needed, delete the imported number and re-import it with correct settings . The documentation notes that "Right now you'd need to delete and re-import the number" to change configuration. 4. **Review Call Detailed Log**: Check the call detailed log in your Retell dashboard, which contains the SIP error code and error message that should provide enough information to identify the root cause [(3) ](
cord.com/channels/1186424376300679209/1395745675307778180) . ## Import Number Process To properly import your number for inbound calls, you need to: - Access the Retell AI dashboard and navigate to the phone numbers section - Provide your termination SIP URI from your telephony provider - Configure authentication credentials if applicable - Ensure the number is assigned to the correct SIP trunk in your provider [(4) ]() Since your SIP signaling is working correctly and reaching Retell's server, this is specifically a number routing issue within Retell's system rather than a connectivity problem.
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] 486 Rejected Error](https://discord.com/channels/1186424376300679209/1389966501011787897) [[3] SIP Call Rejected with 486 from Retell – Request for Debug Assistance](https://discord.com/channels/1186424376300679209/1395745675307778180) [[4] How to Choose the Right Telephony System in 2024 | Retell AI](https://www.retellai.com/blog/how-to-choose-the-right-telephony-system-in-2024) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how to pass variables through the retell ai call?
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer ## How to Pass Variables Through Retell AI Calls There are several ways to pass variables through Retell AI calls depending on whether you're making outbound or inbound calls [(1) ]() . ## For Outbound Calls When using the Create Phone Call API, set your variables in the
retell_llm_dynamic_variables
field . All values must be strings :
Copy code
json
{
 "user_name": "John Smith",
 "product_name": "Premium Plan",
 "account_status": "active"
}
[(2) ]() Here's a complete example using the API [(3) ]() :
Copy code
javascript
const registerCallResponse = await retell.call.createPhoneCall({
 from_number: '+14157774444', // replace with the number you purchased
 to_number: '+12137774445', // replace with the number you want to call
 retell_llm_dynamic_variables: { // replace with the dynamic variables you want to send (optional)
 name: 'John Doe',
 blood_group: 'B+'
 }, 
 custom_sip_headers: { // replace with custom sip headers you want to send (optional)
 X-Custom-Header: 'Custom Value'
 }
}) ;
console.log(registerCallResponse) ;
## For Inbound Calls You can supply dynamic variables in the Inbound Call Webhook [(1) ]() . The webhook response should include the dynamic variables you want to use for that specific call. ## Using Dynamic Variables in Your Agent Dynamic variables use the
{{variable_name}}
syntax and can be used in : - **Prompts**: Agent instructions and personality - **Begin message**: Opening greeting - **Tool configurations**: Custom function URLs, tool descriptions, property descriptions - **Call handling**: Voicemail prompts and messages, transfer call phone numbers, warm transfer instructions ### Example Usage
Copy code
"Hello {{user_name}}, I understand you're interested in {{product_name}}. How can I help you today?"
## Default System Variables Retell automatically provides these system variables with no configuration required : - `{{current_time}}`: Current time in America/Los_Angeles - `{{current_calendar}}`: 14-day calendar in America/Los_Angeles - `{{call_type}}`: Call type, web_call or phone_call - `{{direction}}`: Call direction, inbound or outbound (phone calls only) - `{{user_number}}`: User's phone number - `{{agent_number}}`: Agent's phone number ## Best Practices - Set default values for dynamic variables at the agent level as fallback - All values in
retell_llm_dynamic_variables
must be strings - Test thoroughly with both set and unset variables - Use defensive prompting that works with or without variables
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[3] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy can i create a conversation node and not attach it to anything
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer Yes, you can create a conversation node without attaching it to anything. Based on the documentation, nodes are individual building blocks that can exist independently on the canvas [(1) ]() . When you add a node, you can: 1. Click from the left sidebar to select the node type you want to add 2. Configure the node by clicking on it and filling in the node instructions 3. Optionally add transition conditions and connect it to other nodes later The documentation doesn't specify any requirement that nodes must be connected to function. You can create standalone conversation nodes and connect them later as needed, or leave them unconnected if they serve as templates or backup nodes for your conversation flow. This flexibility allows you to build and test individual conversation components before integrating them into your main flow.
​ To learn more, see the sources I considered: [[1] Node Overview](https://docs.retellai.com/build/conversation-flow/node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy inbound calls are not working, outbound calls are working. im using an imported twilio number ive tried deleting the imported number and importing it again
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer Since you're using an imported Twilio number and outbound calls work but inbound calls don't, this suggests your termination settings are correct but there's likely an issue with your origination configuration [(1) ]() . ## Key Troubleshooting Steps for Twilio SIP Trunking 1. Verify Origination Setup In your Twilio Elastic SIP Trunk, ensure your origination SIP URI is correctly set to Retell's SIP server address:
sip:5t4n6j0wnrl.sip.livekit.cloud
. 2. Check Termination SIP URI Make sure there are no spaces in your Termination SIP URI and that you're using a localized termination URI near your region . You can expand and view your localized URIs in the Twilio console . 3. Verify Authentication If you set up authentication via credentials in your Elastic SIP Trunk, ensure you're supplying the correct username and password when importing the number to Retell . The username should be the actual username, not the friendly name that shows in the credential list . 4. Import Configuration Check When importing your number, ensure you're providing the correct termination URI from Step 1 of your Twilio setup [(2) ]() . The termination URI should be in the format that ends with ".pstn.twilio.com" . 5. Number Assignment Verify that your phone number is properly moved to the Elastic SIP Trunk in Twilio before importing it to Retell [(1) ]() . ## Required Import Parameters When importing your Twilio number, you need [(2) ]() : - `phone_number`: In E.164 format (e.g., "+14157774444") - `termination_uri`: Your Twilio termination SIP URI -
sip_trunk_auth_username
and `sip_trunk_auth_password`: If you configured authentication - `inbound_agent_
id`: The agent to handle inbound calls Since you've already tried deleting and re-importing the number, double-check that all these configuration details match exactly what's configured in your Twilio Elastic SIP Trunk.
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer Based on your previous troubleshooting where outbound calls work but inbound calls fail with your imported Twilio number, let's systematically check your Twilio SIP trunk configuration. ## Critical Twilio Configuration Points *1. Origination Setup (Inbound Calls) * Your Twilio Elastic SIP Trunk origination must point to Retell's SIP server address:
sip:5t4n6j0wnrl.sip.livekit.cloud
[(1) ]() . *2. Termination SIP URI (Outbound Calls) * Since outbound works, your termination URI is likely correct, but verify there are no spaces and you're using a localized termination URI near your region . 3. Authentication Verification If you set up authentication via credentials, ensure you're using the actual username, not the friendly name that shows in the credential list . The username is different from the friendly name . ## Import Configuration Check When importing your Twilio number to Retell, you need to supply the termination SIP URI you set up in Step 1 of your Twilio configuration . If you have set up authentication via credentials, you'll need to supply the username and password as well . ## Common Twilio Issues Termination SIP URI Problems: - Check your Termination SIP URI - if there's a space in it, please remove it - Use a localized termination URI that's near your region Credential Issues: - Make sure you entered the right username and credentials - The username is not the friendly name that shows in the credential list ## Step-by-Step Verification 1. In Twilio Console: Verify your Elastic SIP Trunk has origination set to
sip:5t4n6j0wnrl.sip.livekit.cloud
2. Number Assignment: Confirm your number is moved to the Elastic SIP Trunk 3. Import to Retell: Use the exact termination SIP URI from your Twilio trunk setup 4. Test: Make an inbound call to verify the conn
ection Since you've already deleted and re-imported the number, double-check that your Twilio origination configuration exactly matches Retell's required SIP server address.
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] Twilio](https://docs.retellai.com/deploy/twilio) ​
w
@AI Evy what model are you using for your voice models? when are you adding the newest elevenlabs voice model?
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer Based on the available sources, Retell AI supports several ElevenLabs voice models that you can configure through the
voice_model
parameter [(1) ]() [(2) ]() [(3) ]() . ## Currently Available ElevenLabs Voice Models The supported ElevenLabs voice models include [(1) ]() : -
eleven_turbo_v2
-
eleven_flash_v2
-
eleven_turbo_v2_5
-
eleven_flash_v2_5
-
eleven_multilingual_v2
You can set the voice model when creating or updating an agent [(2) ]() [(3) ]() :
Copy code
javascript
const agentResponse = await client.agent.create({
  response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
  voice_id: '11labs-Adrian',
  voice_model: 'eleven_turbo_v2'
}) ;
[(3) ]() ## Voice Model Configuration The
voice_model
parameter is optional and currently only applies to ElevenLabs voices [(1) ]() [(2) ]() . If you set it to null, default voice model settings will apply [(1) ]() . You can check the dashboard for details on each voice model [(1) ]() [(2) ]() . ## Community Discussion on Voice Models From community discussions, there have been reports about voice model compatibility issues, particularly when switching between different models [(4) ]() . Some users have experienced problems when trying to revert to default models after using newer ones like
eleven_turbo_v2_5
. Regarding when newer ElevenLabs voice models will be added, I don't have information about future release timelines in the available sources.
​ To learn more, see the sources I considered: [[1] Update Agent](https://docs.retellai.com/api-references/update-agent) [[2] Create Agent](https://docs.retellai.com/api-references/create-agent) [[3] Create Agent](https://docs.retellai.com/api-references/create-agent) [[4] Issue when sending
voice_model
parameter
elevenlabs_turbo_v2_5
](https://discord.com/channels/1186424376300679209/1367836412778512545) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy how to enable/disable leave voicemail through api ?
a
Thanks for the follow-up, @jm08314. I'll get back to you soon.
### Answer To enable or disable the "leave voicemail" feature for an agent via the API, use the voicemail_option field when creating or updating an agent. - To enable "leave a message," set voicemail_option to an object with the desired action (e.g., static_text with your message) . - To disable voicemail handling entirely, set voicemail_option to null. Example for enabling "leave a message":
Copy code
json
"voicemail_option": {
  "action": {
    "type": "static_text",
    "text": "Please give us a callback tomorrow at 10am."
  }
}
Example for disabling voicemail:
Copy code
json
"voicemail_option": null
You can include this field in your PATCH request to /update-agent or when creating an agent via the API [(1) ]() [(2) ]() [(3) ]() .
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] Update Agent](https://docs.retellai.com/api-references/update-agent) [[2] Create Agent](https://docs.retellai.com/api-references/create-agent) [[3] List Agents](https://docs.retellai.com/api-references/list-agents) ​
j
@AI Evy so no way to make an agent sometimes call with or without voicemail then...
a
Thanks for the follow-up, @jm08314. I'll get back to you soon.
### Answer Based on the available documentation, the voicemail behavior for an agent is controlled by the voicemail_option field when creating or updating an agent. You can either set voicemail_option to a specific action (such as leaving a static message) to enable voicemail, or set it to null to disable voicemail handling entirely [(1) ]() [(2) ]() [(3) ]() [(4) ]() [(5) ]() [(6) ]() . There is no documented way to dynamically choose whether to leave a voicemail or not on a per-call basis via the API. The configuration appears to be static for the agent and must be updated by changing the agent configuration.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how to get the voice ai agent to not say they are a real person
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer ### Answer To prevent your AI voice agent from claiming to be a real person, you need to configure this in the agent's prompt instructions. This is handled through the global prompt settings where you specify the agent's persona and identity [(1) ]() . ## Configuration Through Global Settings In the global settings, you can write a global prompt that specifies the agent's identity, persona, and guardrails . This set of text will be available in every node and will influence all response generation . You should include clear instructions in your global prompt such as: - "You are an AI assistant, not a human" - "Always identify yourself as an AI when asked" - "Do not claim to be a real person or human agent" ## Setting Agent Identity The global prompt is where you specify the agent's persona, identity, and guardrails . This ensures consistent behavior across all interactions where the agent properly identifies itself as an AI system rather than claiming to be human. This configuration applies whether you're using the conversation flow builder or API-based agent creation, as the prompt instructions control how the agent responds about its identity.
​ To learn more, see the sources I considered: [[1] Step 1: Configure global settings](https://docs.retellai.com/build/conversation-flow/global-setting) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how to get the ai agent not to repeat itself at the start of the node especially when taking inbound calls
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer I don't have specific information in the available sources about preventing AI agents from repeating themselves at the start of conversation flow nodes, particularly for inbound calls. The sources cover node configuration and agent settings [(1) ]() [(2) ]() [(3) ]() , but don't provide details about controlling repetitive behavior at node entry points or specific handling for inbound call scenarios. Check out these potentially useful sources: [Node Overview]() , [Create Agent]() , [List Agents]() Would you like me to try to answer generally based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Node Overview](https://docs.retellai.com/build/conversation-flow/node) [[2] Create Agent](https://docs.retellai.com/api-references/create-agent) [[3] List Agents](https://docs.retellai.com/api-references/list-agents) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how to prevent it from repeating itself
a
Thanks for the follow-up, @wesleybldc. I'll get back to you soon.
### Answer Based on the community discussion in the sources, there are specific techniques for preventing agents from repeating information in conversation flows [(1) ]() . ## Using Set Variable Instead of Extract Variable The key solution is to use a Set Variable node rather than Extract Variable to track what information has already been mentioned . Here's the approach: 1. **Set a tracking variable**: Use a Set Variable node to set
price_mentioned = "true"
immediately after the bot provides information 2. **Add Logic Split conditions**: In subsequent nodes, wrap repeated content in a Logic Split or transition with the condition
{{price_mentioned}} == "true"
to skip that message if already mentioned 3. **Ensure variable persistence**: Make sure the variable is treated as a dynamic variable so it's accessible across branches ## Implementation Strategy The community suggests using Equation Conditions in Transition Logic to control when information gets repeated . Instead of relying on Extract Variable (which doesn't persist properly) , the Set Variable approach ensures the tracking state is maintained throughout the conversation flow. This prevents the agent from repeating pricing or other key information when users move between different conversation branches, such as from "Service Check" to "Appointment Booking" flows . The technique works by creating conditional logic that checks if information has already been shared before presenting it again, ensuring a smoother conversation experience without redundant repetition.
​ To learn more, see the sources I considered: [[1] How to set up the flow to avoid repeating what was mentioned already](https://discord.com/channels/1186424376300679209/1390655241170456617) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.