https://retellai.com/?utm_source=discord&utm_medium=seo logo
my webhook get's connected to inbound phone call
# ❓・ai-evy-support
s
@AI Evy my webhook get's connected to inbound phone call. In make, the scenario checks out, webhook response is successful and output is correct JSON. But retell AI agent is not processing variables that are passed
a
Thanks for tagging me @samira_04165. I'll look through relevant sources and get back to you shortly.
### Answer The most common issue is incorrect JSON response format. For inbound call webhooks, the response must be properly structured with the
call_inbound
wrapper [(1) ]() . The correct format should be :
Copy code
json
{
  "call_inbound": {
    "dynamic_variables": {
      "customer_name": "John Doe"
    }
  }
}
Common formatting issues include [(2) ]() [(3) ]() : - Missing the
call_inbound
wrapper - Using
retell_llm_dynamic_variables
instead of
dynamic_variables
- Variables not being strings - Response payload being too large To troubleshoot: 1. Check your call logs in the Retell dashboard for webhook errors 2. Ensure all dynamic variables are strings [(3) ]() 3. Test with hardcoded values first 4. Verify the webhook timeout (10 seconds) isn't being exceeded [(1) ]() The webhook expects a JSON response with a successful status code (2xx) and will retry up to 3 times if unsuccessful .
​ To learn more, see the sources I considered: [[1] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[2] Agent not picking up dynamic variables](https://discord.com/channels/1186424376300679209/1395530229640073329) [[3] agent not receiving dynamic variables from inbound webhook response](https://discord.com/channels/1186424376300679209/1394015802402930778) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
I followed all guides and everything checks out but webhook response still doesn't come in
Same as in case [2], I went an removed call summary and still didn't work. Also creating new agent and tried but also didn't work
@AI Evy
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
Key troubleshooting steps: 1. **Webhook timeout**: The webhook has a 10-second timeout and will retry up to 3 times if no success status (2xx) is received 2. **Phone number configuration**: If the webhook fails after all retries, it will check whether the number has an inbound agent id set. If it does, it will connect to that agent. If not, it will disconnect the call 3. **Dynamic variables format**: All values in dynamic variables must be strings [(2) ]() . Numbers, booleans, or other data types are not supported 4. **Agent configuration**: Verify the agent is properly configured to use the dynamic variables in its prompt or first sentence Based on the Discord discussion [(3) ]() , this appears to be a known issue where the inbound call webhook sometimes isn't triggered. You might want to verify whether you're using the correct webhook type - there's a distinction between the inbound call webhook and the general webhook system . If the issue persists after checking these points, I'd recommend: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead?
### Answer Since you've verified the webhook response format and it's working in Make but not reaching the agent, let's check a few specific configuration points. First, ensure your phone number has the inbound call webhook properly configured [(1) ]() . The webhook should be set at the phone number level, not just the agent level . For the webhook response, it must use this exact structure :
Copy code
json
{
 "call_inbound": {
 "dynamic_variables": {
 "customer_name": "John Doe"
 },
 "metadata": {
 "random_id": "12345"
 }
 }
}
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] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[2] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[3] Inbound calls dynamic variables webhook is not called](https://discord.com/channels/1186424376300679209/1336373687288594442) ​
s
@AI Evy can I talk to a rep?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer Based on the available sources, I can direct you to the appropriate support channels: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
message has been deleted
s
@AI Evy if my agent says or does something it shouldn't, (it's not something they usually say or do, and could be random), but how do I make sure it doesn't happen in future and how to train so future chances are less or repetitive scenarios
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer To prevent unwanted agent behavior and improve future performance, Retell AI provides several testing and optimization tools [(1) ]() [(2) ]() . Simulation Testing for Prevention: You can use Retell AI's simulation testing to identify problematic responses before deployment [(2) ]() . This involves creating test scenarios that simulate the unwanted behavior and refining the agent's responses . Batch Testing for Training: Retell AI's batch testing enables you to test multiple scenarios simultaneously to identify patterns in unwanted behavior . This helps you understand when and why the agent produces unexpected responses . Implementation Steps: 1. Create simulation test cases that replicate the problematic scenario 2. Define success criteria for what the agent should do instead 3. Run batch tests to evaluate performance across multiple similar scenarios 4. Use debugging tools to refine AI behavior when responses don't meet expectations Continuous Improvement: The platform allows you to update prompts based on user interactions and refine responses to common misunderstandings [(1) ]() . You can also analyze performance data to continuously optimize the agent's behavior over time . Debugging Features: When unwanted behavior occurs, you can use Retell AI's debug panel to: - Add fine-tuning examples to improve response accuracy [(2) ]() - Adjust LLM temperature to make responses more predictab
​ To learn more, see the sources I considered: [[1] Building AI Agents: The Ultimate Guide for Non-Programmers | Retell AI](https://www.retellai.com/blog/how-to-build-ai-agents-for-beginners) [[2] Retell AI Introduces Simulation and Batch Testing for AI Agents | Retell AI](https://www.retellai.com/blog/retell-ai-introduces-simulation-and-batch-testing-for-ai-agents) ​
le - Regenerate AI responses to find better alternatives This approach helps ensure your agent becomes more reliable and consistent in avoiding unwanted behaviors [(1) ]() [(2) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
ok thanks, we'll get back to this. I got a number from twilio through Retell AI, to build credibility, I need to connect inbound SMS, Agent voice mail hook up, and general settings over phone line (how many times to ring before voice mail, etc)
@AI Evy
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer For your Twilio number setup through Retell AI, I can help with the configurations you mentioned: SMS Integration: Retell AI supports outbound SMS through the Create Outbound SMS API [(1) ]() . You can initiate SMS conversations using:
Copy code
curl
curl --request POST \
 --url <https://api.retellai.com/create-sms-chat> \
 --header 'Authorization: Bearer <token>' \
 --header 'Content-Type: application/json' \
 --data '{
 "from_number": "+12137771234",
 "to_number": "+14155551234",
 "override_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "override_agent_version": 1,
 "metadata": {},
 "retell_llm_dynamic_variables": {
 "customer_name": "John Doe"
 }
}'
Voicemail Configuration: You can configure voicemail settings in your agent configuration [(2) ]() [(3) ]() [(4) ]() . The voicemail options include: - Voicemail detection and handling [(2) ]() [(4) ]() - Actions to take when voicemail is detected (hangup or leave a message) [(2) ]() [(3) ]() [(4) ]() - Extended voicemail detection mode [(5) ]() In the agent settings, you can configure the
voicemail_option
with actions like:
Copy code
json
{  
 "action": {  
 "type": "static_text",  
 "text": "Please give us a callback tomorrow at 10am."  
 }  
}
[(3) ]() Ring Duration Settings: You can control ring duration using the
ring_duration_ms
parameter . This applies for both outbound call ringtime and call transfer ringtime, with a default of 30000 (30 seconds) and valid range of [5000, 90000] . For comprehensive telephony settings, you can also configure: -
begin_message_delay_ms
for delays before the agent speaks -
end_call_after_silence_ms
for automatic call termination after user inactivity -
max_call_duration_ms
for maximum call length These settings are available through both the dashboard interface [(2) ]() [(4) ]() and the API [(3) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
for outbound sms, isn't the function already, "send sms" @AI Evy
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer You're correct that there are multiple ways to send SMS with Retell AI: 1. Create Outbound SMS API - This is the standalone API endpoint for initiating SMS conversations [(1) ]() :
Copy code
curl
curl --request POST \
 --url <https://api.retellai.com/create-sms-chat> \
 --header 'Authorization: Bearer <token>' \
 --header 'Content-Type: application/json' \
 --data '{
 "from_number": "+12137771234",
 "to_number": "+14155551234",
 "override_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "override_agent_version": 1,
 "metadata": {},
 "retell_llm_dynamic_variables": {
 "customer_name": "John Doe"
 }
}'
2. Send SMS nodes within voice flows - You can add SMS functionality directly into voice call workflows using Send SMS nodes [(2) ]() . These allow you to trigger outbound or follow-up texts during or after a call . 3. Standalone SMS agents - You can create dedicated text-based agents for fully automated SMS conversations . The "send_sms" function you're referring to appears to be a tool function that can be used within agent workflows, but based on the Discord discussion, there can be issues with A2P recognition for certain number types [(3) ]() . Currently, only Retell-issued Twilio numbers support two-way SMS functionality [(4) ]() .
s
already written and ready to be used
ok so I have twilio, so will using that send_sms function alone work? @AI Evy ?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
s
or do I still have to enter that code
a
### Answer ### Answer Based on the documentation, the
send_sms
function has specific requirements that may not work with your standard Twilio number. For the Send SMS tool/function to work: The Send SMS tool only works for phone numbers that have SMS enabled [(1) ]() . Currently only Retell Twilio numbers can enable SMS [(1) ]() [(2) ]() . Your Twilio Number Limitation: From the Discord discussion, there's a known issue where the send_sms tool doesn't recognize standard Twilio A2P numbers [(3) ]() . When users try to use the send_sms function on calls with their own Twilio numbers, they get an error saying "A2P not found" even though their numbers are A2P approved . Workaround for Your Twilio Number: For your own Twilio number, you'll need to use the SMS webhook on Twilio's end, and then call a custom function on Retell . You can use either a Make or N8N automation for this . SMS Capabilities Requirements: SMS capabilities are available for Retell Twilio numbers and your own Twilio numbers, but require proper setup through the Enable SMS process [(4) ]() . This involves getting approved for a business profile, brand, and SMS campaign . So to directly answer your question: No, the
send_sms
function alone will not work with your standard Twilio number. You'll need to set up the webhook integration as mentioned above [(3) ]() .
​ To learn more, see the sources I considered: [[1] Send SMS](https://docs.retellai.com/build/single-multi-prompt/send-sms) [[2] SMS Node](https://docs.retellai.com/build/conversation-flow/sms-node) [[3] send_sms tool doesnt recognize twilio A2P](https://discord.com/channels/1186424376300679209/1391669424620310618) [[4] Enable SMS capabilities](https://docs.retellai.com/deploy/enable-sms) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
so let's troubleshoot starting from first thing, how to check if sms is enabled? do I havet to log into twilio to get into settings?
@AI Evy
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Enable SMS capabilities](https://docs.retellai.com/deploy/enable-sms) [[2] Phone number can send SMS](https://discord.com/channels/1186424376300679209/1387874084536193024) ​
### Answer To check if SMS is enabled for your phone number, you can check directly in the Retell dashboard [(1) ]() . You don't need to log into Twilio separately. In the Retell Dashboard: Navigate to your phone number settings in the Retell dashboard and look for the "Setup SMS Function" button under Advanced Add-Ons . If SMS is not yet enabled, you'll see this button to begin the setup process. Two Options for SMS Setup: *Option 1: Enable SMS through Retell (Recommended) * This involves getting approved for A2P 10DLC through Retell's integrated process . You'll need to complete: - Business profile approval - Brand registration (Low-volume: $4 fee, Standard: $45 fee) - SMS campaign approval Option 2: Bring Your Own Twilio Number If you already have a Twilio number with SMS capabilities enabled, you can integrate it by clicking "Setup SMS Function" and providing your Twilio credentials : - Account SID - Twilio Auth Token Important Note: Based on the Discord discussion, there's a distinction between Retell Twilio numbers and custom Twilio numbers [(2) ]() . Currently, SMS functionality works best with Retell Twilio numbers, and custom telephony numbers may require additional configuration . To determine your current SMS status, start by checking your phone number settings in the Retell dashboard for the SMS setup options [(1) ]() .
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] Create Outbound SMS](https://docs.retellai.com/api-references/create-sms-chat) [[2] Unlock AI Texting, SMS, & Chatbots with Retell AI Agents | Retell AI | Retell AI](https://www.retellai.com/blog/unlock-ai-texting-with-retell-ai-voice-agents) [[3] send_sms tool doesnt recognize twilio A2P](https://discord.com/channels/1186424376300679209/1391669424620310618) [[4] 2 Way SMS not working?? It won't allow us to choose a number to assign inbound and outbound.](https://discord.com/channels/1186424376300679209/1405373152917454908) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
looks like I got rejected, so there is no other way to active SMS @AI Evy
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer If your SMS application was rejected, you still have a few options to explore: Option 1: Reapply After Addressing Rejection Reasons If your application was rejected, check the rejection reason and update your application accordingly [(1) ]() . If you were rejected at a later stage, you might be able to reuse previous approvals . For example, if your business profile and brand are approved but the SMS campaign is rejected, you can reuse the business profile and brand approval and create a new SMS campaign application . Option 2: Bring Your Own Twilio Number If you already have a Twilio number with SMS capabilities enabled, you can integrate it with Retell by following these steps : 1. Click on Setup SMS Function in Advanced Add-Ons 2. Provide your Twilio credentials (Account SID and Twilio Auth Token) 3. Configure SMS settings once your credentials are verified Important Considerations: - Make sure your Twilio number already has SMS capabilities enabled and is compliant with SMS regulations before integration - To enable two-way SMS conversations, enable the
useInboundWebhookOnNumberCalled
option in your phone number configuration - For more information about A2P 10DLC compliance, see Twilio's A2P 10DLC documentation Custom Function Alternative: Based on Discord discussions, if you have your own Twilio number, you can use a custom function to send SMS from your custom telephony numbers [(2) ]() . Currently, SMS functionality is only fully supported for Retell Twilio numbers . The application process can take a while (couple weeks) as it's a manual review process on the telephony provider side [(1) ]() . You'll be notified via email when the application is appr
oved or rejected with the reason .
​ To learn more, see the sources I considered: [[1] Enable SMS capabilities](https://docs.retellai.com/deploy/enable-sms) [[2] Phone number can send SMS](https://discord.com/channels/1186424376300679209/1387874084536193024) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
Based on the guide, it says I either need to bring my own twilio number or I need Retell to verify our business @AI Evy ...We just got rejected twice, but I have my IDs and corporation license, etc. What can I do ?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer Given that you've been rejected twice but have proper documentation like IDs and corporation license, here are your options: For A2P Registration Issues: The A2P registration process has strict requirements and the rejection might be due to specific formatting or information issues rather than lack of documentation [(1) ]() . When filling out your business profile, ensure you select the correct business type - if you have an EIN, select the appropriate business type like LLC or corporation; if you don't have an EIN, select sole proprietorship [(2) ](

▾

) . Business Profile Requirements: Your business profile must include exact information [(3) ]() : - Business Registration: Enter the exact registration number as it appears on your official documents - Business Address: Provide your current, verified business address - Contact Number: Use a physical phone line (VoIP numbers are not accepted) - Website: Ensure your website's content accurately reflects your business name and operations Brand Selection Impact: Only one brand can be created per business profile and it cannot be changed once created [(1) ]() . If you need to change the brand type, you have to create a new business profile . Consider whether you selected: - Low-volume: $4 one time application fee, send fewer than 6,000 message segments per day to the US - Standard: $45 one time application fee, SMS limit may fall between 6,000 and 400,000 message segments per day to the US Alternative: Bring Your Own Twilio Number If you already have a Twilio number with SMS capabilities enabled, you can integrate it with Retell . This bypasses the need for Retell's A2P approval process since your num
ber would already be compliant. Next Steps: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Enable SMS capabilities](https://docs.retellai.com/deploy/enable-sms) [[2] A2P Setup ultra guide | Enable SMS for Your Retell Agent](

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

) [[3] Add a business profile](https://docs.retellai.com/build/telephony/business-profile) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy I'm in canada, and could only get twilio through you, so only choice is to get verified now?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer Since you're in Canada and obtained your Twilio number through Retell AI, getting verified through the A2P process is indeed your primary path to enable SMS capabilities [(1) ]() . For Canadian businesses, the A2P process still applies: You'll need to complete the same three-step verification process : 1. Get approved for a business profile 2. Select a brand type and get approved for the brand 3. Get approved for a SMS campaign Business Profile Requirements: When setting up your business profile, if you have an EIN or equivalent Canadian business registration number, select the appropriate business type like LLC or corporation [(2) ](

▾

) . If you don't have an EIN equivalent, select sole proprietorship . Volume Selection: Choose between [(1) ]() : - **Low-volume**: $4 one time application fee, send fewer than 6,000 message segments per day to the US (2,000 message segments per day to T-Mobile) - **Standard**: $45 one time application fee, SMS limit may fall between 6,000 and 400,000 message segments per day to the US (2,000 - 200,000 per day to T-Mobile) If Rejected Again: The application process can take a while (couple weeks) as it's a manual review process on the telephony provider side . If your application is rejected, check the rejection reason and update your application accordingly . You might be able to reuse previous approvals - for example, if your business profile and brand are approved but the SMS campaign is rejected, you can reuse the business profile and brand approval and create a new SMS campaign application . Important Note: No refunds are provided if applications are rejected, as the charge is for the telephony provider's manual review process . Given your situatio
n with multiple rejections despite having proper documentation, I'd recommend contacting support directly for specific guidance on your rejections: - Visit [Contact Sales]() - Visit [)
​ To learn more, see the sources I considered: [[1] Enable SMS capabilities](https://docs.retellai.com/deploy/enable-sms) [[2] A2P Setup ultra guide | Enable SMS for Your Retell Agent](

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

) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy so at least, is there a way to still get inbound sms indirectly and also set up voicemail with agent voice
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer Yes, there are workarounds for both inbound SMS and voicemail with agent voice. Inbound SMS Indirect Solution: Based on community discussions, you can set up inbound SMS using Twilio webhooks even without Retell's SMS approval [(1) ]() . The approach is to configure your Twilio number to send SMS messages to a webhook (like Make or N8N) , then process those messages through your automation platform . Voicemail with Agent Voice: Retell AI supports comprehensive voicemail handling with customizable messages [(2) ]() . You can configure your agent to leave a message when voicemail is detected . Voicemail Configuration Options: You can set up voicemail behavior in your agent settings . Choose between: - **Hang up**: The agent will disconnect when it detects a voicemail - **Leave a message**: The agent will leave a message after it's the agent's turn to speak For leaving messages, you have two options : - **Static message**: The agent will leave a pre-recorded message, like
Hi, this is {{your name}}, please give us a callback tomorrow at 10am.
- **Prompt**: The agent will leave a message generated dynamically based on the instructions you provide, like
summarize the call and ask user to call back
API Configuration: You can configure voicemail options through the API using the
voicemail_option
parameter [(3) ]() :
Copy code
json
{  
 "action": {  
 "type": "static_text",  
 "text": "Please give us a callback tomorrow at 10am."  
 }  
}
Important Notes: - Voicemail detection will only run for the first 3 minutes of the call [(2) ]() - If the call is detected as voicemail and the action is taken successfully, the call will have a disconnection reason of
voicemail_reached
- The agent will only leave a message when it's the agent's turn to speak
​ To learn more, see the sources I considered: [[1] Discord message from @mushrooooom on 2025-06-26](https://discord.com/channels/1186424376300679209/1186462578310910112/1387632326682611873) [[2] Handle voicemail](https://docs.retellai.com/build/handle-voicemail) [[3] Create Agent](https://docs.retellai.com/api-references/create-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
ok no I meant, incoming phone calls, if we can set up voice mails, or just set up so no answer, general twilio settings, how can I access? and also for inbound sms solution as you mentioned, please provide detailed step by step of how @AI Evy
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer For incoming phone call voicemail settings and inbound SMS solutions, here's what I can provide based on the available sources: Twilio General Settings Access: Since you have your Twilio number through Retell AI, you'll need to work within Retell's SIP trunking configuration [(1) ]() . For your imported Twilio number, you can access settings through the Retell dashboard where you imported the number . Voicemail Configuration: Retell AI provides built-in voicemail detection that works for incoming calls [(2) ]() . The system can be configured to either "hang up" or "leave a message" when voicemail is detected . However, based on community discussions, there are some limitations with voicemail detection, particularly with certain carrier voicemails like "Welcome to Movistar, your call will be transferred to voicemail..." . Inbound SMS Solution - Step by Step: Based on the Discord discussion, here's the workaround for inbound SMS [(3) ]() : 1. Configure Twilio Messaging Webhook: - In your Twilio console, go to Phone Numbers → Manage → Active numbers - Select your phone number - In the Messaging section, set the webhook URL to a Make.com webhook endpoint 2. Set Up Make.com Scenario: - Create a new scenario in Make.com - Use the webhook module to receive SMS messages from Twilio - Process the incoming message data as needed for your use case 3. Integration Notes: - Voice traffic will go to your SIP trunk (Retell) , but SMS endpoints remain available for separate configuration - This setup allows you to handle inbound SMS independently from your voice agent Important Limitations: - For compre
hensive telephony settings like ring duration before voicemail, you may need to work within Twilio's limitations when using SIP trunking [(1) ]() - The inbound SMS solution requires manual webhook configuration since you don't have A2P approval through Retell [(3) ]() I don't have detailed information about accessing general Twilio settings for ring duration and voicemail setup when using Retell's SIP trunking. For specific telephony configurations, you may need to contact support: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] VOICEMAIL](https://discord.com/channels/1186424376300679209/1380663452023914506) [[3] Discord message from @mushrooooom on 2025-06-26](https://discord.com/channels/1186424376300679209/1186462578310910112/1387632326682611873) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
twilio console? so I do have to go inside twilio, not within retell @AI Evy
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer Yes, you need to access the Twilio console directly for SMS webhook configuration, not through Retell [(1) ]() . For Twilio SIP Trunk Setup: When using Twilio with Retell AI, you configure the SIP trunk settings in the Twilio console . For the origination setup (inbound calls) , you specify Retell's SIP server address as the origination SIP URI:
sip:5t4n6j0wnrl.sip.livekit.cloud
. For SMS Webhook Configuration: In the Twilio Console, navigate to Phone Numbers → Manage → Active Numbers [(2) ](

▾

) . Once you click on Active Numbers, select your phone number and configure the messaging webhook settings . This is separate from your voice configuration which routes to Retell. SMS vs Voice Routing: Voice traffic goes through your SIP trunk to Retell, but SMS endpoints can be configured separately in Twilio . The voice webhook or TwiML app handles calls, while the messaging webhook handles SMS [(3) ]() . Important Note: Make sure the Twilio number is active, has a Voice webhook or TwiML app set, and geo permissions allow the country you're calling . For SMS functionality, you'll configure the messaging webhook independently from your voice routing to Retell. So yes, you need to log into your Twilio console to configure SMS webhooks, even though your voice calls route through Retell's SIP infrastructure.
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Retell AI - Connect to your own Twilio (2) - Using Non Elastic SIP Trunk](

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

) [[3] created twilio number + imported but can't send/receive calls](https://discord.com/channels/1186424376300679209/1389999812669210654) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
I went into Twilio console, created a new account but obviously not with my twilio account because I don't have access....Now I create a new trunk, am I on the right path? this page comes? Trunk SID TKdcd0541efd48b67bab0fac5c249c8969 Features To learn more about SIP Trunking features, please see our user documentation. Call Recording Disabled Calls will not be recorded. Call Recording Record from ringing Recording Trim Disabled Silence will not be trimmed from recording Secure Trunking Disabled RTP must be used for media packets. SIP messages may be sent unencrypted or encrypted using TLS. Any SRTP encrypted calls will be rejected Call Transfer (SIP REFER) Disabled Twilio will reject any incoming SIP REFERs from your communications infrastructure Caller ID for Transfer Target Set caller ID as Transferee Enable PSTN Transfer Allow Call Transfers to the PSTN via your Trunk. Symmetric RTP Disabled Twilio will send RTP to the destination negotiated in the SDP. This setting is considered to be more secure and therefore recommended
@AI Evy
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer You're on the right path creating a new SIP trunk in Twilio [(1) ]() . Since you mentioned you got your Twilio number through Retell AI and don't have access to that specific Twilio account, creating a new trunk is the correct approach. Next Steps for Your SIP Trunk Configuration: 1. Setup Termination (for outbound calls) : You'll need to configure the termination SIP URI and authentication . For your elastic SIP trunk to accept Retell's outbound requests, you need to whitelist IP addresses or create authentication with username and password . Since Retell SIP server does not have a static IP, you'll need to whitelist all IP addresses in the range or use credential-based authentication . 2. Setup Origination (for inbound calls) : You need to specify Retell's SIP server address as the origination SIP URI:
sip:5t4n6j0wnrl.sip.livekit.cloud
. 3. Move Numbers to Your SIP Trunk: You'll need to purchase numbers or move existing numbers to this trunk . 4. Import Numbers to Retell: After setting up the trunk, import the number to Retell so it knows how to route the call . You'll supply the termination SIP URI you set up in Step 1, and if you configured authentication via credentials, you'll need to supply the username and password as well . For SMS Configuration: Once your voice routing is working through the SIP trunk, you can configure SMS webhooks separately in the Twilio console for the inbound SMS solution we discussed earlier. The trunk settings you're seeing are standard Twilio SIP trunk features. You can proceed with the termination and origination setup as outlined above.
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy what is my termination SIP URI....what to put in there? ......pstn.twilio.com
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer The termination SIP URI is **Retell AI's SIP server address**:
sip:5t4n6j0wnrl.sip.livekit.cloud
[(1) ]() [(2) ]() . For Twilio specifically, when setting up your elastic SIP trunk, you need to configure the termination (outbound) settings to point to Retell's SIP server [(3) ]() . The termination SIP URI you enter in your Twilio console should be:
sip:5t4n6j0wnrl.sip.livekit.cloud
Important Configuration Notes: - You might want to use a localized termination URI that's near your region - For your elastic SIP trunk to accept Retell's outbound requests, you need to whitelist IP addresses or create authentication with username and password - Currently Retell SIP server does not have a static IP, so if you opt for the IP route, you need to whitelist all IP addresses in the range - If you opt for the authentication route, you need to specify the username and password when importing the number to Retell The
.pstn.twilio.com
format you mentioned is typically used for Twilio's own termination URIs, but when connecting to Retell AI, you use Retell's SIP server address instead.
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] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Termination SIP URI](https://discord.com/channels/1186424376300679209/1389710167611932772) [[3] Twilio](https://docs.retellai.com/deploy/twilio) ​
s
@AI Evy sip:5t4n6j0wnrl.sip.livekit.cloud....so this goes in for termination and origination?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer The SIP URI
sip:5t4n6j0wnrl.sip.livekit.cloud
is used differently for termination and origination [(1) ]() : For Termination (outbound calls) : Yes, you use
sip:5t4n6j0wnrl.sip.livekit.cloud
as the termination SIP URI [(1) ]() [(2) ]() . For Origination (inbound calls) : Yes, you also use
sip:5t4n6j0wnrl.sip.livekit.cloud
as the origination SIP URI [(3) ]() [(1) ]() . The same Retell SIP server address is used for both directions of traffic [(1) ]() . When setting up your Twilio SIP trunk: 1. *Setup termination (for outbound) * - Point to
sip:5t4n6j0wnrl.sip.livekit.cloud
[(3) ]() 2. *Setup origination (for inbound) * - Specify Retell's SIP server address as the origination SIP URI:
sip:5t4n6j0wnrl.sip.livekit.cloud
Important Notes: - For toll-free numbers, specify the transport protocol by using:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp
[(4) ]() - You'll need to configure authentication credentials since Retell's SIP server does not have a static IP [(1) ]() - The termination SIP URI and username/password are important for later steps when importing the number to Retell [(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] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Termination SIP URI](https://discord.com/channels/1186424376300679209/1389710167611932772) [[3] Vonage](https://docs.retellai.com/deploy/vonage) [[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) ​
s
@AI Evy how to do this: you need to whitelist IP addresses or create authentication with username and password . Since Retell SIP server does not have a static IP, you'll need to whitelist all IP addresses in the range or use credential-based authentication. It asks for: IP Access Control Lists - fields (friendly name , cidr network address) - create acl Credential lists - (user name, password) - create are these steps necessary? I guess so right? please be detailed how to solve
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer Yes, these steps are necessary for security and proper authentication [(1) ]() . Since Retell SIP server does not have a static IP, you need to choose one of these authentication methods . *Option 1: Credential-Based Authentication (Recommended) * Create a Credential List in your Twilio SIP trunk: - **Username**: Create any username (e.g., "retell_auth") - **Password**: Create a secure password - **Friendly Name**: Give it a descriptive name (e.g., "Retell Authentication") Option 2: IP Access Control Lists For IP whitelisting, you need to whitelist all IP addresses in the range since Retell doesn't have static IPs . However, there's an important update: Static IP addresses are now available for U.S. calls [(2) ]() , which gives you complete control over your telephony setup and is perfect for enterprise integrations . Authentication Issues to Be Aware Of: Based on community discussions, there can be authentication challenges with SIP trunking [(3) ]() . One user reported that their Brazilian SIP provider requires credential-based authentication (username/password) to identify which trunk the request belongs to, but Retell was using IP-based authentication instead . The user had imported credentials but the system still wasn't using them . Recommendation: 1. Use credential-based authentication - it's more reliable than IP whitelisting 2. When importing your number to Retell, make sure to supply the same username and password you created in your Twilio credential list [(1) ]() 3. Verify your SIP server/domain is correctly configured and ensure the authentication method is set to credentials [(3)
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Agent transfer, MCP Client, Static IP and more](https://www.retellai.com/changelog/agent-transfer-mcp-client) [[3] sip trunk error](https://discord.com/channels/1186424376300679209/1415425487970369577) ​
]() Next Steps: After setting up authentication, you'll import the number to Retell and supply the termination SIP URI along with the username and password you configured [(1) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
move existing numbers to this trunk . @AI Evy ....when I try finding my number that I purchased in retell AI (twilio), it doesn't come up, I guess it didn't sit in proper...I just pasted sip:5t4n6j0wnrl.sip.livekit.cloud in termination and origination , i feel like there's more I need to do for this to work
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer You're correct that there are more configuration steps needed [(1) ]() . The number you purchased through Retell AI won't automatically appear in your new Twilio console because it's tied to a different Twilio account. Complete SIP Trunk Setup Process: 1. Authentication Setup (Critical Step) : Since you pasted the SIP URIs, you still need to configure authentication. For your elastic SIP trunk to accept Retell's outbound requests, you need to whitelist IP addresses or create authentication with username and password . Recommended: Create Credential List: - Username: Create any username (e.g., "retell_auth") - Password: Create a secure password - Then assign this credential list to your SIP trunk 2. Purchase New Numbers: Since your existing number is in Retell's Twilio account (not yours) , you'll need to purchase new numbers in your Twilio console and assign them to your SIP trunk . 3. Import Numbers to Retell: After purchasing numbers and assigning them to your trunk, import them to Retell . You'll supply: - The termination SIP URI you set up:
sip:5t4n6j0wnrl.sip.livekit.cloud
- Username and password if you configured authentication You can import numbers programmatically via the Import Number API . 4. Verification Steps: - Check your termination SIP URI for spaces and remove them - Use a localized termination URI near your region - Verify your username and credentials match exactly what you created Alternative Approach: Since you already have a number through Retell AI, you might want to continue using that existing setup rather than creating a new SIP trunk, unless you specifically need the additional control that comes with your own Twilio account.
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
Since your existing number is in Retell's Twilio account (not yours) , you'll need to purchase new numbers in your Twilio console and assign them to your SIP trunk .....this defeats the whole purpose. I've been saying all along, I need to keep my retell number @AI Evy
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer I understand your concern about keeping your existing Retell number. The documentation shows that the process is specifically for importing numbers from your own Twilio account to Retell AI, not the other way around [(1) ]() . The Standard Process is for Your Own Twilio Numbers: The Twilio SIP trunking guide is designed for users who have their own Twilio account and want to import their Twilio numbers into Retell AI . The process involves: 1. Creating elastic SIP trunking in your Twilio account 2. Moving numbers to your elastic SIP trunk 3. Importing those numbers to Retell For Numbers Purchased Through Retell AI: Since you purchased your number directly through Retell AI (which uses Twilio as the underlying provider) , that number is already configured and working within Retell's system. You don't need to set up SIP trunking for numbers you purchased through Retell AI [(2) ]() . For SMS Configuration on Your Existing Retell Number: Based on the sources, the inbound SMS workaround discussed earlier requires access to the Twilio console where the number is managed. Since your number is in Retell's Twilio account, you wouldn't have direct access to configure SMS webhooks for that specific number. Recommendation: Since you want to keep your existing Retell number and it's already working for voice calls, you may need to contact support for specific guidance on SMS configuration for numbers purchased through Retell AI: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] AI Phone Numbers: How to Buy & Set Up | Retell AI](https://www.retellai.com/blog/how-to-buy-an-ai-phone-number-a-guide-on-your-options-and-providers) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
ok let's just focus on inbound SMS setup with retell setup number. can I do this before getting business verified or no? @AI Evy
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer No, you cannot set up inbound SMS with your Retell number before getting business verification [(1) ]() . The SMS capabilities require completing the full approval process first . Required Steps for SMS (Must be completed in order) : 1. Get approved for a business profile (free) 2. Get approved for the brand based on business profile ($4 one time application fee for low-volume, $45 one time application fee for standard) 3. Get approved for a SMS campaign ($15 one time application fee) Important Notes: - SMS capabilities are available for Retell Twilio numbers and your own Twilio numbers - Current SMS capabilities are limited to US numbers only - This step is a prerequisite for sending one way SMS during call and setting up 2 way SMS conversation Timeline: The application process can take a while (couple weeks) as it's a manual review process on the telephony provider side . You'll be notified via email when the application is approved or rejected with the reason . For Your Specific Situation: Since you have a number purchased through Retell AI, you'll need to complete the business profile verification process through Retell's system before SMS functionality becomes available for that number.
​ To learn more, see the sources I considered: [[1] Enable SMS capabilities](https://docs.retellai.com/deploy/enable-sms) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy connecting to Retell AI (make an API call), but it's not GET my URL. My URL is /create-batch-call, as per documents, do I need to add my api, call id or anything else to the URL ?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
[(1) ]() The
/create-batch-call
endpoint you mentioned isn't documented in the available sources. You may need to verify the correct endpoint name or check if you're looking for batch calling functionality that might be handled differently. For specific batch calling capabilities, I'd recommend: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead?
### Answer Based on the available sources, I don't see a
/create-batch-call
endpoint in the Retell AI API documentation. The sources show these call-related endpoints: Available Call Endpoints: - Create Web Call [(1) ]() - Create Phone Call [(2) ]() - Register Phone Call [(3) ]() - Get Call [(4) ]() - Update Call [(5) ]() For Creating Phone Calls: The Create Phone Call endpoint uses this structure [(2) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
Authentication Required: All API calls require the Authorization header containing your API key [(1) ]() , [(4) ]() , [(5) ]() , [(3) ]() , [(2) ]() :
Copy code
Authorization: Bearer YOUR_RETELL_API_KEY
[(1) ]() For Dynamic Variables in Calls: You can pass dynamic variables using the
retell_llm_dynamic_variables
parameter [(6) ]() :
Copy code
json
{ "customer_name": "John Doe" }
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy where to find this api key
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer You can find your API keys in the Retell AI dashboard under the "API Keys" section [(1) ]() . To access your API keys: 1. Log into your Retell AI dashboard 2. Look for "API Keys" in the left side menu 3. Click "Add" to create a new API key [(2) ]() 4. Give your key a descriptive name to identify its purpose Using your API key: Once you have your API key, you'll use it in the Authorization header for REST API requests [(3) ]() :
Copy code
Authorization: Bearer YOUR_API_KEY
Important notes: - Each workspace can have multiple API keys, all sharing the same permission level - One API key is automatically designated for webhook authentication and cannot be deleted - Keep your API keys secure and never share them in public repositories or client-side code If you're having trouble seeing the API Keys section in the left menu, there have been some UI display issues reported where menu items can get obscured [(4) ]() .
​ To learn more, see the sources I considered: [[1] where can I find my api keys?](https://discord.com/channels/1186424376300679209/1322586375941259425) [[2] Manage API Keys](https://docs.retellai.com/accounts/manage-api-keys) [[3] API Key Overview](https://docs.retellai.com/accounts/api-keys-overview) [[4] for as long as i can remember, api keys and webhooks gets cut off.](https://discord.com/channels/1186424376300679209/1408114219894968451) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
I did it all but not working
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
s
@AI Evy
a
### Answer Looking at your API key setup, let me help troubleshoot this step by step. First, verify your API key location: You can find your API keys in the Retell AI dashboard under the "API Keys" section [(1) ]() . Look for "API Keys" in the left side menu , then click "Add" to create a new API key [(2) ]() . Give your key a descriptive name to identify its purpose . Authentication format: Make sure you're using the correct authentication format in your API requests [(3) ]() :
Copy code
Authorization: Bearer YOUR_API_KEY
Common API key issues: Based on community reports, there was a case where someone got "API key is invalid" errors from Google Workflows, but they were able to make successful calls from the API playground [(4) ]() . The user later reported they fixed the issue , though the specific solution wasn't detailed. Troubleshooting steps: 1. **Test in API Playground first**: Try your API key in the [API Playground]() to verify it works [(3) ]() 2. **Check for extra spaces**: Ensure there are no leading/trailing spaces in your API key 3. **Verify the header format**: Make sure you're using
Authorization: Bearer YOUR_API_KEY
exactly 4. **Create a fresh API key**: You can delete existing keys and create new ones if needed [(2) ]() Security reminder: Keep your API keys secure and never share them in public repositories or client-side code [(3) ]() . Each workspace can have multiple API keys, all sharing the same permission level . If you're still having issues after checking these items, can you specify what error message you're getting and which endpoint you're trying to call?
​ To learn more, see the sources I considered: [[1] where can I find my api keys?](https://discord.com/channels/1186424376300679209/1322586375941259425) [[2] Manage API Keys](https://docs.retellai.com/accounts/manage-api-keys) [[3] API Key Overview](https://docs.retellai.com/accounts/api-keys-overview) [[4] Getting API Key is invalid error from Google Workflows](https://discord.com/channels/1186424376300679209/1329119043717697566) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy my agent can't transfer call or book appointment. I have the retell functions in place and my cal and api hooked up as well. It keeps trying to reschedule, whenever it wants to check to transfer or book, agent says no availability
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer Based on your symptoms, there are several common issues that could be causing your booking and transfer problems. Let me address the most likely causes: Common Booking Issues: 1. Cal.com Configuration Problems: Ensure your Cal.com credentials and event ID are correctly configured [(1) ]() . Make sure to configure the correct time zone settings on both the Cal.com platform and the Retell AI dashboard . 2. Missing Required Parameters: A common issue reported by users is that Retell sometimes doesn't send all required data (like phone numbers) to the booking function [(2) ]() . To fix this, add explicit instructions in your system prompt: "Important: Always transfer the date/time, email, name and telephone number to the functions with each call" . 3. Prompt Engineering for Function Calls: Your prompts should be tightly structured for function calls because leaving it to the LLM to handle variables can give hit-and-miss results . Define clear scenarios where the appointment booking functions will be triggered, such as: "Call the 'Check Availability' function and provide available slots to the customer. When the customer selects a time, trigger the 'Book Appointment' function to confirm the booking" [(1) ]() . Function Calling Process: The function calling process works as follows [(3) ]() : 1. **Agent Decision**: Based on the conversation context, the LLM determines when a function is needed 2. **Parameter Extraction**: The agent extracts required information from the conversation 3. **Function Execution**: Retell calls your function with the extracted parameters 4. **Response Handling**: The f
unction result is processed and incorporated into the conversation Cal.com Integration Issues: There are known issues with Cal.com integration. One user reported that there's a bug if you change the location from Google Meet to regular call, and the Cal.com team was working on fixing it [(4) ]() . Troubleshooting Steps: 1. Verify your Cal.com API key and event type ID are correct 2. Check time zone consistency between Cal.com and Retell AI [(1) ]() 3. Test with the Lead Qualification (Multi-Prompt) template to see if basic booking functionality works [(4) ]() 4. Review your function descriptions to ensure they clearly specify when to call each function [(3) ]() For Transfer Call Issues: Make sure your transfer call function is properly configured with the correct transfer destination and transfer options [(5) ]() . If these steps don't resolve the issue, the problem might be with your specific Cal.com setup or function configuration. Consider testing with a fresh Cal.com account and calendar to isolate the issue [(4) ]() .
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] Automate Scheduling with AI Appointment Booking | Retell AI](https://www.retellai.com/features/book-appointments) [[2] book_appointment doesn’t send phone attribute to cal](https://discord.com/channels/1186424376300679209/1329010496765956206) [[3] Function Calling Overview](https://docs.retellai.com/build/single-multi-prompt/function-calling) [[4] calendar appointment booking through retell](https://discord.com/channels/1186424376300679209/1250814023067500657) [[5] Create Retell LLM](https://docs.retellai.com/api-references/create-retell-llm) ​
s
@AI Evy ths call transfer worked before. Once I added id and API, it stopped but my details are correct
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer Based on your issue where call transfer worked before but stopped after adding ID and API details, there are several potential causes for this problem. Common Transfer Call Issues: The transfer call feature only works during phone calls instead of web calls and is available for Retell numbers and imported numbers [(1) ]() . Based on community reports, transfer issues often manifest as the agent saying "initiating the transfer now" and then going blank, requiring the caller to say hello again before the transfer actually occurs [(2) ]() . Configuration Requirements: For transfer calls to work properly, you need to configure several settings [(1) ]() : 1. **Transfer Type**: Choose between cold transfer or warm transfer 2. **Transfer Destination**: Use either a static number (e164 or SIP URI) or the value of a dynamic variable 3. **Caller ID Configuration**: For cold transfers, configure how the caller ID appears to the next agent For Cold Transfer Caller ID Options: - **Retell Agent's number**: The transfer destination will see the Retell agent's number - **Transferree's Number**: The transfer destination will see the number that the user is calling from Important Note for SIP REFER: If you're using the "Transferree's Number" option, you need to configure the following in your telephony provider : - Enable SIP REFER - Enable transfer to PSTN - Set caller ID as transferee Troubleshooting Steps: 1. **Verify your prompt includes specific transfer conditions**: Include instructions such as "If the user is angry or frustrated, use the transfer_call tool to transfer the conversation to a human agent" 2. **Check your transfer des
tination format**: Ensure you're using the correct format (e164 or SIP URI) 3. **Review dynamic variables**: If using dynamic variables for the transfer destination, verify they're properly configured Prompt Enhancement: The documentation suggests enhancing the agent's understanding by incorporating transfer call conditions into the prompt with specific instructions . Since you mentioned the transfer worked before adding ID and API details, the issue might be related to how these new parameters are interfering with the existing transfer configuration. Double-check that your transfer tool configuration hasn't been altered when you added the new API details.
​ To learn more, see the sources I considered: [[1] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[2] Call transfers (error again)](https://discord.com/channels/1186424376300679209/1289732825574146099) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy sorry transfer call works, so just appointment function
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
4. Common Error Pattern: There's a documented issue where users experience exactly what you're describing - the agent says there's an issue booking but Cal.com shows the appointment was actually booked successfully [(3) ]() . This suggests a response handling problem between Retell and Cal.com. 5. Error Response Analysis: The error pattern shows
"no_available_users_found_error"
, which typically indicates: - Event type ID mismatch - User availability configuration issues in Cal.com - Time zone conflicts between the requested time and your Cal.com availability Troubleshooting Steps: 1. **Verify Event Type ID**: Check that the event type ID in Retell matches exactly what's in your Cal.com URL [(2) ]() 2. **Check Cal.com Availability**: Ensure your Cal.com calendar has actual availability during the times being requested 3. **Test Time Zone Consistency**: Make sure both systems are using the same time zone reference [(1) ]() 4. **Review Function Tool Description**: Add a clear description like "Book the appointment for 30-minute consultation calls" [(2) ]() Since you mentioned adding ID and API details caused the issue, double-check that you entered the correct Event Type ID and API key exactly as they appear in your Cal.com dashboard.
### Answer Since your transfer call is working but the appointment booking function isn't, let's focus on troubleshooting the Cal.com integration specifically. Common Cal.com Booking Issues: 1. Time Zone Configuration: Retell AI ensures all bookings are time zone-aware [(1) ]() . You need to configure the time zone settings in both the Cal.com account and the Retell AI dashboard for accurate scheduling . 2. Cal.com API Authentication: Verify your Cal.com credentials are correctly set up [(2) ]() : - API Key from Cal.com (found in Settings > Developer > API Keys) - Event Type ID (the number in your Cal.com event type URL) 3. Function Description and Prompt Logic: The documentation emphasizes including explicit function logic in your prompts . For example:
Copy code
When user selected a slot, please book the appointment by calling the `book_appointment` function.
​ To learn more, see the sources I considered: [[1] Automate Scheduling with AI Appointment Booking | Retell AI](https://www.retellai.com/features/book-appointments) [[2] Book Calendar](https://docs.retellai.com/build/book-calendar) [[3] Cal.com Appointments](https://discord.com/channels/1186424376300679209/1358842036635173104) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy trying to make an api call for retell AI for batch calling. It works with a single record, but not with multiple records. Getting RuntimeError [400]-: Origin Retell AI It works with excel but not with clickup. so wierd
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer Based on the error you're experiencing with batch calling API, let's troubleshoot the multiple records issue. The Create Batch Call API expects a specific format for multiple tasks [(1) ]() . Correct API Structure for Multiple Records: The batch call API requires a
tasks
array where each task represents an individual call :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const batchCallResponse = await client.batchCall.createBatchCall({
 from_number: '+14157774444',
 tasks: [{ to_number: '+12137774445' }],
}) ;
console.log(batchCallResponse.batch_call_id) ;
Common Issues with Multiple Records: 1. **Tasks Array Format**: Each task in the
tasks
array must contain at least a
to_number
in E.164 format . For multiple records, structure it like:
Copy code
json
{
  "from_number": "+14157774444",
  "tasks": [
    { "to_number": "+12137774445" },
    { "to_number": "+12137774446" },
    { "to_number": "+12137774447" }
  ]
}
2. **Dynamic Variables**: If you're including dynamic variables, each task can have its own
retell_llm_dynamic_variables
object :
Copy code
json
{
  "retell_llm_dynamic_variables": {
    "customer_name": "John Doe"
  }
}
Excel vs ClickUp Data Format: The difference between Excel working and ClickUp failing suggests a data formatting issue. The batch calling feature allows you to upload Excel sheets with contact information [(2) ]() , [(3) ]() . When Excel works but ClickUp doesn't, check: - **Phone Number Format**: Ensure all numbers are in E.164 format (starting with +) - **Data Structure**: ClickUp might be sending data in a different JSON structure than what the API expects - **Field Mapping**: Verify that ClickUp fields map correctly to the required
to_number
field Authentication Requirements: Make sure you're including the proper authorization header [(1) ]() :
Copy code
Authorization: Bearer YOUR_RETELL_API_KEY
Troubleshooting the 400 Error: A 400 error typically indicates malformed request data. Since single records work but multiple don't, the issue is likely in how you're structuring the
tasks
array when processing ClickUp data versus Excel data. Check that your ClickUp integration is formatting the tasks array correctly with each phone number as a separate task object, not as a single concatenated string or improperly nested structure.
​ To learn more, see the sources I considered: [[1] Create Batch Call](https://docs.retellai.com/api-references/create-batch-call) [[2] Batch Calling, New Docs, and More Improvements!](https://www.retellai.com/changelog/batch-calling-new-docs-and-more-improvements) [[3] Streamline Calls with Retell AI’s Batch Dialer | Retell AI](https://www.retellai.com/blog/boost-operation-efficiency-with-retell-ais-batch-calling) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
s
@AI Evy I want to set up an automation in make that will receive Data from Retell AI after every call to be able to update statuses on my crm based on different outcomes (user sentinement, disconnect reasion, etc.) There must be an easier way to create a single automation that will cover all inbound and outbound calls and trigger all calls after analyzed. (instead of adding the same workflow to 4 different automations that I have on make - outbound calling, inbound calls, call backs, batch calling, etc)
a
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) ​
### Answer ### Answer Yes, there's a much simpler approach using Retell AI webhooks! You can create a single automation in Make that handles all call types by using the
call_analyzed
webhook event [(1) ]() . The Solution: Use
call_analyzed
Webhook
Retell AI sends three webhook events for each call : -
call_started
- Triggered when a new call begins -
call_ended
- Triggered when a call completes, transfers, or encounters an error -
call_analyzed
- Triggered when call analysis is complete The
call_analyzed
webhook is perfect for your use case because it contains the full call data including the
call_analysis
object with user sentiment, call success status, and custom analysis data . Webhook Payload Structure: The
call_analyzed
webhook includes all the data you need :
Copy code
json
{
 "event": "call_analyzed",
 "call": {
 "call_type": "phone_call",
 "from_number": "+12137771234",
 "to_number": "+12137771235",
 "direction": "inbound",
 "call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
 "disconnection_reason": "user_hangup",
 "call_analysis": {
 "call_summary": "The agent called the user to ask question about his purchase inquiry...",
 "user_sentiment": "Positive",
 "call_successful": true,
 "custom_analysis_data": {}
 }
 }
}
Key Benefits for Your Automation: 1. **Universal Coverage**: The
call_analyzed
webhook triggers for all call types - inbound, outbound, web calls, and batch calls 2. **Complete Data**: Includes user sentiment, disconnection reason, call success status, and custom analysis data 3. **Single Endpoint**: One webhook URL in Make can handle all your call analysis needs Implementation in Make: 1. Create a single webhook trigger in Make that listens for the
call_analyzed
event 2. Use the
call.direction
field to identify if it's inbound/outbound 3. Use
call.call_analysis.user_sentiment
for sentiment-based CRM updates 4. Use
call.disconnection_reason
for outcome-based status changes 5. Use
call.call_analysis.call_successful
for success/failure routing Webhook Reliability: Retell AI webhooks have a 10-second timeout and will retry up to 3 times if no success status (2xx) is received . The webhooks are triggered in order but are non-blocking, so even if earlier webhooks fail, the
call_analyzed
webhook will still be sent . This approach eliminates the need for multiple automations and gives you a centralized way to process all call outcomes regardless of how the call was initiated.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
s
@AI Evy in make I see a webhook for Retell AI called "Watch Call - Trigger when a new call is created", can I use this for all incoming and outgoing calls? Also for call.direction, do I just have to create the logic that in either case incoming or outgoing, follow the same workflow?
a
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) ​
Copy code
json
{
 "event": "call_ended",
 "call": {
 "call_type": "phone_call",
 "from_number": "+12137771234",
 "to_number": "+12137771235",
 "direction": "inbound",
 "call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
 "agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "call_status": "registered",
 "metadata": {},
 "retell_llm_dynamic_variables": {
 "customer_name": "John Doe"
 },
 "start_timestamp": 1714608475945,
 "end_timestamp": 1714608491736,
 "disconnection_reason": "user_hangup",
 "transcript": "...",
 "transcript_object": [ [Object], [Object], [Object], [Object] ],
 "transcript_with_tool_calls": [ [Object], [Object], [Object], [Object] ],
 "opt_out_sensitive_data_storage": false
 }
}
The
direction
field will show either "inbound" or "outbound", allowing you to create conditional logic in Make while using the same workflow for both call types . Recommendation: Use the
call_analyzed
webhook for your CRM automation since it provides the complete analysis data you need for updating statuses based on outcomes, sentiment, and disconnection reasons .
### Answer ### Answer The "Watch Call - Trigger when a new call is created" webhook in Make corresponds to the
call_started
event, which has limitations for your use case [(1) ]() . Important Limitations of `call_started`: - If the call did not connect (like dial failed) , the
call_started
webhook event will not be triggered - When calls have
dial_failed
,
dial_no_answer
,
dial_busy
disconnection reasons, they will not have their
call_started
webhook triggered Better Option for Your Needs: For CRM updates based on call outcomes, user sentiment, and disconnection reasons, you should use the
call_analyzed
webhook instead . This webhook: - Triggers when call analysis is complete - Contains full call data including the
call_analysis
object - Works for all call types regardless of connection status Webhook Event Types Available: Retell AI supports these webhook events : -
call_started
- Triggered when a new call begins -
call_ended
- Triggered when a call completes, transfers, or encounters an error -
call_analyzed
- Triggered when call analysis is complete For Your Workflow Logic: Yes, you can create a single workflow that handles both incoming and outgoing calls using the
call.direction
field . The webhook payload includes:
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
s
@AI Evy the call_analyzed is a status. I can trigger it using the inbound call Retell API webhook (custom webhook) but it won't monitor all outgoing calls (batch calls, call back, etc.) What webhook do I use as I can't use the native inbound and outbound APIs for retell AI
a
Key Differences: 1. Inbound Call Webhook (phone number level) [(2) ]() : Only triggers for inbound calls to that specific number and sends a
call_inbound
event 2. Agent Webhook (agent level) [(3) ]() : Triggers for all calls handled by that agent and sends
call_analyzed
events Implementation Steps: 1. Go to your agent configuration in the Retell AI dashboard 2. Set up the webhook URL in the agent settings (not the phone number settings) 3. Configure it to listen for the
call_analyzed
event type [(1) ]() This agent-level webhook will capture all call types - inbound, outbound, batch calls, and callbacks - as long as they use that specific agent [(3) ]() . The webhook contains the full call data including call_id and call_analysis that you need for your CRM updates [(1) ]() .
### Answer --- You need to set up the
call_analyzed
webhook at the agent level, not at the phone number level [(1) ]() . The inbound call webhook you're currently using only triggers for inbound calls to that specific phone number [(2) ]() . The Solution: Agent-Level Webhook To monitor all call types (inbound, outbound, batch calls, callbacks) , configure the webhook at the agent level [(3) ]() . This webhook will trigger the
call_analyzed
event for every call that agent handles, regardless of how the call was initiated [(1) ]() . Webhook Configuration: The
call_analyzed
webhook payload includes the complete call object with the
call_analysis
field populated :
Copy code
json
{
 "event_type": "call_analyzed",
 "call": {
 // Call object with call_analysis field populated
 }
}
​ To learn more, see the sources I considered: [[1] Consume the analysis data](https://docs.retellai.com/features/post-call-analysis-consumption) [[2] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[3] inbound call webhook only sending "call_inbound" event](https://discord.com/channels/1186424376300679209/1401016971989876799) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
s
@AI Evy I have this set up for one agent. I have separate agents, one for incoming calls and one for outgoing calls (because it's hard to manager the introduction with one agent for incoming and outgoing (AI speaks first outgoing, for incoming, it's an intro like "Hi, Roy speaking") So should I just put in the same webhook for the other agent, so that both respond to same webhook?
a
### Answer --- Yes, you can absolutely use the same webhook URL for both agents [(1) ]() [(2) ]() . This is actually the recommended approach for your use case. Agent-Level Webhook Configuration: You can set the same webhook URL for both your inbound and outbound agents by configuring the
webhook_url
parameter for each agent :
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',
 webhook_url: "<https://webhook-url-here%22>
}) ;
[(1) ]() Benefits of Using the Same Webhook: 1. **Centralized Processing**: All call analysis data flows to the same Make automation [(3) ]() 2. **Agent Identification**: The webhook payload includes the
agent_id
field, so you can identify which agent handled the call 3. **Simplified Management**: One webhook endpoint handles all your call types Webhook Payload Structure: Each webhook will include the agent information, allowing you to differentiate between your inbound and outbound agents :
Copy code
json
{
 "event": "call_analyzed",
 "call": {
  "agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
  "call_type": "phone_call",
  "direction": "inbound",
  "call_analysis": {
   "user_sentiment": "Positive",
   "call_successful": true
  }
 }
}
​ To learn more, see the sources I considered: [[1] Create Agent](https://docs.retellai.com/api-references/create-agent) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) [[3] Webhook Overview](https://docs.retellai.com/features/webhook-overview) ​
Agent-Level vs Account-Level Webhooks: When you set a webhook URL at the agent level, it will override any account-level webhook for that specific agent [(1) ]() [(2) ]() . This means each agent will send its webhook events to the specified URL, and account-level webhooks will not be triggered for those agents . Your approach of using separate agents for inbound/outbound with different introductions is smart, and using the same webhook URL for both will give you the unified automation you're looking for.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy I'm running Retell Create a Phone call automation on make connected to clickup, getting this error: RuntimeError [401] OAUTH_027: Team not authorized I wasn't getting it before but it;s coming now
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer The "OAUTH_027: Team not authorized" error is a ClickUp authorization issue, not a Retell AI error. This typically happens when: Common Causes: 1. **ClickUp OAuth Token Expired**: Your ClickUp connection in Make may have lost authorization 2. **Team Permissions Changed**: Someone may have modified team permissions in ClickUp 3. **API Key Issues**: Similar to what was reported in the Discord community, API authentication can sometimes require refreshing the connection [(1) ]() Troubleshooting Steps: 1. **Reconnect ClickUp in Make**: Go to your Make scenario and reconnect your ClickUp integration by re-authorizing the OAuth connection 2. **Verify Team Access**: Ensure your ClickUp account still has access to the team/workspace you're trying to connect to 3. **Check API Permissions**: Verify that your ClickUp API key (if using API key instead of OAuth) has the necessary permissions for the operations you're performing 4. **Refresh the Integration**: As noted in the Discord community, sometimes you need to refresh the server deployment or connection for authentication to work properly Since this was working before and suddenly stopped, it's most likely an expired OAuth token that needs to be renewed in Make's ClickUp connection settings. The error is coming from ClickUp's side, not Retell AI, so the issue is with the ClickUp authorization in your Make automation rather than the Retell AI phone call creation itself.
​ To learn more, see the sources I considered: [[1] New API Key not working](https://discord.com/channels/1186424376300679209/1309226491346813008) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy back to call_analyzed and hooking up my inbound and outbound with same webhook...when I run in make, it no longer is analyzing the call in (event is not passing through call analyzed)...However, even though in make it's all of a sudden not passing through call_analyzed feature anymore, inbound calls work for the automation. Outbound doesn't. I added the same webhook for the other agent at agent level. So both agents have same webhook at agent level but outbound is not working (also not sure why call_analyzed is not passing through anymore)
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer Based on your issue, there are several potential problems with your webhook configuration that could explain why
call_analyzed
events aren't triggering properly. Webhook Configuration Conflicts: There's a documented compatibility issue between phone number level inbound webhooks and agent level webhooks [(1) ]() . When you have both an inbound call webhook configured at the phone number level and an agent webhook configured at the agent level, they can interfere with each other . Agent-Level Webhook Setup: The
call_analyzed
webhook should be configured at the agent level using the
webhook_url
parameter [(2) ]() . You can set this for each agent:
Copy code
javascript
const agentResponse = await client.agent.update('agent_id', {
 webhook_url: "<https://webhook-url-here%22,>
 webhook_timeout_ms: 10000
}) ;
Webhook Event Types: The inbound call webhook only sends
call_inbound
events, not
call_analyzed
events [(3) ]() [(4) ]() . For
call_analyzed
events, you need to use the agent-level webhook configuration [(4) ]() . Troubleshooting Steps: 1. **Remove Phone Number Level Webhooks**: If you have inbound webhooks configured at the phone number level, remove them to avoid conflicts [(1) ]() 2. **Verify Agent Webhook URLs**: Ensure both your inbound and outbound agents have the same webhook URL configured at the agent level [(2) ]() 3. **Check Webhook Timeout**: The default webhook timeout is 10 seconds . If your Make scenario takes longer to respond, increase the
webhook_timeout_ms
value 4. **Agent Binding**: For outbound calls, ensure your outbound agent is properly bound to your phone number [(5) ]() . You need both an inbound agent and outbound agent configured for the phone number Outbound Call Configuration: For outbound calls to trigger webhooks properly, verify that your phone number has the outbound agent correctly assigned . The outbound agent configuration determines which agent is used when making calls from that number . The fact that inbound calls work but outbound calls don't suggests the outbound agent may not be properly bound to your phone number or the webhook configuration isn't correctly applied to the outbound agent.
​ To learn more, see the sources I considered: [[1] inbound webhook URL failing to save (or stay saved) and wont work together with conversation agaent](https://discord.com/channels/1186424376300679209/1398428473781125314) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) [[3] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[4] inbound call webhook only sending "call_inbound" event](https://discord.com/channels/1186424376300679209/1401016971989876799) [[5] 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.
s
@Omar Ashraf | Community Lead Hi Omar, I hope you are well. I'm wondering if I can get your help on an issue.... @AI Evy couldn't help...now my outbound calling doesn't ring anymore either.
So basically I gave the same Agent level webhook URL to two different Agents. One for inbound, one for outbound. Because I want to filter all call_analyzed within one automation.
o
Please create a ticket on #❓・bug-report
s
@Omar Ashraf | Community Lead Thank you. just created
@AI Evy my outbound (create a phone call) was working, but it is no longer calling (automation executes properly) Something happened as I made the changes you mentioned. I removed the inbound webhook at phone level. Added same webhook Agent level to both inbound and outbound agents.
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer Based on the changes you made to your webhook configuration, let's troubleshoot why your outbound calls stopped working. Outbound Call Requirements: For outbound calls to work properly, you need to ensure your phone number has the correct agent binding [(1) ]() . The outbound agent must be properly assigned to your phone number for calls to be initiated . Key Configuration Steps: 1. **Phone Number Agent Binding**: Your phone number needs both inbound and outbound agents configured . When making outbound calls, the system uses the outbound agent assigned to that specific phone number. 2. **Agent-Level Webhook Configuration**: You can set the same webhook URL for both agents using the
webhook_url
parameter [(2) ]() [(3) ]() :
Copy code
javascript
const agentResponse = await client.agent.update('agent_id', {
  webhook_url: "<https://webhook-url-here%22,>
  webhook_timeout_ms: 10000
}) ;
[(2) ]() Common Issues After Webhook Changes: The documentation shows that webhook configuration changes can sometimes affect call functionality [(4) ]() . When you removed the phone number level webhook and added agent level webhooks, this may have disrupted the outbound calling setup. Troubleshooting Steps: 1. **Verify Agent Binding**: Check that your outbound agent is still properly bound to your phone number in the dashboard [(1) ]() 2. **Confirm Agent Configuration**: Ensure both agents have the webhook URL configured correctly [(2) ]() [(3) ]() 3. **Check Phone Number Settings**: Verify your phone number still has the outbound agent assigned [(1) ]() API Call Parameters: For outbound calls, ensure you're using the correct parameters : - `from_number`: Your Retell number in E.164 format - `to_number`: Destination number in E.164 format - `agent_id`: The correct outbound agent ID Since your automation executes properly but calls aren't being initiated, the issue is likely in the phone number to agent binding rather than the webhook configuration itself.
​ To learn more, see the sources I considered: [[1] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) [[3] Create Agent](https://docs.retellai.com/api-references/create-agent) [[4] inbound webhook URL failing to save (or stay saved) and wont work together with conversation agaent](https://discord.com/channels/1186424376300679209/1398428473781125314) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
Before my agent level webhook was triggered until upon call_analyzed. But now when call starts it triggers. How to fix
@AI Evy Before my agent level webhook was triggered until upon call_analyzed. But now when call starts it triggers. How to fix
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer --- Retell AI webhooks always trigger for all three events by design [(1) ]() . You cannot configure the webhook to only trigger on
call_analyzed
- this is how the system works [(2) ]() [(3) ]() . What's Happening: Agent-level webhooks send three events for every call [(1) ]() : -
call_started
- Triggered when a new call begins -
call_ended
- Triggered when a call completes, transfers, or encounters an error -
call_analyzed
- Triggered when call analysis is complete The Solution: Filter in Make.com You need to handle the filtering on your Make.com side, not in Retell AI [(2) ]() . The webhook will always fire for all three events . In Make.com, you can: 1. **Use a Router Module**: Create branches with a "router" in Make.com and create 3 branches to handle the 3 webhook events 2. **Filter for `call_analyzed`**: Add a filter condition that only processes webhooks where
event
equals
"call_analyzed"
[(3) ]() 3. **Ignore Other Events**: Set up your automation to ignore
call_started
and
call_ended
events [(2) ]() Webhook Event Structure: Each webhook contains an
event
field that identifies the event type [(4) ]() :
Copy code
javascript
app.post("/webhook", (req: Request, res: Response) => {
 const {event, call} = req.body;
 switch (event) {
 case "call_started":
 console.log("Call started event received", call.call_id) ;
 break;
 case "call_ended":
 console.log("Call ended event received", call.call_id) ;
 break;
 case "call_analyzed":
 console.log("Call analyzed event received", call.call_id) ;
 break;
 default:
 console.log("Received an unknown event:", event) ;
 }
 // Acknowledge the receipt of the event
 res.status(204) .send() ;
}) ;
Why This Design: The webhook system is designed this way to give you flexibility to handle different stages of the call lifecycle [(2) ]() . It's better to build these branches since you can add functionality to other events in the future if needed . Use Make.com's filtering capabilities to only process the
call_analyzed
events while acknowledging all webhook calls with a 2xx response to prevent retries [(1) ]() .
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] How to trigger Agent-level Webhook only when call has ended?](https://discord.com/channels/1186424376300679209/1270019654718459905) [[3] Is there a way to reduce Agent Level Webhooks per call?](https://discord.com/channels/1186424376300679209/1358280419556196473) [[4] Setup guide](https://docs.retellai.com/features/register-webhook) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
I did filter for call_analyzed but make stops automation after call starts
@AI Evy I did filter for call_analyzed but make stops automation after call starts
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer The issue is that Make.com is stopping your automation because you need to acknowledge all webhook events with a success response, even the ones you're filtering out [(1) ]() . The Problem: Retell AI's webhook system expects a successful status code (2xx) response for every webhook event . When Make.com filters out the
call_started
event and doesn't respond, Retell AI considers this a failed webhook and may stop sending subsequent events. The Solution: Acknowledge All Events You need to set up your Make.com scenario to: 1. Accept all webhook events (don't filter at the webhook trigger level) 2. Respond with 200 status to acknowledge receipt 3. Then filter internally to only process
call_analyzed
events Webhook Behavior: The webhook system works as follows : - The webhook will
POST
the payload to your endpoint - The webhook has a timeout of 10 seconds - If within 10 seconds no success status (2xx) is received, the webhook will be retried, up to 3 times - We expect a successful status code (2xx) to be returned. No body is expected Make.com Setup: 1. Remove the filter from your webhook trigger 2. Add a router module after the webhook trigger 3. Create branches with filters for each event type: - Branch 1: Filter for
event
=
call_started
→ Do nothing (just acknowledge) - Branch 2: Filter for
event
=
call_ended
→ Do nothing (just acknowledge) - Branch 3: Filter for
event
=
call_analyzed
→ Run your automation This ensures Make.com responds successfully to all webhook events while only processing the
call_analyzed
events in your automation logic.
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy in a call transcript shows that the user said: "Million dollars. Sure. Yeah." But all the user really said was "Sure. Yeah." So then Agent says " I appreciate the humor...." which threw the user off and was left confused.
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer This appears to be a speech recognition transcription error where the ASR (Automatic Speech Recognition) system incorrectly transcribed what the user said. Based on the community discussion, there are several agent settings you can adjust to improve transcription accuracy [(1) ]() . Recommended Agent Settings to Improve Transcription: 1. **Denoising Mode**: Set to "Remove noise + background speech" in your agent configuration [(1) ]() [(2) ]() 2. **Interruption Sensitivity**: Increase to around 0.8 to help prevent early cut-offs 3. **Disable Transcript Formatting**: Turn ON "Disable Transcript Formatting" to capture raw input, which is especially useful for numbers or repeated phrases Agent Configuration Options: You can configure these settings when creating or updating an agent [(2) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.retrieve('16b980523634a6dc504898cda492e939') ;
Available Denoising Modes: The agent configuration supports different denoising modes : - `noise-cancellation`: Standard noise filtering - `noise-and-background-speech-cancellation`: Filters out both noise and unwanted speech Additional Settings: You can also configure other speech recognition parameters in your agent settings : - `interruption_sensitivity`: Controls how easily users can interrupt the agent - `normalize_for_speech`: Helps with consistent speech synthesis - `boosted_keywords`: Add custom vocabulary to bias transcription toward specific terms The community has noted that transcription issues can occur intermittently, and adjusting these settings typically helps improve accuracy [(1) ]() .
​ To learn more, see the sources I considered: [[1] Agent not hearing / transcripting user](https://discord.com/channels/1186424376300679209/1392516440682135632) [[2] Get Agent](https://docs.retellai.com/api-references/get-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy where do I find disable transcript formatting? Also I left responsiveness on highest level: 1, should I change this to 0.9 or less? I do need fast response but can't sacrifice wrong data.
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer Disable Transcript Formatting Location: The "Disable Transcript Formatting" setting is mentioned in the community discussion as a toggle that can help resolve ASR errors, particularly with phone numbers being misinterpreted as timestamps and double numbers not being accurately captured [(1) ]() . However, the specific location of this setting in the dashboard or API isn't detailed in the available sources. Responsiveness Setting Recommendation: Based on the API documentation, the
responsiveness
parameter controls how responsive the agent is, with values ranging from [0,1] [(2) ]() . The documentation states: - Lower value = less responsive agent (wait more, respond slower) - Higher value = faster exchanges (respond when it can) - Default value = 1 if unset
Copy code
javascript
responsiveness: 1
Balancing Speed vs Accuracy: Since you need fast response but can't sacrifice data accuracy, you might consider keeping
responsiveness
at 1 but adjusting other parameters that specifically target transcription accuracy [(3) ]() : 1. **Interruption Sensitivity**: The community recommends increasing to around 0.8 to help prevent early cut-offs 2. **Denoising Mode**: Set to "Remove noise + background speech" The
responsiveness
setting primarily affects response timing rather than transcription accuracy, so maintaining it at 1 should preserve your fast response requirement while the other settings address the transcription issues. For the exact location of "Disable Transcript Formatting" in the dashboard, you may need to check your agent settings panel or contact support for specific guidance on where this toggle appears in the interface.
​ To learn more, see the sources I considered: [[1] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) [[3] Agent not hearing / transcripting user](https://discord.com/channels/1186424376300679209/1392516440682135632) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy guide me where to find this in settings Disable Transcript Formatting"
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer Based on the changelog documentation, the "Disable Transcript Formatting" toggle was added to help resolve ASR (Automatic Speech Recognition) errors [(1) ]() [(2) ]() . The documentation mentions that this toggle can help resolve issues where phone numbers were being misinterpreted as timestamps and double numbers were not being accurately captured . However, the specific location of this setting within the dashboard interface isn't detailed in the available sources. The documentation confirms the feature exists and its purpose, but doesn't provide step-by-step navigation to find it in the settings panel. What the Setting Does: The toggle helps capture raw input, which is especially useful for numbers or repeated phrases [(3) ]() . Community members have reported that toggling this setting can help with transcription accuracy issues [(4) ]() . Recommended Next Steps: Since the exact location isn't specified in the documentation, I'd suggest: 1. Check your agent settings panel in the dashboard - look for a section related to transcription or ASR settings 2. Look for toggles related to "transcript formatting" or "raw transcript" options 3. Visit [Contact Sales]() or [) for specific guidance on locating this setting in the current dashboard interface Would you like a general answer based on my knowledge instead, or would you prefer to reach out to support for the exact dashboard location?
​ To learn more, see the sources I considered: [[1] New Dashboard, Warm Transfer, Cal.com Fields, and Partner Programs!](https://www.retellai.com/changelog/new-dashboard-warm-transfer-cal-com-fields-and-partner-programs) [[2] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[3] Agent not hearing / transcripting user](https://discord.com/channels/1186424376300679209/1392516440682135632) [[4] Numbers being formatted as timestamps even with the setting toggled](https://discord.com/channels/1186424376300679209/1349804631873687612) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy in speech settings I only see "Enable speech normalization" is this it?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer --- ### Answer No, "Enable speech normalization" is not the same as "Disable Transcript Formatting." Speech Normalization vs. Transcript Formatting: The "Enable speech normalization" setting you see is the
normalize_for_speech
parameter, which converts entities like dates, currency, and numbers into spoken form for more consistent speech synthesis [(1) ]() . For example, it converts "Call my number 2137112342 on Jul 5th, 2024 for the $24.12 payment" to "Call my number two one three seven one one two three four two on july fifth, twenty twenty four for the twenty four dollars twelve cents payment" . This is different from "Disable Transcript Formatting," which affects how the speech-to-text system captures and formats the user's input. Available Speech Settings: Based on the documentation, the speech settings you can configure include [(2) ]() : - **Background sound**: Select ambient sound for the call environment - **Responsiveness**: How responsive the agent is (0-1 range) - **Interruption Sensitivity**: How easily users can interrupt the agent - **Backchanneling**: Agent acknowledgment phrases like "yeah", "uh-huh" - **Boosted Keywords**: Bias transcription toward specific words - **Speech Normalization**: Convert entities to spoken form - **Reminder frequency**: How often the agent reminds inactive users - **Pronunciation**: Set pronunciation guides for specific words Finding Disable Transcript Formatting: The "Disable Transcript Formatting" setting isn't clearly documented in the current configuration guides. Since you only see "Enable speech normalization" in your speech settings, the transcript formatting toggle may be located in a different section of the dashboard or may have been moved/renamed
in recent updates. I'd recommend checking other sections of your agent configuration or contacting support for the exact location of this setting.
​ To learn more, see the sources I considered: [[1] Create Agent](https://docs.retellai.com/api-references/create-agent) [[2] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy I need outbound agent to hang up when recognizing not just voicemail but also automated answering machine with keypad entry
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer --- ### Answer Retell AI's built-in voicemail detection is specifically designed for voicemail scenarios, not automated answering machines with keypad entry [(1) ]() . The voicemail detection system runs continuously within the first 3 minutes of the call and can be configured to either hang up or leave a message when it detects a voicemail . Current Voicemail Detection Capabilities: The voicemail detection feature can be configured in your agent settings with two behavior options : - **Hang up**: The agent will disconnect when it detects a voicemail - **Leave a message**: The agent will leave a message after it's the agent's turn to speak Limitations with Automated Systems: Based on the community discussions, there are known challenges with detecting certain types of automated systems [(2) ]() . Users have reported that voicemail detection works well for most voicemails, but struggles with scenarios like voicemail greetings that only have a beep sound and no spoken message . Alternative Approaches: For more sophisticated answering machine detection (AMD) that can handle automated systems with keypad entry, the community discussion suggests using third-party telephony provider solutions [(3) ]() . For example, some users implement Twilio's AMD with
DetectMessageEnd
and
AsyncAmdStatusCallback
to handle more complex automated answering scenarios [(2) ]() . Configuration: To enable the current voicemail detection, navigate to your agent settings → call settings and enable "Voicemail Detection" [(1) ]() . You can then choose to ha
ng up when voicemail is detected . However, for detecting automated answering machines with keypad entry specifically, this would require additional telephony provider-level AMD configuration beyond Retell AI's built-in voicemail detection capabilities.
​ To learn more, see the sources I considered: [[1] Handle voicemail](https://docs.retellai.com/build/handle-voicemail) [[2] VOICEMAIL](https://discord.com/channels/1186424376300679209/1380663452023914506) [[3] URGENT: AMD (Answering Machine Detection) for outbound call, Voice Mail setting does not work](https://discord.com/channels/1186424376300679209/1397140044359274587) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy testing webhook for inbound calls, but not triggering. I added the URL from self hosted n8n: https://n8n.srv1089543.hstgr.cloud/webhook-test/a20b9c60-beff-411a-9dd3-abe78b5bca15 ... to my phone number level webhook in Retell and also added it in settings webhook (in both places) just in case....but webhook still not triggering
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer [(1) ]() , [(2) ]() , [(3) ]() , [(4) ]() , [(5) ]() , [(6) ]() , [(7) ]() , [(8) ]() , [(9) ]() , [(10) ]() --- ### Answer Based on the documentation and community reports, there are known issues with inbound webhook configuration that may explain why your webhook isn't triggering [(8) ]() . Known Issue with Inbound Webhooks: The community has identified a bug where the phone number level inbound webhook URL fails to save or stay saved . Specifically, if you add a webhook URL to the phone number and then go back to your conversation agent and save the agent, the webhook on the phone number is lost . Important Configuration Note: The inbound call webhook and agent-level webhooks serve different purposes and should not be confused [(2) ]() : - **Phone Number Level Inbound Webhook**: Receives
call_inbound
events BEFORE the call connects, allowing you to override agent ID and set dynamic variables - **Agent Level Webhook**: Receives
call_started
,
call_ended
, and
call_analyzed
events AFTER the call connects Inbound Webhook Specifications: The inbound webhook at the phone numbe
r level expects specific behavior : - The webhook will
POST
the payload to your endpoint - The webhook has a timeout of 10 seconds - If within 10 seconds no success status (2xx) is received, the webhook will be retried, up to 3 times Troubleshooting Steps: 1. **Verify the webhook URL is saved**: Check your phone number settings to confirm the webhook URL is still present after saving [(8) ]() 2. **Don't save the agent after adding the webhook**: The bug occurs when you save the agent after configuring the phone number webhook 3. **Use only phone number level webhook for inbound**: Don't add the same URL to both phone number level and agent level webhooks - they serve different purposes [(2) ]() 4. **Ensure your n8n webhook returns 2xx**: Your endpoint must respond with a success status within 10 seconds Expected Request Payload: Your inbound webhook should receive this format :
Copy code
json
{
  "event": "call_inbound",
  "call_inbound": {
    "agent_id": "agent_12345",
    "from_number": "+12137771234",
    "to_number": "+12137771235"
  }
}
If the issue persists after verifying these steps, this may be related to the documented bug where webhooks don't work together with conversation agents [(8) ]() .
​ To learn more, see the sources I considered: [[1] Get Phone Number](https://docs.retellai.com/api-references/get-phone-number) [[2] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[3] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[4] Create Phone Number](https://docs.retellai.com/api-references/create-phone-number) [[5] List Phone Numbers](https://docs.retellai.com/api-references/list-phone-numbers) [[6] Help on Twilio DID questions](https://retell.discourse.group/t/help-on-twilio-did-questions/24) [[7] Discord message from @masanovets on 2024-11-28](https://discord.com/channels/1186424376300679209/1294891368505937952/1311651291918761984) [[8] inbound webhook URL failing to save (or stay saved) and wont work together with conversation agaent](https://discord.com/channels/1186424376300679209/1398428473781125314) [[9] Webhooks](https://discord.com/channels/1186424376300679209/1367714169587240990) [[10] Discord message from @rmctechnology_59677 on 2025-03-14](https://discord.com/channels/1186424376300679209/1294891368505937952/1350099879552225311) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy checked everything but doesn't work
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer Since you've checked everything and the inbound webhook still isn't triggering, let's systematically verify the configuration: 1. Verify Phone Number Configuration Check that your phone number has the
inbound_webhook_url
properly set [(1) ]() . You can verify this via the API or dashboard. 2. Test Your n8n Webhook Endpoint Independently Before testing with Retell AI, confirm your n8n webhook is publicly accessible: - Test it with a tool like Postman or curl - Ensure it returns a 2xx status code within 10 seconds [(2) ]() - Verify there are no SSL/certificate issues with your self-hosted n8n 3. Check Webhook Payload Format Your n8n webhook should expect this payload format :
Copy code
json
{
  "event": "call_inbound",
  "call_inbound": {
    "agent_id": "agent_12345",
    "from_number": "+12137771234",
    "to_number": "+12137771235"
  }
}
4. Verify Webhook Timing The inbound webhook is triggered BEFORE the call connects . This means: - It fires when someone calls your Retell number - It happens before
call_started
event - If the call doesn't connect, you won't see
call_started
but should still see the inbound webhook 5. Check Retell Dashboard Call Logs You can check detailed call logs in the Retell dashboard to see if the webhook was invoked [(3) ]() . This will show whether Retell attempted to call your webhook and what response it received. 6. Common Issues to Rule Out Based on community reports: - Ensure your n8n webhook URL is correct and hasn't changed - Verify no firewall or network restrictions are blocking Retell's servers - Confirm your n8n instance is running and the webhook module is active - Check that you're testing with actual inbound calls to the configured number 7. Alternative Debugging Approach Try using a simple webhook testing service (like webhook.site) temporarily to confirm Retell is sending the webhook. If that works but n8n doesn't, the issue is with your n8n configuration. If none of these steps reveal the issue, please share: - The exact error (if any) from Retell call logs - Whether the webhook works with webhook.site - Your n8n webhook configuration details
​ To learn more, see the sources I considered: [[1] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) [[2] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[3] Webhook problems](https://discord.com/channels/1186424376300679209/1372226274705277080) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy I'm trying to test the event - call_analyzed to get call details. But when I test the webhook, it's supposed to launch three triggers (last one being call_analyzed) which is the one I want. But when I test the workflow in n8n, the test stops after first webhook trigger of call_started, so I can't get the call detail variables? What's the solution? Should I just add a timer for testing purposes to make sure call is analyzed, then remove the timer after? Or is there an easier way?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
Why Adding a Timer Won't Help: Adding a timer won't solve the issue because n8n's test mode is designed to capture only the first incoming request. The subsequent webhook events (
call_ended
and
call_analyzed
) will arrive as separate HTTP requests, and test mode won't capture them. To Get call_analyzed Data: The
call_analyzed
event includes comprehensive call information [(2) ]() : - Full transcript - Call analysis (summary, sentiment, success status) - Recording URLs - Latency metrics - Custom analysis data You need to let the workflow run in production mode (activated, not testing) to receive this event after the call completes.
### Answer ### Answer The issue you're experiencing is a common challenge when testing webhooks in n8n - the "test" mode in n8n only captures the first webhook event it receives, which is why you're only seeing
call_started
and not
call_analyzed
[(1) ]() . Understanding Webhook Event Timing: Retell AI sends webhook events in this order : 1.
call_started
- when the call begins 2.
call_ended
- when the call completes 3.
call_analyzed
- after post-call analysis is complete The
call_analyzed
event contains the full call data including
call_id
and
call_analysis
[(2) ]() . Solution: Don't Use n8n's Test Mode for Multi-Event Webhooks Instead of using n8n's "test" button, you need to: 1. Activate your workflow (don't just test it) 2. Make an actual call to your Retell agent 3. Let the call complete so all three webhook events are sent 4. Check your n8n execution history to see all three webhook triggers Important: You Must Acknowledge All Events As mentioned in your earlier thread, your n8n workflow must respond with a 2xx status code to ALL webhook events, even if you only want to process
call_analyzed
[(1) ]() . The webhook has a timeout of 10 seconds, and if no success status is received, it will be retried up to 3 times . Recommended n8n Workflow Structure:
Copy code
Webhook Trigger (receives all events)
    ↓
Router/Switch Node (check event type)
    ↓
Branch 1: event = "call_started" → Respond 200 (do nothing else)
    ↓
Branch 2: event = "call_ended" → Respond 200 (do nothing else)
    ↓
Branch 3: event = "call_analyzed" → Process your data + Respond 200
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] Create Web Call](https://docs.retellai.com/api-references/create-web-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy only getting call_started webhook, not getting other two. Not sure why.
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer If you're only receiving the
call_started
webhook event and not
call_ended
or
call_analyzed
, there are several potential causes based on the documentation and community reports. 1. Verify Your Webhook Endpoint Returns 2xx for ALL Events Your n8n webhook must respond with a successful status code (2xx) to every webhook event [(1) ]() . If your endpoint doesn't acknowledge
call_started
properly, Retell may not send subsequent events. Ensure your workflow responds to
call_started
even if you don't process it . 2. Check for Webhook Response Timeout Issues Retell expects a successful status code within a reasonable timeframe . If your n8n workflow takes too long to respond (processing data before sending the 2xx response) , this could prevent subsequent webhooks from being sent. 3. Known Issue: call_analyzed May Be Delayed or Fail for Longer Calls Community reports indicate that
call_analyzed
webhooks can fail for calls longer than 5 minutes, with approximately 50% of longer calls not triggering this event [(2) ]() . In one case, the webhook failed with error code 413 "request entity too large" , suggesting the payload was too large for the receiving server to handle. 4. Verify Webhook Registration Confirm your webhook is properly registered. You can register webhooks at two levels [(3) ]() : - **Account level**: Through system settings → webhooks tab (applies to all agents) - **Agent level**: Through the agent detail page (overrides account-level webhooks for that agent) If you have both configured, the agent-level webhook takes precedence . 5. Check Your n8n Server Configuration Based on the community experience with error 413 [(2) ](h
ttps://discord.com/channels/1186424376300679209/1400191602206576790) , ensure your n8n instance can handle large payloads. The
call_analyzed
event contains the full transcript, recording URLs, and analysis data [(4) ]() , which can be substantial for longer calls. Recommended Debugging Steps: 1. Test with a simple webhook service first (like webhook.site) to confirm Retell is sending all three events 2. Make a short test call (under 1 minute) to rule out payload size issues 3. Check your n8n execution logs for any errors or timeouts when processing
call_started
4. Verify your n8n webhook responds immediately with 200 status before doing any data processing Expected Webhook Sequence: Your endpoint should receive three separate POST requests [(1) ]() : 1.
call_started
- when call begins 2.
call_ended
- when call completes 3.
call_analyzed
- after post-call analysis (may take additional time) If the issue persists after these checks, the problem may be related to your n8n server's payload size limits or the known issues with
call_analyzed
events for certain call types [(2) ]() .
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] Call_Analyzed webhook event not working reliably for longer calls](https://discord.com/channels/1186424376300679209/1400191602206576790) [[3] Setup guide](https://docs.retellai.com/features/register-webhook) [[4] Create Web Call](https://docs.retellai.com/api-references/create-web-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy does webhook response need to be GET or POST
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer *Retell AI sends webhook requests using POST method, and your webhook endpoint must respond (not make a request) * [(1) ]() . The webhook will
POST
the payload to your endpoint . Your endpoint doesn't need to send a GET or POST - it simply needs to respond with a success status code (2xx) . Expected Response: - You must return a successful status code (2xx) - No response body is expected - The response must be sent within 10 seconds - If no success status is received within 10 seconds, the webhook will be retried up to 3 times Sample Implementation: Here's how to handle the incoming POST request and respond appropriately:
Copy code
javascript
app.post("/webhook", (req: Request, res: Response) => {
 if (
 !Retell.verify(
 JSON.stringify(req.body) ,
 process.env.RETELL_API_KEY,
 req.headers["x-retell-signature"] as string,
 )
 ) {
 console.error("Invalid signature") ;
 return;
 }
 const {event, call} = req.body;
 // process the webhook
 // Acknowledge the receipt of the event
 res.status(204) .send() ;
}) ;
[(2) ]() Key Points: - Retell AI makes a POST request to your webhook URL [(1) ]() - Your endpoint receives the POST and processes it - Your endpoint responds with a 2xx status code (like 200 or 204) - You're not making a GET or POST request - you're responding to Retell's POST This is why you're only seeing
call_started
- if your n8n workflow isn't responding quickly with a 2xx status to each webhook event, Retell may not send subsequent events .
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] Secure the webhook](https://docs.retellai.com/features/secure-webhook) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy my webhook URL is only set at Agent level. Not at phone number level or also not in settings - webhooks (URL section)...is this fine? Can I ignore phone number level and in settings - webhook URL? When will I use them then?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer Having your webhook URL set only at the agent level is fine for receiving standard call events (
call_started
,
call_ended
,
call_analyzed
) , but you're missing out on the inbound call webhook functionality if you don't configure the phone number level webhook [(1) ]() . Different Webhook Levels Serve Different Purposes: 1. Agent Level Webhook (what you currently have configured) [(2) ]() [(3) ]() - Receives
call_started
,
call_ended
, and
call_analyzed
events - Configured through the agent's settings in the dashboard - Applies to all calls handled by that specific agent - This is what you need for post-call processing and analytics 2. Phone Number Level Webhook (inbound webhook) [(4) ](

▾

) - Receives
call_inbound
events BEFORE the call connects - Allows you to dynamically route calls to different agents based on caller information - Enables you to set dynamic variables before the conversation starts - Configured at the phone number settings level 3. Account Level Webhook (settings → webhooks) [(1) ]() - Applies to all agents under your account - Receives events for any agent that doesn't have its own agent-level webhook configured - If an agent has its own webhook URL set, the account level webhook will not be triggered for that agent When to Use Each: Use Agent Level Webhook when: - You want call events (
call_started
,
call_ended
,
call_analyzed
) for a specific agent - You need post-call data processing - Different agents need different webhook endpoints Use Phone Number Level Webhook when: [(4) ](
/watch?v=U8jdhkqOOhE) - You want to route incoming calls to different agents based on who's calling - You need to query a database (like Airtable) to personalize the experience before the call starts - You want to set dynamic variables based on caller information (e.g., returning vs. new customers) Use Account Level Webhook when: [(1) ]() - You want a single webhook endpoint for all agents - You're managing multiple agents and want centralized event handling - You don't need agent-specific webhook logic Your Current Setup: Since you only have the agent-level webhook configured, you're receiving: - ✅
call_started
,
call_ended
,
call_analyzed
events for that agent - ❌ **Missing**:
call_inbound
events that fire before the call connects You can ignore the phone number level and account level webhooks if: - You don't need to route calls dynamically based on caller information - You don't need to set variables before the conversation starts - You're satisfied with post-call event processing only Example Use Case for Phone Number Level Webhook: [(4) ](

▾

) In the Airtable personalization video, the phone number level webhook is used to: 1. Receive the incoming caller's number 2. Query Airtable to check if they're a returning patient 3. Route new patients to one agent and returning patients to another agent 4. Set dynamic variables with patient information before the call starts Registration Options: [(1) ]() You have two options for registering webhooks: - **Option 1**: Register an account level webhook through system settings → webhooks tab for events related to any agent under your account - **Option 2**: Register an agent level webhook through the dashboard's agent detail page (if set, account level
webhooks will not be triggered for that agent) Bottom Line: Your current setup with only agent-level webhook is perfectly fine if you only need post-call event processing. You can safely ignore the phone number level and account level webhooks unless you need the specific functionality they provide (dynamic routing or centralized event handling) .
​ To learn more, see the sources I considered: [[1] Setup guide](https://docs.retellai.com/features/register-webhook) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) [[3] List Agents](https://docs.retellai.com/api-references/list-agents) [[4] Personalization with Airtable](

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

) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy does the call need to be at least a specific length to get call_analyzed?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer ### Answer Based on the available documentation, there is no minimum call length requirement specified for the
call_analyzed
webhook to trigger
[(1) ]() [(2) ]() . However, there are important conditions that affect whether
call_analyzed
will be triggered: When
call_analyzed
Will NOT Be Triggered:
According to the documentation, post call analysis fields are not populated for: - Non-connected calls [(2) ]() - Calls where no conversation happened This means if the call didn't connect (such as calls with
dial_failed
,
dial_no_answer
, or
dial_busy
disconnection reasons) , the
call_started
webhook will not be triggered, but
call_ended
and
call_analyzed
webhooks will still be triggered [(1) ]() . Known Issues with `call_analyzed`: Community reports indicate potential issues with longer calls: - For calls longer than 5 minutes, approximately 50% may not receive a
call_analyzed
webhook event [(3) ]() - In some cases, the webhook can fail with error code 413 "request entity too large" when the payload becomes too large Expected Behavior: The
call_analyzed
event is triggered when call analysis is complete and includes the full call data including the
call_analysis
object [(1) ]() . The webhook will be triggered after the call ends, once the post-call analysis processing is finished . Bottom Line: While there's no documented minimum call length, the call must: 1. Successfully connect 2. Have an actual conversation occur 3. Complete the post-call analysis processin
g If your calls are connecting and having conversations but you're still not receiving
call_analyzed
events, this could be related to the known issues with longer calls or webhook response handling discussed in your previous messages [(3) ]() . --- ​ To learn more, see the sources I considered: [[1] Webhook Overview]() [[2] Create Web Call]() [[3] Consume the analysis data]() [[4] List Agents]() [[5] Call_Analyzed webhook event not working reliably for longer calls]() [[6] call_analyzed webhook triggered multiple times]() ​ Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
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] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] Consume the analysis data](https://docs.retellai.com/features/post-call-analysis-consumption) [[3] Call_Analyzed webhook event not working reliably for longer calls](https://discord.com/channels/1186424376300679209/1400191602206576790) ​
s
@AI Evy Webhook is getting all events (call_started, call_ended and call_analyzed) and execution is correct with automation. But when I want to edit workflow I cannot play with variables in execution. And in test mode, call_analyzed is not triggered for me to use the variables for configuration.
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer --- ### Answer The issue you're experiencing is a limitation of n8n's test mode, not a problem with Retell AI's webhooks. Since your workflow is correctly receiving all three webhook events (
call_started
,
call_ended
, and
call_analyzed
) in production, this is expected behavior [(1) ]() . Why Test Mode Doesn't Work for `call_analyzed`: n8n's "test" mode only captures the first webhook event it receives. Since Retell AI sends three separate POST requests in sequence : 1.
call_started
- when the call begins 2.
call_ended
- when the call completes 3.
call_analyzed
- after post-call analysis is complete The test mode stops after capturing
call_started
, preventing you from accessing
call_analyzed
variables during workflow development. Workaround for Development: Since you can't use test mode to get
call_analyzed
data, here are your options: Option 1: Use Execution History Data 1. Make an actual test call to trigger all webhook events 2. Go to your n8n workflow's execution history 3. Find a completed execution that received
call_analyzed
4. Click on that execution to view the data 5. Use the "Copy to Editor" or pin the execution to reference the variable structure while editing your workflow Option 2: Mock the Webhook Payload Create a manual trigger node with sample
call_analyzed
data based on the documented structure [(2) ]() :
Copy code
json
{
  "event": "call_analyzed",
  "call": {
    "call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
    "transcript": "Agent: hi how are you doing?\nUser: Doing pretty well...",
    "call_analysis": {
      "call_summary": "The agent called the user...",
      "user_sentiment": "Positive",
      "call_successful": true,
      "custom_analysis_data": {}
    }
  }
}
Option 3: Use a Separate Development Webhook 1. Create a duplicate workflow for testing 2. Use webhook.site or a similar service to capture a real
call_analyzed
payload 3. Use that captured payload to develop your logic 4. Once complete, apply the logic to your production workflow Important Reminder: Your production workflow must respond with a 2xx status code to ALL webhook events [(1) ]() , including
call_started
and
call_ended
, even if you only process
call_analyzed
. The webhook has a timeout of 10 seconds, and if no success status is received, it will be retried up to 3 times . Since your automation is working correctly in production, you're handling this properly. The inability to test with
call_analyzed
variables is purely a development workflow limitation in n8n, not a Retell AI issue. ---
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] Create Web Call](https://docs.retellai.com/api-references/create-web-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy our twilio phone number is now showing up as spam...we don't even call more than every 5-7 minutes. How is this possible and how to remove it
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer --- ### Answer Phone numbers can be marked as "Spam Likely" by carriers even with low call volumes, particularly when telephony providers like Twilio recycle previously used numbers that were associated with spam activities before being reassigned [(1) ]() . Why Your Number Is Flagged: Carriers use AI-powered call analytics to block numbers that show patterns of mass calling, regardless of whether those calls are legitimate [(2) ]() . Third-party call blocking apps like Truecaller and Hiya allow users to manually report numbers as spam, making it easy for businesses to get flagged after just a few complaints . Additionally, if your business doesn't display a branded caller ID, recipients are more likely to ignore or block your number . How to Remove the Spam Label: 1. Apply for a Verified Phone Number (U.S. numbers only) [(1) ]() To ensure your Retell phone number maintains a trusted status and isn't flagged as spam, you can register it as a verified phone number . Steps: - First, create a business profile by following the guide in Business Profile - Once your business profile is set up, select it and submit your verification application through the dashboard - Once your phone number verification is approved, it will appear in the configuration screen for the selected number under the "Phone Numbers" tab with an "Active" status, indicating that your number is now verified and trusted 2. Ensure Proper Caller ID Registration [(3) ]() Register your numbers with STIR/SHAKEN protocols, an industry-standard framework designed to authenticate caller IDs and verify legitimac
y . This helps carriers confirm that your calls originate from a trusted source, reducing the chance of being flagged . 3. Maintain a Clean Calling Reputation Best practices for reputation management include: - Limit call frequency to avoid bombarding recipients with repeated calls in short periods - Monitor complaints and address customer complaints immediately to prevent negative reports that harm your reputation - Rotate numbers for high-volume campaigns by using multiple verified phone numbers to distribute call traffic and prevent overloading a single line 4. Provide Clear Caller Identification Use a branded caller ID that displays your business name clearly . Ensure the number you're calling from is consistent across campaigns . Include voicemail messages that identify your business and purpose if a call is missed . 5. Comply with Telecommunication Laws Follow the Telephone Consumer Protection Act (TCPA) by obtaining recipient consent for calls . Respect Do Not Call (DNC) lists and avoid contacting restricted numbers . Disconnection Reason Monitoring: If calls are being blocked, you may see disconnection reasons like
marked_as_spam
in your call logs [(4) ]() [(5) ]() . This indicates the carrier or recipient's device has flagged your number. Community Experience: Other users have reported similar issues where outbound numbers are subject to screening at receiving carriers for spam, and their ability to connect can be affected if spam score is high [(6) ]() . ---
​ To learn more, see the sources I considered: [[1] Apply for verified phone number](https://docs.retellai.com/build/telephony/verified-phone) [[2] Spam Detection Impacting AI Call Campaigns | Retell AI | Retell AI](https://www.retellai.com/blog/spam-detection-blocking-calls) [[3] How to Avoid Getting Tagged as Spam Likely for AI Calls | Retell AI](https://www.retellai.com/blog/how-to-avoid-getting-tagged-as-spam-likely-for-your-ai-calls) [[4] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[5] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[6] Discord message from @.7mile on 2025-07-09](https://discord.com/channels/1186424376300679209/1186462578310910112/1392583939134062744) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy can I use my canadian number with fido or rogers? or just twilio? What can I do now to make this go away?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer --- ### Answer Using Canadian Numbers with Retell AI: Retell AI supports purchasing Canadian numbers directly through their platform [(1) ]() . You can purchase Canadian numbers for $2/month through Twilio via Retell's dashboard . However, based on the documentation, Retell AI currently only supports domestic calls from their platform . If you need to use numbers from other countries for international calling, or if you want to use your own telephony provider like Fido or Rogers, you would need to implement Custom Telephony . Your Options to Fix the Spam Issue: Since your Twilio number is showing as spam, here are your immediate action steps: 1. Register for Verified Phone Number Status Canadian numbers purchased through Retell can be verified . Follow the verification process I outlined in my previous message to get your number trusted by carriers. 2. Use Custom Telephony with Your Own Provider If you want to use your existing Fido or Rogers number instead of Twilio, you'll need to set up Custom Telephony integration . This allows you to bring your own telephony infrastructure while still using Retell AI's voice agents. 3. Purchase a Fresh Canadian Number If your current Twilio number has a damaged reputation, consider purchasing a new Canadian number through Retell's dashboard . New numbers start with a clean slate, but you should immediately apply for verification to prevent future spam flagging. Important Notes: - Retell currently only supports US and Canadian numbers for purchase through their platform - All numbers purchased through Retell use either Twilio or Telnyx as the underlying provider - You cannot directly use Fido or Rogers numbers without implementing Custom Telephony integration Immediate Action Plan: 1. Apply for ver
ified phone number status on your current Twilio number (if you want to keep it) 2. OR purchase a new Canadian number through Retell's dashboard and immediately verify it 3. Implement the spam prevention best practices I outlined in my previous message The verification process is the most effective way to prevent spam flagging for numbers purchased through Retell's platform . ---
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] Purchase phone number](https://docs.retellai.com/deploy/purchase-number) ​
s
@AI Evy I want call_summary to be blank when voicemail_reached. So agent can hanp up right away and no summary as output
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer --- ### Answer Understanding Voicemail Detection and Call Analysis: When voicemail is detected and the agent hangs up, the call will have a
disconnection_reason
of
voicemail_reached
[(1) ]() [(2) ]() [(3) ]() . Post-call analysis fields, including
call_summary
, are not populated for non-connected calls [(4) ]() . However, based on the API documentation, when a call ends with
voicemail_reached
, the
call_analysis
object is still included in the webhook payload, but it may contain minimal or empty data since no actual conversation occurred [(2) ]() [(3) ]() . Your Options: Option 1: Filter in Your Webhook Handler In your n8n workflow, add logic to check the
disconnection_reason
before processing the `call_summary`:
Copy code
javascript
// Check if call reached voicemail
if (call.disconnection_reason === "voicemail_reached") {
  // Skip processing call_summary or set it to empty
  call_summary = "";
} else {
  // Process normal call_summary
  call_summary = call.call_analysis.call_summary;
}
[(2) ]() Option 2: Configure Voicemail Detection to Hang Up Immediately Ensure your agent is configured to hang up when voicemail is detected, rather than leaving a message [(1) ]() . This minimizes the call duration and ensures the agent disconnects right away: 1. Navigate to your agent settings → call settings 2. Enable "Voicemail Detection" 3. Select "Hang up" as the voicemail behavior With this configuration, when voicemail is detected, the system will disconnect immediately, and since no conversation occurred, the
call_summary
should be minimal or empty . Expected Behavior: When
disconnection_reason
is
voicemail_reached
, the
call_analysis
object in the webhook will show [(2) ]() [(3) ]() : - `in_voicemail`:
true
- `call_summary`: likely empty or minimal since no conversation happened - `call_successful`: likely
false
Bottom Line: The most reliable approach is to handle this in your webhook logic by checking
disconnection_reason === "voicemail_reached"
and either ignoring the
call_summary
or setting it to blank in your automation . ---
​ To learn more, see the sources I considered: [[1] Handle voicemail](https://docs.retellai.com/build/handle-voicemail) [[2] List Calls](https://docs.retellai.com/api-references/list-calls) [[3] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[4] Define the information you want to extract](https://docs.retellai.com/features/post-call-analysis-create) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
o
Hey @samira_04165 , If you still have this problem you can create a ticket on #❓・bug-report , and we will help you there.
s
@Omar Ashraf | Community Lead I want to say you are very kind and have been always supportive. THANK YOU !
@AI Evy I'm passing a variable to voice agent, but sometimes it won't use the variable in conversation. why? My script is simple, most of the time it uses, sometimes it won't pass through I guess. How can I guarrantee it always passes through
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer --- ## Ensuring Dynamic Variables Are Consistently Used When dynamic variables aren't being used consistently in conversations, there are several key areas to check: 1. Verify Variables Are Being Passed Correctly For outbound calls, ensure you're setting variables in the
retell_llm_dynamic_variables
field of your API request, and all values must be strings [(1) ]() :
Copy code
json
{
 "user_name": "John Smith",
 "product_name": "Premium Plan",
 "account_status": "active"
}
2. Check Your Call Data Always verify variables in your call history [(2) ](

▾

) . Go to your call log → data section to confirm the dynamic variable values were actually passed . If the value isn't showing there, the variable wasn't successfully transmitted . 3. Configure Agent-Level Default Variables Set default values at the agent level as a fallback [(1) ]() . Default variables will only be used when specific variables aren't included in the call request . This ensures your agent always has a value to work with. 4. Review Your Prompt Structure Make sure your prompt explicitly references the dynamic variables using the
{{variable_name}}
syntax . For example:
Copy code
"Hello {{user_name}}, I understand you're interested in {{product_name}}. How can I help you today?"
Common Issues: - **Spelling mismatches**: The variable name in your prompt must exactly match the variable name you're passing in the API call [(2) ](

▾

) - **Missing variables in the request**: If you forget to include a variable in your API call and there's no default set, the agent won't have that data [(1) ]() - **Variable not reaching the agent**: Community reports indicate that agents sometimes don't capture variables even when they're visible on the Retell AI side [(3) ]() Testing Your Setup: Before deploying, test your dynamic variables using the web interface [(1) ]() . This helps catch configuration issues early. If variables are showing correctly in your call data but still aren't being used in conversations, this may indicate a prompt design issue rather than a variable passing problem [(3) ]() .
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Master The Future of Voice AI - Conversation Design & Agent Persona](

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

) [[3] First Name Variable from The Data](https://discord.com/channels/1186424376300679209/1348987143577665577) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
like i said, most of the time it works. but why is it not working %100 of the time
@AI Evy like i said, most of the time it works. but why is it not working %100 of the time
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer Based on the available documentation, here are the most common reasons why dynamic variables might not work 100% of the time, even when they're correctly configured: 1. Handling Missing Variables When a dynamic variable has no assigned value, it remains in its raw form with curly braces intact [(1) ]() . If your agent's prompt doesn't account for this, the LLM might ignore or mishandle the variable. Add defensive prompting:
Copy code
If {{user_name}} appears with curly braces, use a generic greeting.
Otherwise, greet the customer by name.
2. Variable Value Type Issues All dynamic variable values must be strings . If you're passing non-string values (numbers, booleans, objects) , they may not be processed correctly. Ensure all values are converted to strings in your API request. 3. Nested Variable Evaluation Variables can be nested, and they evaluate from innermost to outermost . For example:
Copy code
{{current_time_{{my_timezone}} }}
If you have complex nested variables, evaluation issues could cause inconsistent behavior. 4. LLM Non-Determinism Even with perfect variable passing, LLMs can exhibit non-deterministic behavior. The agent might occasionally: - Paraphrase instead of using the exact variable value - Skip mentioning the variable in certain conversational contexts - Interpret the variable differently based on conversation flow 5. Inbound Call Webhook Issues Based on community reports, there can be issues with dynamic variables not being captured from inbound webhooks even when they're visible on the Retell AI side [(2) ]() [(3) ]() . If you're using inbound calls, this could explain intermittent failures. To Maximize Reliability: 1. Set agent-level defaults for all critical variables [(1) ]() 2. Add explicit instructions in your prompt about when and how to use each variable 3. Check the call data in your dashboard after failed attempts to see if the variable was actually passed 4. Test with the exact same variable values multiple times to isolate whether it's a passing issue or an LLM interpretation issue If you're seeing the variable correctly in your call data but the agent still doesn't use it, the issue is likely with how your prompt instructs the LLM to handle that variable, not with the variable passing mechanism itself.
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] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Discord message from @arcticemerald on 2025-09-13](https://discord.com/channels/1186424376300679209/1294891368505937952/1416474911546806425) [[3] Dynamic Variables](https://discord.com/channels/1186424376300679209/1356680357084135558) ​
s
@AI Evy I need AI agent to ask in the tone of question when "?" is in but it just treats it like normal text. To give an LLM clear instructions for a voice agent to use a questioning tone for the phrase "Hi {{name}}??", should I primarily use Speech Synthesis Markup Language (SSML) within your prompt or output generation?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer Based on the available sources, here's how to control tone and pauses in your Retell AI agent: ## Using SSML for Tone and Pauses The sources indicate that you can use SSML (Speech Synthesis Markup Language) tags directly in your prompts or LLM output to control speech characteristics [(1) ]() . For questioning tone with pauses, you can use:
Copy code
xml
<speak>
  Hi {{name}}
  <break time="500ms"/> 
  <prosody pitch="+10%" rate="95%">
    Is this a good time to talk?
  </prosody>
</speak>
## Key SSML Tags for Your Use Case For pauses: -
<break time="500ms"/>
- Creates a 500 millisecond pause -
<break time="1s"/>
- Creates a 1 second pause For questioning tone: -
<prosody pitch="+10%" rate="95%">
- Increases pitch slightly and slows speech rate to create a questioning intonation ## Important Notes The dash approach (
-
) for pauses can cause weird noises or guttural sounds with some TTS providers . SSML tags are more reliable across different voice providers like ElevenLabs, Cartesia, and OpenAI . When using SSML, wrap your content in
<speak>
tags and place the SSML directly in your prompt instructions for the LLM to output . **
​ To learn more, see the sources I considered: [[1] " - " for pausing is not working](https://discord.com/channels/1186424376300679209/1407867520492245023) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy when I get the twilio number for $2/mo, I cannot do anything with it. How can i set up sms automation with n8n using this number? Can I not access the twilio api?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer When you purchase a Retell Twilio number ($2/month) , you don't have direct access to the underlying Twilio API—Retell manages the telephony infrastructure for you. [(1) ]() ## Setting Up SMS with Your Retell Twilio Number To enable SMS capabilities on a Retell Twilio number, you need to go through an approval process: 1. Get approved for a business profile (free) 2. Get approved for a brand ($4 one-time fee for low-volume, $45 for standard) 3. Get approved for an SMS campaign ($15 one-time fee) This process can take around 2-3 weeks as it requires manual review by the telephony provider. ## Integrating SMS with n8n Once SMS is enabled on your number, you can set up two-way SMS conversations by attaching chat agents to the number. For outbound SMS automation with n8n, you can use the [Create Outbound SMS API]() to programmatically send messages. ## Alternative: Bring Your Own Twilio Number If you want direct Twilio API access, you can bring your own Twilio number with SMS capabilities already enabled: 1. Click "Setup SMS Function" in Advanced Add-Ons in your phone number settings 2. Provide your Twilio Account SID and Auth Token 3. Configure SMS settings This approach gives you more control since you manage the Twilio account directly. Note: SMS capabilities are currently limited to US numbers only.
​ To learn more, see the sources I considered: [[1] Send & receive SMS](https://docs.retellai.com/deploy/enable-sms) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
but I'm in canada. I tried getting verified before but got denied. Is it because business is not in USA? How to make this work?
@AI Evy but I'm in canada. I tried getting verified before but got denied. Is it because business is not in USA? How to make this work?
a
Thanks for the follow-up, @samira_04165. I'll get back to you soon.
### Answer Verified phone number registration is only available for U.S. numbers at this time. [(1) ]() This is likely why your Canadian business was denied verification—the feature currently doesn't support numbers outside the United States. Your Options: 1. Use a U.S. Number for Verification If you can obtain a U.S. phone number through Retell's platform, you could apply for verified phone number status on that number instead. 2. Bring Your Own Twilio Account Since you mentioned wanting SMS capabilities, you can bring your own Twilio number with SMS already enabled. [(2) ]() This gives you direct control over your Twilio account and bypasses the Retell-managed verification process. You would: - Set up SMS Function in Advanced Add-Ons in your Retell dashboard - Provide your Twilio Account SID and Auth Token - Configure your existing Twilio number that already has SMS capabilities 3. Contact Support For Canadian-specific business needs or to inquire about future support for non-U.S. verification, you can reach out to support@retellai.com. [(3) ]() The verification process is entirely managed by the provider, and Retell doesn't have control over it.
​ To learn more, see the sources I considered: [[1] Apply for verified phone number](https://docs.retellai.com/build/telephony/verified-phone) [[2] SMS Number Verification Pending 60+ Days — Launch Blocked](https://community.retellai.com/t/sms-number-verification-pending-60-days-launch-blocked/333) [[3] Pending Processing on Verified Phone Number](https://community.retellai.com/t/pending-processing-on-verified-phone-number/504) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.