https://retellai.com/?utm_source=discord&utm_medium=seo logo
i'm using a conversation flow and i need to be abl...
# ❓・ai-evy-support
k
@AI Evy i'm using a conversation flow and i need to be able to send an SMS message to a number that's pulled from a custom webhook. I can get the flow to see the phone number being returned, but the send SMS node never sends the text message. there isn't a "to" number showing in the tool invocation. how can I fix this? https://cdn.discordapp.com/attachments/1302816169367044149/1409609587270746182/Screenshot_2025-08-25_at_1.45.08_PM.png?ex=68ae00ba&is=68acaf3a&hm=3db3887b832ed0558f4c151815faf61e520df97421f4a8a1b840d8054fcc67f9&
a
Thanks for tagging me @krame18. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available documentation, the SMS Node in Conversation Flow is designed to send SMS from the current agent number to the user's number [(1) ]() . The SMS Node only works for phone numbers that have SMS enabled, and currently only Retell Twilio numbers can enable SMS . However, the documentation doesn't provide specific instructions for configuring the SMS Node to send messages to custom phone numbers retrieved from webhooks or custom functions. The SMS Node documentation indicates that "SMS node is used to send an one way SMS from the current agent number to the user's number" and "It only works in phone call" , which suggests it may be designed primarily for sending SMS to the caller's number rather than arbitrary numbers. For your use case of sending SMS to a number pulled from a custom webhook, you might need to implement this functionality through a custom function instead. Custom functions allow you to extend your agent's capabilities by integrating external APIs and implementing custom logic [(2) ]() . You could create a custom function that: 1. Receives the phone number from your webhook 2. Uses an SMS API (like Twilio's SMS API) to send the message to that specific number This would give you more control over the SMS sending process and allow you to specify the recipient number dynamically. I don't have specific documentation on configuring the SMS Node's recipient number or troubleshooting the "to" number issue you're experiencing. For detailed guidance on this specific implementation, you may want to: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] SMS Node](https://docs.retellai.com/build/conversation-flow/sms-node) [[2] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
i need to use Retell, as we have a BAA in place. is there a way to do this via API?