samira_04165
09/09/2025, 10:32 PMAI Evy
09/09/2025, 10:32 PMAI Evy
09/09/2025, 10:32 PMcall_inbound wrapper [(1) ]() .
The correct format should be :
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 .AI Evy
09/09/2025, 10:32 PMAI Evy
09/09/2025, 10:33 PMsamira_04165
09/10/2025, 12:12 AMsamira_04165
09/10/2025, 12:14 AMsamira_04165
09/10/2025, 12:14 AMAI Evy
09/10/2025, 12:14 AMAI Evy
09/10/2025, 12:15 AMAI Evy
09/10/2025, 12:15 AMjson
{
"call_inbound": {
"dynamic_variables": {
"customer_name": "John Doe"
},
"metadata": {
"random_id": "12345"
}
}
}AI Evy
09/10/2025, 12:15 AMAI Evy
09/10/2025, 12:15 AMsamira_04165
09/10/2025, 12:17 AMAI Evy
09/10/2025, 12:17 AMAI Evy
09/10/2025, 12:17 AMAI Evy
09/10/2025, 12:17 AMsamira_04165
09/11/2025, 5:35 AMAI Evy
09/11/2025, 5:35 AMAI Evy
09/11/2025, 5:35 AMAI Evy
09/11/2025, 5:35 AMAI Evy
09/11/2025, 5:35 AMsamira_04165
09/11/2025, 5:48 AMsamira_04165
09/11/2025, 5:48 AMAI Evy
09/11/2025, 5:48 AMAI Evy
09/11/2025, 5:48 AMcurl
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:AI Evy
09/11/2025, 5:48 AMjson
{
"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) ]() .AI Evy
09/11/2025, 5:49 AMAI Evy
09/11/2025, 5:49 AMsamira_04165
09/11/2025, 6:02 AMAI Evy
09/11/2025, 6:02 AMAI Evy
09/11/2025, 6:02 AMcurl
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) ]() .samira_04165
09/11/2025, 6:02 AMsamira_04165
09/11/2025, 6:04 AMAI Evy
09/11/2025, 6:04 AMsamira_04165
09/11/2025, 6:04 AMAI Evy
09/11/2025, 6:04 AMsend_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) ]() .AI Evy
09/11/2025, 6:04 AMAI Evy
09/11/2025, 6:04 AMsamira_04165
09/11/2025, 6:06 AMsamira_04165
09/11/2025, 6:06 AMAI Evy
09/11/2025, 6:06 AMAI Evy
09/11/2025, 6:06 AMAI Evy
09/11/2025, 6:06 AMAI Evy
09/11/2025, 6:06 AMAI Evy
09/11/2025, 6:08 AMAI Evy
09/11/2025, 6:08 AMsamira_04165
09/11/2025, 6:08 AMAI Evy
09/11/2025, 6:08 AMAI Evy
09/11/2025, 6:09 AMuseInboundWebhookOnNumberCalled 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 apprAI Evy
09/11/2025, 6:09 AMAI Evy
09/11/2025, 6:09 AMAI Evy
09/11/2025, 6:09 AMsamira_04165
09/11/2025, 6:24 AMAI Evy
09/11/2025, 6:24 AMAI Evy
09/11/2025, 6:25 AMAI Evy
09/11/2025, 6:25 AMAI Evy
09/11/2025, 6:25 AMsamira_04165
09/11/2025, 6:25 AMAI Evy
09/11/2025, 6:25 AMAI Evy
09/11/2025, 6:25 AMAI Evy
09/11/2025, 6:25 AMAI Evy
09/11/2025, 6:25 AMsamira_04165
09/11/2025, 6:27 AMAI Evy
09/11/2025, 6:27 AMAI Evy
09/11/2025, 6:27 AMHi, 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) ]() :
json
{
"action": {
"type": "static_text",
"text": "Please give us a callback tomorrow at 10am."
}
}AI Evy
09/11/2025, 6:27 AMvoicemail_reached
- The agent will only leave a message when it's the agent's turn to speakAI Evy
09/11/2025, 6:27 AMAI Evy
09/11/2025, 6:27 AMsamira_04165
09/11/2025, 6:30 AMAI Evy
09/11/2025, 6:30 AMAI Evy
09/11/2025, 6:31 AMAI Evy
09/11/2025, 6:31 AMAI Evy
09/11/2025, 6:31 AMAI Evy
09/11/2025, 6:31 AMsamira_04165
09/11/2025, 6:33 AMAI Evy
09/11/2025, 6:33 AMAI Evy
09/11/2025, 6:34 AMsip: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.AI Evy
09/11/2025, 6:34 AMAI Evy
09/11/2025, 6:34 AMsamira_04165
09/11/2025, 6:51 AMsamira_04165
09/11/2025, 6:51 AMAI Evy
09/11/2025, 6:51 AMAI Evy
09/11/2025, 6:51 AMsip: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.AI Evy
09/11/2025, 6:51 AMAI Evy
09/11/2025, 6:51 AMsamira_04165
09/11/2025, 6:58 AMAI Evy
09/11/2025, 6:58 AMAI Evy
09/11/2025, 6:58 AMsip: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.AI Evy
09/11/2025, 6:58 AMAI Evy
09/11/2025, 6:58 AMsamira_04165
09/11/2025, 6:59 AMAI Evy
09/11/2025, 6:59 AMAI Evy
09/11/2025, 7:00 AMsip: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) ]()AI Evy
09/11/2025, 7:00 AMAI Evy
09/11/2025, 7:00 AMsamira_04165
09/11/2025, 7:05 AMAI Evy
09/11/2025, 7:05 AMAI Evy
09/11/2025, 7:05 AMAI Evy
09/11/2025, 7:05 AMAI Evy
09/11/2025, 7:06 AMsamira_04165
09/11/2025, 7:16 AMAI Evy
09/11/2025, 7:16 AMAI Evy
09/11/2025, 7:16 AMsip: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.AI Evy
09/11/2025, 7:16 AMAI Evy
09/11/2025, 7:16 AMsamira_04165
09/11/2025, 7:27 AMAI Evy
09/11/2025, 7:28 AMAI Evy
09/11/2025, 7:28 AMAI Evy
09/11/2025, 7:28 AMAI Evy
09/11/2025, 7:28 AMsamira_04165
09/11/2025, 7:40 AMAI Evy
09/11/2025, 7:40 AMAI Evy
09/11/2025, 7:40 AMAI Evy
09/11/2025, 7:40 AMAI Evy
09/11/2025, 7:40 AMsamira_04165
09/12/2025, 12:50 AMAI Evy
09/12/2025, 12:50 AMAI Evy
09/12/2025, 12:50 AM/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?AI Evy
09/12/2025, 12:50 AM/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) ]() :
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) ]() :
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) ]() :
json
{ "customer_name": "John Doe" }AI Evy
09/12/2025, 12:50 AMAI Evy
09/12/2025, 12:50 AMsamira_04165
09/12/2025, 12:52 AMAI Evy
09/12/2025, 12:52 AMAI Evy
09/12/2025, 12:52 AMAuthorization: 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) ]() .AI Evy
09/12/2025, 12:52 AMAI Evy
09/12/2025, 12:53 AMsamira_04165
09/12/2025, 2:03 AMAI Evy
09/12/2025, 2:04 AMsamira_04165
09/12/2025, 2:04 AMAI Evy
09/12/2025, 2:04 AMAuthorization: Bearer YOUR_API_KEYAI Evy
09/12/2025, 2:04 AMAuthorization: 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?AI Evy
09/12/2025, 2:04 AMAI Evy
09/12/2025, 2:04 AMsamira_04165
09/13/2025, 2:52 AMAI Evy
09/13/2025, 2:52 AMAI Evy
09/13/2025, 2:53 AMAI Evy
09/13/2025, 2:53 AMAI Evy
09/13/2025, 2:53 AMAI Evy
09/13/2025, 2:53 AMsamira_04165
09/13/2025, 2:59 AMAI Evy
09/13/2025, 2:59 AMAI Evy
09/13/2025, 3:00 AMAI Evy
09/13/2025, 3:00 AMAI Evy
09/13/2025, 3:00 AMAI Evy
09/13/2025, 3:00 AMsamira_04165
09/13/2025, 3:05 AMAI Evy
09/13/2025, 3:05 AMAI Evy
09/13/2025, 3:05 AM"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.AI Evy
09/13/2025, 3:05 AMWhen user selected a slot, please book the appointment by calling the `book_appointment` function.AI Evy
09/13/2025, 3:05 AMAI Evy
09/13/2025, 3:05 AMsamira_04165
10/19/2025, 11:11 AMAI Evy
10/19/2025, 11:11 AMAI Evy
10/19/2025, 11:11 AMtasks array where each task represents an individual call :
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:
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 :
json
{
"retell_llm_dynamic_variables": {
"customer_name": "John Doe"
}
}AI Evy
10/19/2025, 11:11 AMto_number field
Authentication Requirements:
Make sure you're including the proper authorization header [(1) ]() :
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.AI Evy
10/19/2025, 11:11 AMAI Evy
10/19/2025, 11:11 AMAI Evy
10/20/2025, 1:22 AMsamira_04165
10/20/2025, 1:22 AMAI Evy
10/20/2025, 1:22 AMAI Evy
10/20/2025, 1:22 AMcall_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 :
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": {}
}
}
}AI Evy
10/20/2025, 1:22 AMcall_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.AI Evy
10/20/2025, 1:23 AMAI Evy
10/20/2025, 1:31 AMsamira_04165
10/20/2025, 1:31 AMAI Evy
10/20/2025, 1:31 AMAI Evy
10/20/2025, 1:31 AMjson
{
"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 .AI Evy
10/20/2025, 1:31 AMcall_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:AI Evy
10/20/2025, 1:31 AMAI Evy
10/20/2025, 1:39 AMsamira_04165
10/20/2025, 1:39 AMAI Evy
10/20/2025, 1:39 AMcall_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) ]() .AI Evy
10/20/2025, 1:39 AMcall_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 :
json
{
"event_type": "call_analyzed",
"call": {
// Call object with call_analysis field populated
}
}AI Evy
10/20/2025, 1:39 AMAI Evy
10/20/2025, 1:39 AMAI Evy
10/20/2025, 1:45 AMsamira_04165
10/20/2025, 1:45 AMAI Evy
10/20/2025, 1:45 AMwebhook_url parameter for each agent :
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 :
json
{
"event": "call_analyzed",
"call": {
"agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
"call_type": "phone_call",
"direction": "inbound",
"call_analysis": {
"user_sentiment": "Positive",
"call_successful": true
}
}
}AI Evy
10/20/2025, 1:45 AMAI Evy
10/20/2025, 1:45 AMAI Evy
10/20/2025, 1:45 AMsamira_04165
10/20/2025, 5:23 AMAI Evy
10/20/2025, 5:23 AMAI Evy
10/20/2025, 5:23 AMAI Evy
10/20/2025, 5:23 AMAI Evy
10/20/2025, 5:23 AMsamira_04165
10/20/2025, 6:50 AMAI Evy
10/20/2025, 6:50 AMAI Evy
10/20/2025, 6:50 AMcall_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:
javascript
const agentResponse = await client.agent.update('agent_id', {
webhook_url: "<https://webhook-url-here%22,>
webhook_timeout_ms: 10000
}) ;AI Evy
10/20/2025, 6:50 AMcall_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.AI Evy
10/20/2025, 6:50 AMAI Evy
10/20/2025, 6:50 AMsamira_04165
10/20/2025, 7:46 AMsamira_04165
10/20/2025, 7:48 AMOmar Ashraf | Community Lead
10/20/2025, 7:53 AMsamira_04165
10/20/2025, 8:04 AMsamira_04165
10/20/2025, 8:08 AMAI Evy
10/20/2025, 8:08 AMAI Evy
10/20/2025, 8:09 AMwebhook_url parameter [(2) ]() [(3) ]() :
javascript
const agentResponse = await client.agent.update('agent_id', {
webhook_url: "<https://webhook-url-here%22,>
webhook_timeout_ms: 10000
}) ;AI Evy
10/20/2025, 8:09 AMAI Evy
10/20/2025, 8:09 AMAI Evy
10/20/2025, 8:09 AMsamira_04165
10/20/2025, 6:35 PMsamira_04165
10/20/2025, 6:35 PMAI Evy
10/20/2025, 6:35 PMAI Evy
10/20/2025, 6:35 PMcall_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) ]() :AI Evy
10/20/2025, 6:35 PMjavascript
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) ]() .AI Evy
10/20/2025, 6:36 PMAI Evy
10/20/2025, 6:36 PMsamira_04165
10/20/2025, 6:39 PMsamira_04165
10/20/2025, 6:39 PMAI Evy
10/20/2025, 6:39 PMAI Evy
10/20/2025, 6:40 PMcall_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.AI Evy
10/20/2025, 6:40 PMAI Evy
10/20/2025, 6:40 PMsamira_04165
10/22/2025, 3:22 PMAI Evy
10/22/2025, 3:22 PMAI Evy
10/22/2025, 3:23 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.retrieve('16b980523634a6dc504898cda492e939') ;AI Evy
10/22/2025, 3:23 PMAI Evy
10/22/2025, 3:23 PMAI Evy
10/22/2025, 3:23 PMsamira_04165
10/22/2025, 3:30 PMAI Evy
10/22/2025, 3:30 PMAI Evy
10/22/2025, 3:30 PMresponsiveness 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
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.AI Evy
10/22/2025, 3:30 PMAI Evy
10/22/2025, 3:30 PMsamira_04165
10/22/2025, 3:33 PMAI Evy
10/22/2025, 3:33 PMAI Evy
10/22/2025, 3:33 PMAI Evy
10/22/2025, 3:33 PMAI Evy
10/22/2025, 3:33 PMsamira_04165
10/22/2025, 3:38 PMAI Evy
10/22/2025, 3:39 PMAI Evy
10/22/2025, 3:39 PMnormalize_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/renamedAI Evy
10/22/2025, 3:39 PMAI Evy
10/22/2025, 3:39 PMAI Evy
10/22/2025, 3:39 PMsamira_04165
10/23/2025, 7:27 PMAI Evy
10/23/2025, 7:27 PMAI Evy
10/23/2025, 7:27 PMDetectMessageEnd 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 haAI Evy
10/23/2025, 7:27 PMAI Evy
10/23/2025, 7:28 PMAI Evy
10/23/2025, 7:28 PMsamira_04165
11/01/2025, 4:41 AMAI Evy
11/01/2025, 4:41 AMAI Evy
11/01/2025, 4:41 AMcall_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 numbeAI Evy
11/01/2025, 4:41 AMPOST 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 :AI Evy
11/01/2025, 4:41 AMjson
{
"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) ]() .AI Evy
11/01/2025, 4:41 AMAI Evy
11/01/2025, 4:41 AMsamira_04165
11/01/2025, 4:45 AMAI Evy
11/01/2025, 4:45 AMAI Evy
11/01/2025, 4:46 AMinbound_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 :
json
{
"event": "call_inbound",
"call_inbound": {
"agent_id": "agent_12345",
"from_number": "+12137771234",
"to_number": "+12137771235"
}
}AI Evy
11/01/2025, 4:46 AMcall_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 detailsAI Evy
11/01/2025, 4:46 AMAI Evy
11/01/2025, 4:46 AMsamira_04165
11/01/2025, 5:02 PMAI Evy
11/01/2025, 5:02 PMAI Evy
11/01/2025, 5:02 PMcall_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.AI Evy
11/01/2025, 5:02 PMcall_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:
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 200AI Evy
11/01/2025, 5:02 PMAI Evy
11/01/2025, 5:02 PMsamira_04165
11/01/2025, 5:21 PMAI Evy
11/01/2025, 5:21 PMAI Evy
11/01/2025, 5:21 PMcall_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) ](hAI Evy
11/01/2025, 5:21 PMcall_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) ]() .AI Evy
11/01/2025, 5:22 PMAI Evy
11/01/2025, 5:22 PMsamira_04165
11/01/2025, 5:22 PMAI Evy
11/01/2025, 5:22 PMAI Evy
11/01/2025, 5:22 PMPOST 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:
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 .AI Evy
11/01/2025, 5:33 PMAI Evy
11/01/2025, 5:33 PMsamira_04165
11/01/2025, 5:53 PMAI Evy
11/01/2025, 5:53 PMAI Evy
11/01/2025, 5:53 PMcall_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) ](AI Evy
11/01/2025, 5:53 PMcall_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 levelAI Evy
11/01/2025, 5:53 PMAI Evy
11/01/2025, 5:54 PMAI Evy
11/01/2025, 5:54 PMsamira_04165
11/01/2025, 6:00 PMAI Evy
11/01/2025, 6:00 PMAI Evy
11/01/2025, 6:01 PMcall_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 processinAI Evy
11/01/2025, 6:01 PMcall_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.AI Evy
11/01/2025, 6:01 PMAI Evy
11/01/2025, 6:01 PMsamira_04165
11/01/2025, 8:04 PMAI Evy
11/01/2025, 8:04 PMAI Evy
11/01/2025, 8:04 PMcall_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) ]() :
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": {}
}
}
}AI Evy
11/01/2025, 8:04 PMcall_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.
---AI Evy
11/01/2025, 8:04 PMAI Evy
11/01/2025, 8:04 PMsamira_04165
11/04/2025, 11:51 PMAI Evy
11/04/2025, 11:51 PMAI Evy
11/04/2025, 11:52 PMAI Evy
11/04/2025, 11:52 PMmarked_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) ]() .
---AI Evy
11/04/2025, 11:52 PMAI Evy
11/04/2025, 11:52 PMsamira_04165
11/04/2025, 11:55 PMAI Evy
11/04/2025, 11:55 PMAI Evy
11/04/2025, 11:55 PMAI Evy
11/04/2025, 11:55 PMAI Evy
11/04/2025, 11:56 PMAI Evy
11/04/2025, 11:56 PMsamira_04165
11/15/2025, 9:04 PMAI Evy
11/15/2025, 9:04 PMAI Evy
11/15/2025, 9:04 PMdisconnection_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`:
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;
}AI Evy
11/15/2025, 9:04 PMcall_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 .
---AI Evy
11/15/2025, 9:04 PMAI Evy
11/15/2025, 9:04 PMOmar Ashraf | Community Lead
11/16/2025, 4:44 PMsamira_04165
11/19/2025, 6:26 PMsamira_04165
11/19/2025, 6:27 PMAI Evy
11/19/2025, 6:27 PMAI Evy
11/19/2025, 6:27 PMretell_llm_dynamic_variables field of your API request, and all values must be strings [(1) ]() :
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:
"Hello {{user_name}}, I understand you're interested in {{product_name}}. How can I help you today?"AI Evy
11/19/2025, 6:27 PMAI Evy
11/19/2025, 6:28 PMAI Evy
11/19/2025, 6:28 PMsamira_04165
11/19/2025, 6:28 PMsamira_04165
11/19/2025, 6:28 PMAI Evy
11/19/2025, 6:28 PMAI Evy
11/19/2025, 6:29 PMIf {{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:
{{current_time_{{my_timezone}} }}AI Evy
11/19/2025, 6:29 PMAI Evy
11/19/2025, 6:29 PMAI Evy
11/19/2025, 6:29 PMsamira_04165
11/19/2025, 6:58 PMAI Evy
11/19/2025, 6:58 PMAI Evy
11/19/2025, 6:58 PMxml
<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 .
**AI Evy
11/19/2025, 6:58 PMAI Evy
11/19/2025, 6:58 PMsamira_04165
02/24/2026, 10:30 PMAI Evy
02/24/2026, 10:30 PMAI Evy
02/24/2026, 10:30 PMAI Evy
02/24/2026, 10:30 PMAI Evy
02/24/2026, 10:30 PMsamira_04165
02/24/2026, 10:32 PMsamira_04165
02/24/2026, 10:33 PMAI Evy
02/24/2026, 10:33 PMAI Evy
02/24/2026, 10:33 PMAI Evy
02/24/2026, 10:33 PMAI Evy
02/24/2026, 10:33 PM