https://retellai.com/?utm_source=discord&utm_medium=seo logo
how can I send texts messages from a voice agent
# ❓・ai-evy-support
f
@AI Evy how can I send texts messages from a voice agent
a
Thanks for tagging me @freddie017. I'll look through relevant sources and get back to you shortly.
### Answer You can send text messages from a voice agent using SMS nodes in Retell AI's Conversation Flow [(1) ]() . The SMS node sends a one-way SMS from the current agent number to the user's number and only works during phone calls . To add SMS functionality to your voice agent: 1. Open the Retell Agent Builder [(2) ]() 2. Insert a Send SMS node 3. Customize the message and include any variables 4. Test the agent to ensure calling and texting functionality works properly 5. Deploy your AI voice agent with new texting ability The SMS will be sent when entering the SMS node, and the agent will not speak while in this node [(1) ]() . You can write a prompt to let the agent infer the SMS content, or use static SMS content with dynamic variable support . Important requirements: - This only works for phone numbers that have SMS enabled - Currently only Retell Twilio numbers can enable SMS - SMS flows use the same phone number infrastructure as voice agents with no extra setup required [(2) ]() If you want to inform the user that you're sending an SMS, you can connect a conversation node (with
skip response
turned on) prior to the SMS node [(1) ]() .
​ To learn more, see the sources I considered: [[1] SMS Node](https://docs.retellai.com/build/conversation-flow/sms-node) [[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) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
f
Can this be in a single prompt agent
@AI Evy Can this be in a single prompt agent
a
Thanks for the follow-up, @freddie017. I'll get back to you soon.
### Answer Based on the available sources, SMS functionality specifically requires the use of SMS nodes, which are part of Retell AI's Conversation Flow system [(1) ]() . The documentation indicates that SMS nodes are action nodes that "Send SMS messages during the call" . The sources describe three different approaches for building agents [(2) ]() : 1. Single Prompt - utilizes one comprehensive prompt to define an agent's behavior, ideal for simple use cases 2. Multi-Prompt - combines several single prompt agents into a structured tree 3. Conversational Flow - provides a structured framework with nodes for more complex interactions However, the available sources don't explicitly state whether SMS functionality can be integrated into single prompt agents. The documentation focuses on SMS nodes as part of the conversation flow system [(1) ]() , which suggests that SMS capabilities may be limited to conversation flow agents rather than single prompt agents. I don't have definitive information in the available sources about SMS functionality in single prompt agents. You might want to check the specific SMS node documentation or contact support for clarification on whether SMS can be used outside of conversation flow agents.
​ To learn more, see the sources I considered: [[1] Node Overview](https://docs.retellai.com/build/conversation-flow/node) [[2] Retell AI’s Advanced Conversation Flow | Retell AI](https://www.retellai.com/blog/unlocking-complex-interactions-with-retell-ais-conversation-flow) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.