AI Evy
12/22/2025, 8:39 PMAI Evy
12/22/2025, 8:40 PMretell_llm_dynamic_variables to inject dynamic variables into your agent's prompt, which may influence the generated first message:
javascript
const chatResponse = await client.chat.createSMSChat({
from_number: '+12137771234',
to_number: '+14155551234',
retell_llm_dynamic_variables: {
customer_name: 'John Doe'
}
}) ;
To customize the first message, you would need to configure your chat agent's prompt/configuration to produce the desired initial message content.
Check out these potentially useful sources for more details:
- [Create Outbound SMS]()
- [Send & receive SMS]()
Would you like me to try to provide a general answer on other approaches?AI Evy
12/22/2025, 8:40 PMAI Evy
12/22/2025, 8:40 PM