https://retellai.com/?utm_source=discord&utm_medium=seo logo
im struggling to create a single prompt that detec...
# ❓・ai-evy-support
m
@AI Evy im struggling to create a single prompt that detects sms vs. voice and then adjust behavior accordingly (namely limiting response character count for sms) so im trying to create two separate agents, one for voice and one for sms and then assigning each to the same phone number. when searching for the sms dedicated agent in the phone assignment 'inbound sms' dropdown, it doesn't appear. please advise
a
Thanks for tagging me @mlighty. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, there are a few key points about SMS agent assignment: Current SMS Support Limitations: Only Retell-issued Twilio numbers support two-way SMS [(1) ]() . If your number was purchased through Retell but from a Twilio provider, it should support SMS functionality . Why Your SMS Agent May Not Appear: The agent you created for SMS needs to be configured specifically for chat mode to appear in the SMS dropdown. When creating an agent through the API, you need to ensure the agent is properly configured with a response engine [(2) ]() . Phone Number Configuration: When you purchase or configure a phone number, you can set both
inbound_agent_id
and
outbound_agent_id
[(3) ]() [(4) ]() . However, the sources indicate that inbound SMS agent assignment requires specific configuration. Troubleshooting Steps: 1. Verify your phone number is a Retell-issued Twilio number [(1) ]() 2. Ensure your SMS agent is configured for chat mode 3. Check that the number doesn't have any configuration issues (some numbers may not support SMS) [(5) ]() If your SMS agent still doesn't appear in the dropdown after verifying these points, the issue may be related to the specific number or agent configuration. You might need to try with a different Retell-issued Twilio number . **
​ To learn more, see the sources I considered: [[1] 2 Way SMS not working?? It won't allow us to choose a number to assign inbound and outbound.](https://discord.com/channels/1186424376300679209/1405373152917454908) [[2] Create Agent](https://docs.retellai.com/api-references/create-agent) [[3] Purchase phone number](https://docs.retellai.com/deploy/purchase-number) [[4] List Phone Numbers](https://docs.retellai.com/api-references/list-phone-numbers) [[5] 404 Error when trying to add SMS to phone number](https://discord.com/channels/1186424376300679209/1415375849502281810) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
how do i make sure 'chat mode' is enabled for an agent ?
@AI Evy how do i make sure 'chat mode' is enabled for an agent ?
a
Thanks for the follow-up, @mlighty. I'll get back to you soon.
### Answer Based on the available sources, I don't have explicit documentation on enabling "chat mode" for an agent in Retell AI. The sources provided focus on agent creation and configuration parameters like
voice_id
,
voice_model
,
responsiveness
, and
interruption_sensitivity
[(1) ]() [(2) ]() [(3) ]() , but don't specifically mention a "chat mode" setting. The agent configuration parameters in the Create Agent and Update Agent endpoints don't include a dedicated "chat mode" field [(1) ]() [(3) ]() . I'd recommend checking the Retell AI dashboard or reaching out to support for guidance on configuring agents specifically for SMS/chat interactions versus voice calls. You might also want to explore if there are specific response engine configurations that distinguish chat from voice agents. If you'd like, I can try to provide a general answer based on common AI agent patterns, but I don't have specific Retell AI documentation to support it. **
​ To learn more, see the sources I considered: [[1] Update Agent](https://docs.retellai.com/api-references/update-agent) [[2] Get Agent](https://docs.retellai.com/api-references/get-agent) [[3] Create Agent](https://docs.retellai.com/api-references/create-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.