https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> explain how the "send_sms" ...
# ❓・ai-evy-support
m
@AI Evy explain how the "send_sms" function works
a
Thanks for tagging me @malus_aiiola. I'll look through relevant sources and get back to you shortly.
### Answer The send SMS function in Retell AI allows your voice agent to send one-way text messages during phone calls [(1) ]() . This tool only works for phone numbers that have SMS enabled, and currently only Retell Twilio numbers can enable SMS [(1) ]() [(2) ]() . ## How It Works The send SMS function operates as a tool that can be integrated into your voice agent workflows [(1) ]() . When the agent invokes this tool, it tells the user that the SMS is being sent . For conversation flows, you can use an SMS Node which sends the SMS when entering that node, and the agent doesn't speak during this process [(2) ]() . The node transitions to the next step once the SMS is successfully sent or fails to send, typically taking less than 2 seconds . ## Configuration Options You can configure SMS content in two ways [(1) ]() [(2) ]() : - Write a prompt to let the agent infer the SMS content dynamically - Use static SMS content with dynamic variable support ## Implementation Methods Retell AI offers multiple ways to implement SMS functionality [(3) ]() : 1. SMS nodes within voice flows - Send texts during or after calls 2. Standalone SMS agents - Create fully automated text-based conversations 3. Function calling integration - Use custom functions for SMS sending The SMS functionality uses your existing voice number infrastructure with no additional SMS provider setup re
quired .
​ 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) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
in the single prompt agent, I don't see where to add the receiving number for that "send_sms" function, and also which message to send
@AI Evy in the single prompt agent, I don't see where to add the receiving number for that "send_sms" function, and also which message to send
a
Thanks for the follow-up, @malus_aiiola. I'll get back to you soon.
### Answer For the send SMS function in single prompt agents, the receiving number is automatically set to the user's phone number that's currently on the call [(1) ]() . The SMS is sent "from the current agent number to the user's number" . For the message content, you have two configuration options : 1. **Dynamic content**: Write a prompt to let the agent infer the SMS content based on the conversation 2. **Static content**: Use predefined SMS content with dynamic variable support The SMS content configuration is handled within the function calling setup, where you can specify how the agent should determine what message to send . The agent will automatically tell the user that the SMS is being sent when invoking this tool . The function only works for phone numbers that have SMS enabled, and currently only Retell Twilio numbers support SMS functionality .
​ To learn more, see the sources I considered: [[1] Send SMS](https://docs.retellai.com/build/single-multi-prompt/send-sms) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.