https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi — I’m facing an issue with sending outbound SM...
# ❓・ai-evy-support
m
Hi @AI Evy — I’m facing an issue with sending outbound SMS using my phone number imported from Twilio. I’ve tried creating an outbound chat both via the “Make an Outbound SMS” button on the RetellAI phone number page and via the Create Outbound SMS API. In both cases, the chat stays in “ongoing” status, but I never receive the SMS on my phone. The Twilio number is properly configured and A2P-registered. When I send SMS directly using Twilio’s API, the message is delivered to my phone successfully. Inbound messages work fine — when I text the number from my phone, the agent replies correctly. The issue only occurs with outbound SMS initiated from RetellAI.
a
Thanks for tagging me @musthafa1996. I'll look through relevant sources and get back to you shortly.
### Answer Based on your description, it sounds like you're experiencing a similar issue that was reported in the community. [(1) ]() For imported Twilio numbers, you need to complete the SMS integration setup by providing your Twilio credentials in the Retell dashboard. [(2) ]() Here's how: 1. Navigate to your phone number settings in the Retell dashboard and click on the "Setup SMS Function" button under Advanced Add-Ons. 2. Enter your Twilio Account SID and Twilio Auth Token (found in your Twilio Console under Account Info) . 3. Once verified, your Twilio number will be integrated with Retell's SMS capabilities. A community member reported that when using dynamic messages in their chat agent's welcome message, outbound SMS would stay "ongoing" but never send. [(1) ]() When they switched from a dynamic message to a custom message on the welcome message, it worked. However, they noted this meant they couldn't customize messages per recipient. After the Retell team investigated, the issue was resolved and dynamic messages started working again. Since your inbound SMS works fine, your Twilio integration is likely configured correctly. I'd recommend: - Verifying your Twilio credentials are properly set up in the Retell dashboard [(2) ]() - Checking if your chat agent's welcome message is set to dynamic or custom [(1) ]() - If the issue persists, reach out to Retell support as this may require backend investigation **
​ To learn more, see the sources I considered: [[1] Outbound SMS not sending](https://discord.com/channels/1186424376300679209/1440359450551521541) [[2] Send & receive SMS](https://docs.retellai.com/deploy/enable-sms) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @musthafa1996. I'll get back to you soon.
m
@AI Evy, I found that my agent was set to use dynamic messages in its welcome message. When I updated it to a static message, SMS started working.
a
### Answer Great to hear you found the solution! Switching from dynamic to static messages in the welcome message is a known workaround for outbound SMS issues [(1) ]() . For the Send SMS tool, you can configure SMS content in two ways [(2) ]() : - Write a prompt to let the agent infer the SMS content - Use static SMS content Dynamic variables are supported for static SMS content . This means you can still personalize messages using the
{{variable_name}}
syntax in your static SMS content while avoiding the dynamic message issue you encountered [(2) ]() [(3) ]() . If you need to customize messages per recipient in the future, you could try using static SMS content with dynamic variables passed through the
retell_llm_dynamic_variables
field when creating the outbound chat [(3) ]() . This approach combines the reliability of static messages with the flexibility of personalization.
​ To learn more, see the sources I considered: [[1] Dynamic being_message using dynamic variables](https://discord.com/channels/1186424376300679209/1369082153131839558) [[2] Send SMS](https://docs.retellai.com/build/single-multi-prompt/send-sms) [[3] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.