https://retellai.com/?utm_source=discord&utm_medium=seo logo
how can I send a text message
# ❓・ai-evy-support
s
@AI Evy how can I send a text message
a
Thanks for tagging me @steve_61645. I'll look through relevant sources and get back to you shortly.
### Answer There are several ways to send text messages with Retell AI depending on your use case: ## During Phone Calls **Send SMS Tool**: Use this to send one-way SMS from your agent number to the user's number during a phone call [(1) ]() . The agent will tell the user that an SMS is being sent when invoking this tool . You can write a prompt to let the agent infer the SMS content or use static SMS content with dynamic variable support . **SMS Node**: In Conversation Flow, you can add an SMS node that sends a one-way SMS from the current agent number to the user's number [(2) ]() . The SMS is sent when entering this node, and the agent doesn't speak while in this node . The node transitions to the next step once the SMS is successfully sent or fails to send . ## Standalone SMS Agents You can create fully automated SMS conversations with no voice required [(3) ]() . These agents can engage leads, deliver follow-ups, qualify users, and complete support flows entirely through text . They're built using the same Retell Agent Builder as voice agents . ## Requirements SMS functionality only works for phone numbers that have SMS enabled [(1) ]() [(2) ]() . Currently, only Retell Twilio numbers can enable SMS [(1) ]() [(2) ]() [(4) ]() . You'll need to go through the A2P registration process which includes getting approved for a business profile, brand registration, and SM
S campaign [(5) ]() . ## SMS Integration with Chat Retell also supports Twilio SMS integration for chat agents, allowing you to deploy chat agents to receive and respond to text messages [(6) ]() .
​ To learn more, see the sources I considered: [[1] Send SMS](https://docs.retellai.com/build/single-multi-prompt/send-sms) [[2] SMS Node](https://docs.retellai.com/build/conversation-flow/sms-node) [[3] 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) [[4] Phone number can send SMS](https://discord.com/channels/1186424376300679209/1387874084536193024) [[5] Enable SMS capabilities](https://docs.retellai.com/deploy/enable-sms) [[6] Create Chat Completion](https://docs.retellai.com/deploy/create-chat-completion) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy im having trouble getting the sms to send in the caonversation flow - what are the tricks. where does the text for the sms get put?
a
Thanks for the follow-up, @steve_61645. I'll get back to you soon.
### Answer For SMS in Conversation Flow, here's how to configure the SMS content: ## SMS Content Configuration The SMS text is configured directly within the SMS node [(1) ]() . You have two options for setting the SMS content : 1. **Dynamic SMS content**: Write a prompt to let the agent infer the SMS content 2. **Static SMS content**: Use fixed SMS content with dynamic variable support ## Key Requirements - SMS only works for phone numbers that have SMS enabled - Currently only Retell Twilio numbers can enable SMS - The SMS will be sent when entering the SMS node - The agent will not speak when in this node ## Common Setup Tips If you want to inform the user that you're sending an SMS, connect a conversation node with
skip response
turned on prior to the SMS node . This allows the agent to tell the user about the SMS before sending it. The node will transition to the next node once the SMS is successfully sent or fails to send, which should take less than 2 seconds . Make sure your phone number has SMS capabilities enabled through the A2P registration process before testing the SMS functionality.
​ To learn more, see the sources I considered: [[1] SMS Node](https://docs.retellai.com/build/conversation-flow/sms-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy what do you mean A2P registration?
a
Thanks for the follow-up, @steve_61645. I'll get back to you soon.
### Answer A2P stands for "Application to Person," which is a registration process required to send SMS messages from your Retell AI agent to users [(1) ](

▾

) [(2) ]() . ## What A2P Registration Includes The A2P registration process involves three main steps [(2) ]() : 1. **Business Profile**: You need to create and get approved for a business profile . This includes deciding whether you have an EIN (corporation) or need to select sole proprietorship [(1) ](

▾

) . You'll fill out business information including your business name, type, industry, and physical address . 2. **Brand Registration**: You select between two brand types [(2) ]() : - **Low-volume**: $4 one-time fee, send fewer than 6,000 message segments per day to the US - **Standard**: $45 one-time fee, SMS limit between 6,000 and 400,000 message segments per day to the US 3. **SMS Campaign**: You need to get approved for an SMS campaign where you fill out the use case and sample messages you intend to send . There are strict rules on SMS, and if your actual traffic doesn't match the sample messages, your number might be suspended . ## Why It's Required A2P registration is necessary because you're having an application (your Retell AI agent) communicate with people who have phone numbers [(1) ](

▾

) . This process ensures compliance with SMS regulations and prevents spam. ## Timeline and Important Notes The application can take a couple of weeks as it's a manual review process on the telephony provider side [(2) ]() . If rejected, you won't get a refund since the charge covers the manual review pro
cess .
​ To learn more, see the sources I considered: [[1] A2P Setup ultra guide | Enable SMS for Your Retell Agent](

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

) [[2] Enable SMS capabilities](https://docs.retellai.com/deploy/enable-sms) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy the chat agent is working but the text from the phone agent is not
a
Thanks for the follow-up, @steve_61645. I'll get back to you soon.
### Answer ### Answer If your chat agent is working but SMS from the phone agent isn't sending, here are the key troubleshooting steps: ## Phone Number SMS Status First, verify your phone number SMS status [(1) ]() . According to a similar case, the phone number for SMS needs to show "Enabled" rather than "Submitted for Processing" . SMS cannot be sent until this status changes to "Enabled" . The processing time can take 24 hours to 3-4 days, especially if there's a backlog on Twilio's end . ## SMS Node Configuration For Conversation Flow, the SMS node only works for phone numbers that have SMS enabled [(2) ]() . Currently only Retell Twilio numbers can enable SMS . The SMS will be sent when entering the SMS node, and the agent would not speak when in this node . The node transitions to the next step once the SMS is successfully sent or fails to send, which should take less than 2 seconds . ## Function Calling Issues Based on the Discord case, a common issue is that the SMS function isn't being called at all [(1) ]() . You need to ensure: 1. The SMS function is properly created and configured 2. Your agent prompt properly triggers the SMS function 3. Check if the function is actually being called in your test logs ## Testing Steps Test your SMS function execution by checking if the tool is being called in your agent logs . If the function isn't being invoked, the issue is with your function calling setup rather than SMS configuration . Since chat agents work differently from phone agents with SMS nodes, make sure you're using the correct SMS implementation for phone calls versus standalone chat functionality.
​ To learn more, see the sources I considered: [[1] sms not sending please help!](https://discord.com/channels/1186424376300679209/1387477994045571213) [[2] SMS Node](https://docs.retellai.com/build/conversation-flow/sms-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy so if the Chat agent is working - where do I need to check the sms enabled?
a
Thanks for the follow-up, @steve_61645. I'll get back to you soon.
### Answer --- For checking SMS status for your phone agent, you'll need to check your phone number's SMS configuration in the Retell AI dashboard [(1) ]() . Based on a similar case in the Discord community, the key is to verify that your phone number shows "Enabled" status rather than "Submitted for Processing" . SMS cannot be sent until the status changes from processing to "Enabled" . The processing time can vary from 24 hours to 3-4 days, especially if there's a backlog on Twilio's end . This is different from chat agents, which work independently of phone number SMS capabilities. Since your chat agent is working, that confirms your agent configuration is correct. The issue is specifically with the phone number's SMS enablement status for phone calls, which requires the A2P registration process to be completed and approved. Check your phone number settings in the Retell AI dashboard to see if the SMS status shows as "Enabled" - this is the critical difference between chat agents (which don't require phone number SMS) and phone agents sending SMS during calls.
​ To learn more, see the sources I considered: [[1] sms not sending please help!](https://discord.com/channels/1186424376300679209/1387477994045571213) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy so the A2P config - is that in twilio
a
Thanks for the follow-up, @steve_61645. I'll get back to you soon.
### Answer Based on the sources, yes, the A2P configuration is done in Twilio [(1) ](

▾

) . The A2P setup tutorial walks through the complete process using Twilio's console . For Retell AI users with Twilio phone numbers, you need to complete the A2P registration process in your Twilio account . This includes: 1. Business Profile Setup - Done in Twilio Console where you enter your website, physical address, and business representative information [(2) ](

▾

) 2. Brand Registration - Choose between low volume (fewer than 6,000 message segments per day) or standard volume (6,000-400,000 per day) 3. Campaign Creation - Configure your SMS campaign with proper use case selection and sample messages [(1) ](

▾

) The tutorial specifically shows navigating through Twilio's A2P 10DLC section to complete these steps . Once approved in Twilio, the SMS capabilities become available for your Retell AI phone numbers . Even for toll-free numbers, you may need to link them to an A2P campaign in Twilio Console → Messaging → A2P 10DLC [(3) ]() . Additionally, toll-free numbers need to be added to a Twilio Messaging Service in the Senders tab . The approval process happens on Twilio's side and can take 24-48 hours to propagate to Retell's system .
​ To learn more, see the sources I considered: [[1] A2P Setup ultra guide | Enable SMS for Your Retell Agent](

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

) [[2] A2P Setup ultra guide | Enable SMS for Your Retell Agent](

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

) [[3] Phone number can send SMS](https://discord.com/channels/1186424376300679209/1387874084536193024) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy why is this failing to deploy agent
a
Thanks for the follow-up, @steve_61645. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Setup versioning for agents](https://docs.retellai.com/agent/version) ​
### Answer I don't have specific information about deployment failures in the available sources. The documentation covers the general deployment process where you click the "Deployment" button in the upper right corner of the agent page to create a new version [(1) ]() , but doesn't detail specific failure scenarios. To help troubleshoot your deployment issue, I'd need more details about: - What error message you're seeing - At which step the deployment is failing - Whether this is your first deployment or an update to an existing agent For deployment support, you can: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead, or can you provide more details about the specific error you're encountering?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy I am publishing a agent - that i have updated many times. Now it is saying "Failed to deploy agent"
a
Thanks for the follow-up, @steve_61645. I'll get back to you soon.
s
@AI Evy when i opent he agent it says cant adjust published agent
a
Thanks for the follow-up, @steve_61645. I'll get back to you soon.
### Answer Based on the sources, this appears to be a known issue that has affected other users. According to a Discord report, another user experienced the exact same error message "Failed to deploy agent" when trying to update agent versions associated with inbound phone numbers [(1) ]() . This affected multiple numbers (5) that were tested . The user also reported that using the "publish" button on an agent and then selecting an inbound phone number did not yield any error, but did not update the agent version either . ## Potential Solutions The same user found that retrying the exact same operation worked after the initial failure . This suggests the issue may be temporary or intermittent. ## API Alternative If the web interface continues to fail, you can try updating the agent via the API using the Update Agent endpoint [(2) ]() . Here's the JavaScript example from the documentation:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.update('16b980523634a6dc504898cda492e939', { agent_name: 'Jarvis' }) ;
console.log(agentResponse.agent_id) ;
## Recommendations 1. Retry the deployment - The previous case was resolved by simply retrying the same operation [(1) ]() 2. Try the API approach if the web interface continues to fail 3. Check if this is affecting multiple agents or just the specific one you're trying to deploy If the issue persists, you can: - Visit [Contact Sales]() - Visit [)
​ To learn more, see the sources I considered: [[1] Setup versioning for agents](https://docs.retellai.com/agent/version) [[2] is_published" property of agents is not updating via "update agent " Api](https://discord.com/channels/1186424376300679209/1384428840247361587) ​
### Answer ### Answer The message "can't adjust published agent" is expected behavior in Retell AI's versioning system [(1) ]() . Once a version is published, the agent configuration for that version cannot be changed [(1) ]() [(2) ]() . ## Why This Happens Published versions cannot be changed [(1) ]() . Only the latest version can be changed . This is by design to ensure: 1. **Lock in configuration**: published versions cannot be changed, and you can specify a particular version to use for a phone number to lock in the agent configuration 2. **Version control & history**: you can create a draft version from past versions, and modify it ## How to Continue Editing To make changes to a published agent: 1. **Create a draft version from the published version**: You can view old versions by clicking on the Clock icon in the upper right corner of the agent page 2. **Create a new draft**: Once you click on a version, you can create a draft version from it and modify that draft 3. **Publish the new version**: After making your changes to the draft, you can deploy it using the "Deployment" button The version number is a monotonically increasing integer, so your new deployment will get the next version number . This system tracks your version history, so you can see the changes you made to the agent, and revert to a previous version if needed .
​ To learn more, see the sources I considered: [[1] Cannot deploy new agent version though web interface / API](https://discord.com/channels/1186424376300679209/1369013503154847889) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy so the voice agent is trying to send a text message. I have text messaging set up on a sepearate phone number - why isnt it working?
a
Thanks for the follow-up, @steve_61645. I'll get back to you soon.
### Answer [(1) ]() ### Answer The issue is that SMS functionality in Retell AI works differently than having separate phone numbers for different purposes. The SMS must be sent from the same phone number that the voice agent is using for the call . ## How SMS Works in Voice Calls The SMS node sends a one-way SMS from the current agent number to the user's number . This means: - The SMS is sent from the same phone number handling the voice call - You cannot use a separate phone number for SMS during a voice call - The SMS functionality is tied to the specific phone number the agent is calling from ## Requirements for SMS During Calls For SMS to work during voice calls : 1. **Same phone number**: The phone number handling the voice call must have SMS enabled 2. **SMS enabled status**: Currently only Retell Twilio numbers can enable SMS 3. **A2P registration**: The voice agent's phone number needs to complete the A2P registration process [(2) ](

▾

) ## Configuration Issue If you have SMS set up on a separate phone number, that won't help the voice agent send texts during calls. The voice agent can only send SMS from its own phone number [(1) ]() . ## Solution You need to enable SMS on the same phone number your voice agent uses by: 1. Completing A2P registration for the voice agent's phone number in Twilio [(2) ](

▾

) 2. Ensuring that specific phone number shows "Enabled" status for SMS 3. Configuring the SMS node to use that same number The SMS will be sent when entering the SMS node, and the agent will not speak when in this node [(1) ]() .
​ To learn more, see the sources I considered: [[1] SMS Node](https://docs.retellai.com/build/conversation-flow/sms-node) [[2] A2P Setup ultra guide | Enable SMS for Your Retell Agent](

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

) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy how do i post a html link into a chat so you can lick on it?
a
Thanks for the follow-up, @steve_61645. I'll get back to you soon.
s
@AI Evy click on it
a
Thanks for the follow-up, @steve_61645. I'll get back to you soon.
### Answer I don't have specific information about HTML link formatting for Retell AI chat agents in the available sources. The documentation covers creating chat sessions [(1) ]() , generating responses [(2) ]() , and retrieving chat details [(3) ]() , but doesn't include details about HTML formatting or clickable links in chat responses. Based on a Discord discussion, there are formatting challenges with chat agents where HTML tags like
<br>
are printed literally rather than being interpreted [(4) ]() . A Retell support member suggested checking the raw payload using the get-chat API endpoint to inspect the actual message content . For specific HTML link formatting support in chat responses, you can: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Create Chat](https://docs.retellai.com/api-references/create-chat) [[2] Create Chat Completion](https://docs.retellai.com/deploy/create-chat-completion) [[3] Get Chat](https://docs.retellai.com/api-references/get-chat) [[4] Chat Agent : Formatting Issue: Agent Not Creating Vertical Lists / Line Breaks in Responses](https://discord.com/channels/1186424376300679209/1389801568467157042) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer Based on the Discord discussion in the sources, HTML formatting in chat responses appears to be a known issue [(1) ]() . According to a user's question, the chat responds with markup inside the chat rather than properly formatted HTML . For clickable links in chat, the sources don't provide specific documentation on HTML link formatting for Retell AI chat responses. The available sources focus on API endpoints for chat completion [(2) ]() and retrieving chat data [(3) ]() , but don't cover HTML rendering capabilities within the chat interface. For chat widget customization, you can use embed attributes like this [(1) ]() :
Copy code
html
<script
  id="retell-widget"
  src="<https://dashboard.retellai.com/retell-widget.js%22>
  type="module"
  data-public-key="YOUR_RETELL_PUBLIC_KEY"
  data-agent-id="YOUR_AGENT_ID"
  data-agent-version="0"
  data-title="Chat with us"
  data-logo-url="<https://example.com/your-logo.png%22>
  data-color="#336699"
>
</script>
However, the specific question about HTML link formatting in chat responses isn't directly addressed in the available sources. For more detailed information about HTML formatting in chat responses, you can: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Chat Widget Questions](https://discord.com/channels/1186424376300679209/1398310163122749510) [[2] Create Chat Completion](https://docs.retellai.com/api-references/create-chat-completion) [[3] Get Chat](https://docs.retellai.com/api-references/get-chat) ​