https://retellai.com/?utm_source=discord&utm_medium=seo logo
Retell is able to handle SMS as well as call, corr...
# ❓・ai-evy-support
j
@AI Evy Retell is able to handle SMS as well as call, correct?
a
Thanks for tagging me @joshua_61313. I'll look through relevant sources and get back to you shortly.
### Answer Yes, that's correct. Retell AI can handle both voice calls and SMS [(1) ]() [(2) ]() . You can send SMS messages in two ways [(2) ]() : 1. During voice calls - Use SMS nodes in your conversation flow to send one-way text messages while on a call [(3) ]() [(2) ]() 2. Standalone SMS conversations - Create dedicated SMS/chat agents that conduct fully automated text-based conversations without voice [(4) ]() [(2) ]() SMS capabilities are available for Retell Twilio numbers and your own Twilio numbers [(1) ]() . Current SMS capabilities are limited to US numbers only .
​ To learn more, see the sources I considered: [[1] Send & receive SMS](https://docs.retellai.com/deploy/enable-sms) [[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] SMS Node](https://docs.retellai.com/build/conversation-flow/sms-node) [[4] Create Outbound SMS](https://docs.retellai.com/api-references/create-sms-chat) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy am I able to have multiple webhook urls in a single agent?
a
Thanks for the follow-up, @joshua_61313. I'll get back to you soon.
### Answer No, a single agent only supports one
webhook_url
field. [(1) ]() [(2) ]() The
webhook_url
parameter is a single string value (or
null
to remove it) , not an array. If set, it binds webhook events for that agent to the specified URL and ignores the account-level webhook for that agent. Workaround options: 1. Use dynamic variables – You can set your webhook URL as a dynamic variable like
{{base_url}}
and configure it in Global Settings → Security and Fallback Settings under "Dynamic Variables." This lets you change the URL in one place. [(3) ]() 2. Build a webhook relay – Create a single endpoint that receives Retell webhooks and forwards them to multiple destinations on your end.
​ To learn more, see the sources I considered: [[1] Create Voice Agent](https://docs.retellai.com/api-references/create-agent) [[2] Update Voice Agent](https://docs.retellai.com/api-references/update-agent) [[3] Update all webhook URLs in one go](https://discord.com/channels/1186424376300679209/1436426023758725140) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
What about API endpoint urls? Does that mean my agent won't work with multiple custom functions in it?
a
Thanks for the follow-up, @joshua_61313. I'll get back to you soon.
j
@AI Evy What about API endpoint urls? Does that mean my agent won't work with multiple custom functions in it?
a
### Answer ### Answer Your agent can work with multiple custom functions, each with its own endpoint URL. [(1) ]() [(2) ]() Custom functions are separate from the single webhook URL. Each custom function you create has its own configuration including: - A unique name (e.g.,
get_user_details
) - Its own endpoint URL where Retell sends the request - Its own HTTP method (GET, POST, PATCH, PUT, DELETE) - Optional headers and query parameters - Its own parameter schema So you can add multiple custom functions to a single agent, and each one can point to a different API endpoint. [(2) ]() [(3) ]() For example, you could have: -
check_weather
→ ` -
book_appointment
→ ` -
get_user_details
→ ` The LLM decides which function to call based on the conversation context, and Retell sends the request to that function's specific endpoint. [(3) ]()
​ To learn more, see the sources I considered: [[1] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) [[2] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) [[3] Function Calling Overview](https://docs.retellai.com/build/single-multi-prompt/function-calling) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy explain how to use SMS with retell. Do I need to build an n8n workflow to do this?
a
Thanks for the follow-up, @joshua_61313. I'll get back to you soon.
### Answer No, you don't need n8n to use SMS with Retell. SMS functionality is built directly into the platform. [(1) ]() [(2) ]() How to Use SMS with Retell: Step 1: Enable SMS Capabilities [(1) ]() You have two options: - Option 1: Retell Twilio Numbers – Requires approval through a multi-step application process (business profile, brand approval, SMS campaign approval) . This can take 2-3 weeks. - Option 2: Bring Your Own Twilio Number – If you already have a Twilio number with SMS enabled, navigate to your phone number settings in the Retell dashboard, click "Setup SMS Function" under Advanced Add-Ons, and provide your Twilio Account SID and Auth Token. Step 2: Send SMS Once SMS is enabled, you can send messages in two ways: 1. During voice calls – Add an SMS node in your Conversation Flow or use it within Single/Multi Prompt. [(1) ]() [(3) ]() 2. Two-way SMS conversations – Attach chat agents to your number for inbound SMS handling. For outbound SMS, use the "Make an outbound SMS" button in the dashboard or the Create Outbound SMS API. [(1) ]() Important: Current SMS capabilities are limited to US numbers only. [(1) ]() [(11) ]()
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] Send & receive SMS](https://docs.retellai.com/deploy/enable-sms) [[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] Pricing Changes, Latency Improvements, One-Time SMS, and More](https://www.retellai.com/changelog/pricing-changes-latency-improvements-one-time-sms-and-more) ​
j
@AI Evy Why will custom functions not allow me to paste JSON parameters? Every time I paste them and press update, it shows them as non-existent
a
Thanks for the follow-up, @joshua_61313. I'll get back to you soon.
### Answer This issue is typically caused by invalid JSON schema format. The most common mistake is not adding
"type": "object"
to the top level
of your JSON schema. [(1) ]() Correct format example:
Copy code
json
{
  "type": "object",
  "required": [
    "order_id"
  ],
  "properties": {
    "order_id": {
      "type": "number",
      "const": 1234
    }
  }
}
[(2) ]() , [(1) ]() Common mistakes to avoid: 1. Don't include meta-schema fields like
$schema
,
title
at the root level—model your parameters off OpenAI's function calling format only. [(3) ]() 2. **Known issue with updates**: Some users have reported that updating an existing custom function (changing URL or parameter names) can cause the function to stop receiving arguments properly, showing
{}
instead of the expected payload. Creating a new function from scratch has resolved this for some users. [(4) ]() Troubleshooting tip from the docs: If you fail to save the custom function, click one of the provided examples in the dashboard and update accordingly. [(1) ]() If the issue persists after verifying your schema format, try creating a brand new custom function rather than updating an existing one.
​ To learn more, see the sources I considered: [[1] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) [[2] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) [[3] custom function Error with VALID JSON Schema](https://discord.com/channels/1186424376300679209/1310169696582111274) [[4] Custom function using JSON Form with args only have empty body {}](https://discord.com/channels/1186424376300679209/1432363179182395493) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy is the Chat Agent the correct agent to use for inbound SMS?
a
Thanks for the follow-up, @joshua_61313. I'll get back to you soon.
### Answer Yes, the Chat Agent is used for SMS conversations. [(1) ]() The Chat Agent configuration includes settings relevant to text-based interactions such as
auto_close_message
,
end_chat_after_silence_ms
, and
post_chat_analysis_data
. For inbound SMS specifically, you would attach a chat agent to your phone number. The inbound webhook can notify you when an inbound SMS is received, allowing you to override the agent id, set dynamic variables, and process the SMS accordingly. [(2) ]() The inbound webhook payload for SMS includes the
from_number
and
to_number
fields to help identify the sender and receiver. For outbound SMS conversations, you use the Create Outbound SMS API endpoint which requires specifying
from_number
,
to_number
, and optionally
override_agent_id
to specify which chat agent handles the conversation. [(3) ]()
​ To learn more, see the sources I considered: [[1] Get Chat Agent](https://docs.retellai.com/api-references/get-chat-agent) [[2] Inbound webhook](https://docs.retellai.com/features/inbound-call-webhook) [[3] Create Outbound SMS](https://docs.retellai.com/api-references/create-sms-chat) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.