https://retellai.com/?utm_source=discord&utm_medium=seo logo
We’re currently integrating Retell AI with our wor...
# ❓・ai-evy-support
j
@AI Evy We’re currently integrating Retell AI with our workflow (GHL → n8n → Retell) to trigger outbound calls. At this point, we’re able to successfully pass data from GHL to n8n, and the HTTP request from n8n to Retell shows no errors. However, when attempting to make a POST request to the Retell AI URL for outbound calling, n8n cannot seem to locate or recognize the resource at the provided URL. Because of this, the outbound call does not get triggered, even though the request itself has no error logs. We’d appreciate any guidance to resolve this so that our workflow can successfully trigger outbound calls once the request runs.
a
Thanks for tagging me @jerahfel_19140. I'll look through relevant sources and get back to you shortly.
### Answer To trigger outbound calls with Retell AI via HTTP POST, you must use the correct API endpoint and payload as defined in the official documentation. The endpoint for registering (triggering) an outbound phone call is:
Copy code
POST <https://api.retellai.com/v2/register-phone-call>
Your request must include all required fields, especially agent_id, and optionally fields like from_number, to_number, and direction ("outbound" for outbound calls) . The API key must be sent in the Authorization header as Bearer YOUR_API_KEY [(1) ]() . Example payload:
Copy code
json
{
  "agent_id": "YOUR_AGENT_ID",
  "from_number": "+14157774444",
  "to_number": "+12137774445",
  "direction": "outbound"
}
Make sure your HTTP request from n8n matches this structure and that the endpoint URL is exactly as above. Double-check that there are no typos in the URL and that the API key is valid . If n8n reports the resource is not found, verify: - The endpoint URL is (no extra spaces, correct spelling, and /v2/ path) . - The HTTP method is POST. - The Content-Type is set to application/json. - The Authorization header is present and correct. If your request has no error logs but the call is not triggered, ensure that all required payload fields are included and the agent_id is valid. Also, see this related discussion: [HTTP Request not working]() [(2) ]() . For more information, review the official documentation: [Register Phone Call]() [(1) ]() .
​ To learn more, see the sources I considered: [[1] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[2] HTTP Request not working](https://discord.com/channels/1186424376300679209/1388709938179608656) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy it's still not working
a
Thanks for the follow-up, @jerahfel_19140. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) ​
### Answer If outbound calls are still not working, here are the most relevant troubleshooting steps based on the official Retell AI documentation: 1. Double-check that the endpoint URL is exactly and that you are using the POST method, not GET or another verb [(1) ]() . 2. Ensure your payload includes at least agent_id and direction set to "outbound". Including from_number and to_number is also recommended . 3. The Authorization header must be present and formatted as Bearer YOUR_API_KEY. Content-Type must be application/json . 4. Make sure your agent_id is valid and corresponds to an existing, published agent . 5. If you receive a 4xx or 5xx error code in the response, check the error message for clues. The API will return 400 for bad input, 401 for invalid API key, and 422 for malformed payloads . Example request:
Copy code
json
{
  "agent_id": "YOUR_AGENT_ID",
  "from_number": "+14157774444",
  "to_number": "+12137774445",
  "direction": "outbound"
}
If you are not getting any error in n8n but the call is not triggered, verify that your agent_id and phone numbers are correct and in E.164 format (e.g., +14157774444) . Also, check your Retell AI dashboard for any call logs or errors associated with your API requests. If you are still stuck, please share the exact HTTP response code and body you are receiving from the API (redact sensitive info) . This will help narrow down whether it is an authentication, payload, or agent configuration issue. For further details, see: [Register Phone Call]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
https://api.retellai.com/v2/create-phone-call - i used this URL instead and it's not giving any error in my http request in n8n, however the call is still not triggered @User
a
Thanks for the follow-up, @jerahfel_19140. I'll get back to you soon.
j
@AI Evy https://api.retellai.com/v2/create-phone-call - i used this URL instead and it's not giving any error in my http request in n8n, however the call is still not triggered
a
### Answer The endpoint is documented as the correct URL for making outbound phone calls with Retell AI [(1) ]() . Your payload should include at least from_number and to_number, and the Authorization header must be set with your API key. Example in JavaScript:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.createPhoneCall({
 from_number: '+14157774444',
 to_number: '+12137774445',
}) ;
console.log(phoneCallResponse.agent_id) ;
If your HTTP request is not triggering a call and you receive no error, double-check: - The API key is valid and present in the Authorization header as Bearer YOUR_RETELL_API_KEY. - from_number and to_number are in E.164 format (e.g., +14157774444) . - The agent_id associated with the number is valid. - The phone number you are calling is active and configured in your Retell account. Also, review the API response body for any hidden error fields. If calls still do not trigger, check your Retell dashboard for call logs and errors, and verify the number is correctly set up under your API key [(2) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Thanks for the follow-up, @jerahfel_19140. I'll get back to you soon.
### Answer If you are seeing an error in the detail logs when triggering outbound calls with Retell AI, the official documentation and recent user reports indicate the following key points for troubleshooting: - The API endpoint for making outbound calls is either or depending on your integration flow [(1) ]() [(2) ]() . - Your POST request must include all required parameters, especially agent_id (or from_number and to_number for create-phone-call) , and the Authorization header must be Bearer YOUR_API_KEY . - If the detail logs are not showing complete information about failed function calls (such as missing payload or response data) , this is a limitation that has been observed by other users as well [(3) ]() . The logs may only indicate that a failure occurred, without further technical details on the failed function/tool call. - To further diagnose, check the call_id and match it with your request, ensure your agent is correctly configured and published, and verify your payload matches the documentation examples [(1) ]() [(2) ]() [(3) ]() . If you need more help, please provide the exact error message or screenshot from the detail logs, as well as your full payload (with sensitive info redacted) . This will help identify if it’s a configuration, payload, or agent issue. For more, see: - [Register Phone Call]() - [Create Phone Call](
ocs.retellai.com/api-references/create-phone-call) - [Detail Logs don't contain data for failed function calls]()
​ To learn more, see the sources I considered: [[1] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[2] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[3] Detail Logs don't contain data for failed function calls](https://discord.com/channels/1186424376300679209/1338529989204901951) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy can I use the same phone number my outbound call agent is using for an inbound call?
a
Thanks for the follow-up, @jerahfel_19140. I'll get back to you soon.
### Answer Yes, you can use the same phone number for both outbound and inbound calls with Retell AI [(1) ]() [(2) ]() [(3) ]() . The platform supports flexible agent assignment where you can configure both an inbound agent and an outbound agent for the same number [(2) ]() . When you retrieve phone number details, you'll see both
inbound_agent_id
and
outbound_agent_id
fields, which can be configured independently [(1) ]() :
Copy code
json
{
 "phone_number": "+14157774444",
 "inbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "outbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
}
The configuration options allow you to [(2) ]() : - Use different agents for inbound vs outbound calls - Configure outbound only by leaving inbound agent unset - Configure inbound only by setting only the inbound agent Using the same number for both directions won't block the line, as VoIP numbers support multiple concurrent calls [(3) ]() . An inbound caller won't encounter a busy signal just because an agent is making an outbound call from the same number .
​ To learn more, see the sources I considered: [[1] Get Phone Number](https://docs.retellai.com/api-references/get-phone-number) [[2] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[3] Discord message from @tacitus_16379 on 2025-09-26](https://discord.com/channels/1186424376300679209/1294891368505937952/1421013991177584683) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy “I have an outbound call agent that dials client numbers. If a client misses the call and then calls back the same number used by the outbound agent, where can I view the incoming call log for that callback? I need to know: - Where the callback is logged (e.g., call logs, inbox, contact record) - How to handle or route the incoming call properly - Whether the system links the callback to the original outbound attempt Please guide me through the steps or settings needed to manage this scenario
a
Thanks for the follow-up, @jerahfel_19140. I'll get back to you soon.
### Answer Based on the Retell AI documentation, here's how to handle callback scenarios for your outbound call agent: ## Call Logging and Monitoring You can view incoming call logs through two main methods [(1) ]() : 1. API Polling Use the Get Call API to retrieve call details including : - Full transcript - Call recording - Latency metrics - Function call logs - Call duration and status 2. Real-time Webhooks Set up webhooks to receive instant notifications for : - **Call Started**: When the call connects - **Call Ended**: Final status and duration - **Call Analyzed**: Transcript and analysis ready - **Call Failed**: Error details and reasons ## Handling Incoming Calls For your phone number to properly handle callbacks, you need to configure an inbound agent . The system supports flexible agent assignment where you can : - Use different agents for inbound vs outbound calls - Configure outbound only by leaving inbound agent unset - Configure inbound only by setting only the inbound agent After binding an inbound agent, your number is immediately ready to receive calls . ## Call Linking and Data Storage The system stores call data based on your data storage settings [(2) ]() . By default, Retell stores : - Call logs - Transcriptions - Call recordings - Caller id for inbound calls - Callee id for outbound calls - Dynamic variables - Metadata However, the documentation doesn't explicitly mention automatic linking between original outbound attempts and subsequent inbound callbacks. Each call appears to be tracked independently with its own call_id [(3) ]() . ## Configuration Steps To properly handle callbacks: 1. Ensure your phone number has both inbound and outbound agents
configured [(4) ]() 2. Set up webhooks for real-time call notifications [(1) ]() 3. Use the metadata field to store custom tracking information [(3) ]() that could help you correlate calls manually 4. Configure your data storage settings to capture the information you need [(2) ]() The webhooks provide real-time updates without polling, making them ideal for production systems to track both outbound attempts and inbound callbacks [(1) ]() .
​ To learn more, see the sources I considered: [[1] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[2] Data Storage Settings - Retell AI](https://docs.retellai.com/accounts/privacy-disable) [[3] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[4] Get Phone Number](https://docs.retellai.com/api-references/get-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @jerahfel_19140. I'll get back to you soon.
j
@AI Evy can I use the same phone number I used for outbound call to receive incoming calls as well?
a
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer Yes, you can use the same phone number for both outbound and inbound calls with Retell AI [(1) ]() . The platform supports configuring both an
inbound_agent_id
and
outbound_agent_id
for the same phone number . When you retrieve phone number details, you'll see both fields that can be configured independently :
Copy code
json
{
 "phone_number": "+14157774444",
 "phone_number_type": "retell-twilio",
 "phone_number_pretty": "+1 (415) 777-4444",
 "inbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "outbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "inbound_agent_version": 1,
 "outbound_agent_version": 1,
 "area_code": 415,
 "nickname": "Frontdesk Number",
 "inbound_webhook_url": "<https://example.com/inbound-webhook%22,>
 "last_modification_timestamp": 1703413636133
}
The system allows you to : - Use the same agent for both inbound and outbound calls - Use different agents for inbound vs outbound calls - Configure outbound only by setting
inbound_agent_id
to null - Configure inbound only by setting
outbound_agent_id
to null If you need to use different agents for the same inbound number based on conditions, you can also use the inbound webhook feature to dynamically route calls [(2) ]() .
​ To learn more, see the sources I considered: [[1] Get Phone Number](https://docs.retellai.com/api-references/get-phone-number) [[2] multiple agent for same inbound number](https://discord.com/channels/1186424376300679209/1422923667821826058) ​
j
@AI Evy how can I use the same agent for both inbound and outbound calls?
a
Thanks for the follow-up, @jerahfel_19140. I'll get back to you soon.
### Answer To use the same agent for both inbound and outbound calls, you can configure your phone number with the same agent ID for both the
inbound_agent_id
and
outbound_agent_id
fields [(1) ]() [(2) ]() . When creating a phone number, you can set both agent IDs to the same value [(3) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.create() ;
console.log(phoneNumberResponse.inbound_agent_id) ;
When updating an existing phone number, you can use the same agent ID for both directions [(1) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.update('+14157774444', {
 inbound_agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
 nickname: 'Frontdesk Number',
 outbound_agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
}) ;
console.log(phoneNumberResponse.inbound_agent_id) ;
The phone number configuration will show both agent IDs set to the same value [(2) ]() :
Copy code
json
{
 "phone_number": "+14157774444",
 "phone_number_type": "retell-twilio",
 "phone_number_pretty": "+1 (415) 777-4444",
 "inbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "outbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "inbound_agent_version": 1,
 "outbound_agent_version": 1,
 "area_code": 415,
 "nickname": "Frontdesk Number",
 "inbound_webhook_url": "<https://example.com/inbound-webhook%22,>
 "last_modification_timestamp": 1703413636133
}
This configuration allows the same agent to handle both incoming calls to that number and outgoing calls made from that number [(1) ]() [(2) ]() .
​ To learn more, see the sources I considered: [[1] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) [[2] Get Phone Number](https://docs.retellai.com/api-references/get-phone-number) [[3] Create Phone Number](https://docs.retellai.com/api-references/create-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy phone number is from twilio
a
Thanks for the follow-up, @jerahfel_19140. I'll get back to you soon.
### Answer Based on your conversation history, you can absolutely use the same Twilio phone number for both inbound and outbound calls with Retell AI [(1) ]() [(2) ]() . Since you mentioned your phone number is from Twilio, you have a few options: ## Option 1: Use Retell-Managed Twilio Number If you purchased your Twilio number through Retell AI, you can configure it with the same agent ID for both directions :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.create() ;
console.log(phoneNumberResponse.inbound_agent_id) ;
[(2) ]() ## Option 2: Import Your Existing Twilio Number If you already have a Twilio number with your own account, you can import it to Retell using SIP trunking [(3) ]() [(4) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.import({
 phone_number: '+14157774444',
 termination_uri: 'someuri.pstn.twilio.com',
}) ;
console.log(phoneNumberResponse.inbound_agent_id) ;
[(3) ]() ## Configuration Result Once configured, your phone number will show both agent IDs set to the same value [(1) ]() :
Copy code
json
{
 "phone_number": "+14157774444",
 "phone_number_type": "retell-twilio",
 "phone_number_pretty": "+1 (415) 777-4444",
 "inbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "outbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "inbound_agent_version": 1,
 "outbound_agent_version": 1,
 "area_code": 415,
 "nickname": "Frontdesk Number",
 "inbound_webhook_url": "<https://example.com/inbound-webhook%22,>
 "last_modification_timestamp": 1703413636133
}
If you need to set up SIP trunking with your existing Twilio account, follow the detailed steps in the Twilio integration guide [(4) ]() .
​ To learn more, see the sources I considered: [[1] Get Phone Number](https://docs.retellai.com/api-references/get-phone-number) [[2] Create Phone Number](https://docs.retellai.com/api-references/create-phone-number) [[3] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[4] Twilio](https://docs.retellai.com/deploy/twilio) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy how can I get the data from outbound ai agent in retell and use it in inbound agent via function
a
Thanks for the follow-up, @jerahfel_19140. I'll get back to you soon.
n integration patterns if the documentation doesn't fully address your specific use case?
​ To learn more, see the sources I considered: [[1] Function Calling Overview](https://docs.retellai.com/build/single-multi-prompt/function-calling) ​
### Answer Based on the available sources, I can provide guidance on using functions to share data between outbound and inbound agents, though the sources don't explicitly detail data transfer between different agent types. You can use custom functions to integrate with external systems and store/retrieve data [(1) ]() . Custom functions allow you to: - **Integrate with your APIs**: Connect to CRM, ERP, or custom systems - **Execute business logic**: Validate data, calculate prices, check inventory - **Trigger workflows**: Start processes in other systems Custom functions support flexible parameters and can define any input structure . They also support async execution to run in background without blocking conversation . For your specific scenario, you could: 1. **In your outbound agent**: Use a custom function to store collected data in your external database/CRM when the call completes 2. **In your inbound agent**: Use another custom function to retrieve the previously stored data based on the caller's phone number or other identifier The function calling system supports response control to customize what the agent says during/after execution . You can also use dynamic variables to inject call-specific data into prompts and responses. However, the sources don't provide specific implementation details for data transfer between different agent instances. For more detailed guidance on implementing this workflow, I'd recommend checking: - [Function Calling Overview]() - [Community Templates]() for real-world function examples Would you like me to provide a general approach based on commo
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @jerahfel_19140. I'll get back to you soon.
j
@AI Evy Do you support CNAM registration for displayed names?
a
### Answer ### Answer Yes, Retell AI supports CNAM (Caller ID Name) registration through their branded caller ID features [(1) ]() . However, CNAM registration is primarily available for U.S. numbers . ## How to Set Up CNAM Before applying for branded caller ID services, you must first create and verify your business profile [(2) ]() . The business profile setup requires : - **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 Once your business profile is verified, you can proceed with applying for branded caller ID services . ## Important Regional Limitations CNAM display is not available in all countries [(3) ]() . Specifically: - CNAM registration works in the United States - UK and most other countries do not support CNAM display - The feature is "very much a localized feature - as most countries don't support it" If the CNAM data was populated at origin and your mobile carrier supports CNAM display, recipients will see your business name instead of just the phone number . For U.S.-based operations, setting up CNAM through Retell AI's business profile and branded caller ID features will help increase your call pickup rates and establish trust with recipients [(1) ]() . **
​ To learn more, see the sources I considered: [[1] 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) [[2] Add a business profile](https://docs.retellai.com/build/telephony/business-profile) [[3] Setting up Caller ID via Twilio](https://discord.com/channels/1186424376300679209/1358724552397553771) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.