### Answer
To handle inbound SMS with Retell AI, you can create standalone SMS agents that are designed for text-based interactions [(1) ](
) . These agents can engage leads, deliver follow-ups, qualify users, and complete support flows entirely through text .
Here's how to set up inbound SMS handling:
1. **Create a Chat Agent**: Open the Retell Agent Builder and select "Create an Agent" and choose
Chat Agent
2. **Configure the Agent**: Select your agent type and add nodes to build out prompting or conversation flow just like AI voice agents
3. **Use Dynamic Variables**: You can use variables like {{first_name}}, {{email}}, {{booking_time}}, and more to personalize messages based on user data or previous call context
4. **Test Your Setup**: Test your conversation flow using
Manual Chat or
AI Simulated Chat
5. **Deploy**: Deploy live and monitor usage in your Retell dashboard
For
custom Twilio numbers (not Retell-provided numbers) , the process is different. According to community discussions, you would need to set up a webhook on Twilio's end and then call a custom function on Retell [(2) ](
) . This involves using automation tools like Make or n8n to handle the webhook trigger from Twilio and then make API calls to Retell's chat agent [(3) ](
) .
The key distinction is that Retell's built-in SMS functionality works seamlessly with Retell-provided numbers, while custom Twilio numbers require additional webhook configuration [(2) ](
) .
**